mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 18:40:13 +01:00
user role list fix
This commit is contained in:
parent
ff50fa42e6
commit
3a633cad9e
@ -128,7 +128,6 @@
|
||||
<option value="0"<?php if(isset($post['isadmin']) && $post['isadmin'] == 0){ ?> selected="selected"<?php } ?>><?php print $text_user_regular; ?></option>
|
||||
<?php if(Registry::get('admin_user') == 1) { ?><option value="1"<?php if(isset($post['isadmin']) && $post['isadmin'] == 1){ ?> selected="selected"<?php } ?>><?php print $text_user_masteradmin; ?></option><?php } ?>
|
||||
<option value="2"<?php if(isset($post['isadmin']) && $post['isadmin'] == 2){ ?> selected="selected"<?php } ?>><?php print $text_user_auditor; ?></option>
|
||||
<option value="3"<?php if(isset($post['isadmin']) && $post['isadmin'] == 3){ ?> selected="selected"<?php } ?>><?php print $text_user_read_only_admin; ?></option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -139,7 +139,6 @@
|
||||
<option value="0"<?php if(isset($user['isadmin']) && $user['isadmin'] == 0){ ?> selected="selected"<?php } ?>><?php print $text_user_regular; ?></option>
|
||||
<?php if(Registry::get('admin_user') == 1) { ?><option value="1"<?php if(isset($user['isadmin']) && $user['isadmin'] == 1){ ?> selected="selected"<?php } ?>><?php print $text_user_masteradmin; ?></option><?php } ?>
|
||||
<option value="2"<?php if(isset($user['isadmin']) && $user['isadmin'] == 2){ ?> selected="selected"<?php } ?>><?php print $text_user_auditor; ?></option>
|
||||
<option value="3"<?php if(isset($user['isadmin']) && $user['isadmin'] == 3){ ?> selected="selected"<?php } ?>><?php print $text_user_read_only_admin; ?></option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -57,7 +57,6 @@
|
||||
if($user['isadmin'] == 0){ print $text_user_regular; }
|
||||
if($user['isadmin'] == 1){ print $text_user_masteradmin; }
|
||||
if($user['isadmin'] == 2){ print $text_user_auditor; }
|
||||
if($user['isadmin'] == 3){ print $text_user_read_only_admin; }
|
||||
?>
|
||||
</td>
|
||||
<td><a href="index.php?route=user/edit&uid=<?php print $user['uid']; ?>"><i class="icon-edit"></i> <?php print $text_edit_or_view; ?></a></td>
|
||||
|
@ -89,7 +89,6 @@
|
||||
<option value="0"<?php if(isset($user['isadmin']) && $user['isadmin'] == 0){ ?> selected="selected"<?php } ?>><?php print $text_user_regular; ?></option>
|
||||
<?php if(Registry::get('admin_user') == 1) { ?><option value="1"<?php if(isset($user['isadmin']) && $user['isadmin'] == 1){ ?> selected="selected"<?php } ?>><?php print $text_user_masteradmin; ?></option><?php } ?>
|
||||
<option value="2"<?php if(isset($user['isadmin']) && $user['isadmin'] == 2){ ?> selected="selected"<?php } ?>><?php print $text_user_auditor; ?></option>
|
||||
<option value="3"<?php if(isset($user['isadmin']) && $user['isadmin'] == 3){ ?> selected="selected"<?php } ?>><?php print $text_user_read_only_admin; ?></option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -95,7 +95,6 @@
|
||||
<option value="0"<?php if($user['isadmin'] == 0){ ?> selected="selected"<?php } ?>><?php print $text_user_regular; ?></option>
|
||||
<?php if(Registry::get('admin_user') == 1) { ?><option value="1"<?php if($user['isadmin'] == 1){ ?> selected="selected"<?php } ?>><?php print $text_user_masteradmin; ?></option><?php } ?>
|
||||
<option value="2"<?php if($user['isadmin'] == 2){ ?> selected="selected"<?php } ?>><?php print $text_user_auditor; ?></option>
|
||||
<option value="3"<?php if($user['isadmin'] == 3){ ?> selected="selected"<?php } ?>><?php print $text_user_read_only_admin; ?></option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -55,7 +55,6 @@
|
||||
if($user['isadmin'] == 0){ print $text_user_regular; }
|
||||
if($user['isadmin'] == 1){ print $text_user_masteradmin; }
|
||||
if($user['isadmin'] == 2){ print $text_user_auditor; }
|
||||
if($user['isadmin'] == 3){ print $text_user_read_only_admin; }
|
||||
?>
|
||||
</div>
|
||||
<div class="domaincell"><a href="index.php?route=user/edit&uid=<?php print $user['uid']; ?>"><?php print $text_edit_or_view; ?></a></div>
|
||||
|
Loading…
Reference in New Issue
Block a user