mirror of
https://git.code.sf.net/p/seeddms/code
synced 2026-01-26 19:19:22 +00:00
show access restrictions for all role types except admin
This commit is contained in:
parent
f7118a6ac3
commit
daa4066c04
|
|
@ -150,7 +150,7 @@ $(document).ready( function() {
|
|||
<td><select name="role"><option value="<?php echo SeedDMS_Core_Role::role_user ?>"><?php printMLText("role_user"); ?></option><option value="<?php echo SeedDMS_Core_Role::role_admin ?>" <?php if($currRole && $currRole->getRole() == SeedDMS_Core_Role::role_admin) echo "selected"; ?>><?php printMLText("role_admin"); ?></option><option value="<?php echo SeedDMS_Core_Role::role_guest ?>" <?php if($currRole && $currRole->getRole() == SeedDMS_Core_Role::role_guest) echo "selected"; ?>><?php printMLText("role_guest"); ?></option></select></td>
|
||||
</tr>
|
||||
<?php
|
||||
if($currRole && $currRole->getRole() == SeedDMS_Core_Role::role_user) {
|
||||
if($currRole && $currRole->getRole() != SeedDMS_Core_Role::role_admin) {
|
||||
echo "<tr>";
|
||||
echo "<td>".getMLText('restrict_access')."</td>";
|
||||
echo "<td>";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user