users.php
changeset 126 cb06e3e29ed8
parent 119 f74e4f88b680
child 183 aae57715199e
--- a/users.php	Thu Apr 03 18:57:11 2008 +0000
+++ b/users.php	Thu Apr 03 21:48:36 2008 +0000
@@ -21,11 +21,11 @@
 
 require_once("inc/toolkit.inc.php");
 include_once("inc/header.inc.php");
-verify_permission(user_view_others) ? $perm_view_others = "1" : $perm_view_others = "0" ;
-verify_permission(user_edit_own) ? $perm_edit_own = "1" : $perm_edit_own = "0" ;
-verify_permission(user_edit_others) ? $perm_edit_others = "1" : $perm_edit_others = "0" ;
-verify_permission(templ_perm_edit) ? $perm_templ_perm_edit = "1" : $perm_templ_perm_edit = "0" ;
-verify_permission(is_ueberuser) ? $perm_is_godlike = "1" : $perm_is_godlike = "0" ; 
+verify_permission('user_view_others') ? $perm_view_others = "1" : $perm_view_others = "0" ;
+verify_permission('user_edit_own') ? $perm_edit_own = "1" : $perm_edit_own = "0" ;
+verify_permission('user_edit_others') ? $perm_edit_others = "1" : $perm_edit_others = "0" ;
+verify_permission('templ_perm_edit') ? $perm_templ_perm_edit = "1" : $perm_templ_perm_edit = "0" ;
+verify_permission('is_ueberuser') ? $perm_is_godlike = "1" : $perm_is_godlike = "0" ; 
 
 unset($commit_button);
 
@@ -110,7 +110,7 @@
 	echo "<li><a href=\"list_perm_templ.php\">" . _('Edit permission template') . "</a>.</li>\n";
 }
 
-if (verify_permission(user_add_new)) {
+if (verify_permission('user_add_new')) {
 	echo "<li><a href=\"add_user.php\">" . _('Add user') . "</a>.</li>\n";
 }
 echo "    </ul>\n";