--- a/index.php Thu Apr 03 18:57:11 2008 +0000
+++ b/index.php Thu Apr 03 21:48:36 2008 +0000
@@ -25,13 +25,13 @@
echo " <h3>" . _('Welcome') . " " . $_SESSION["name"] . "</h3>\n";
-verify_permission(search) ? $perm_search = "1" : $perm_search = "0" ;
-verify_permission(zone_content_view_own) ? $perm_view_zone_own = "1" : $perm_view_zone_own = "0" ;
-verify_permission(zone_content_view_other) ? $perm_view_zone_other = "1" : $perm_view_zone_other = "0" ;
-verify_permission(supermaster_view) ? $perm_supermaster_view = "1" : $perm_supermaster_view = "0" ;
-verify_permission(zone_master_add) ? $perm_zone_master_add = "1" : $perm_zone_master_add = "0" ;
-verify_permission(zone_slave_add) ? $perm_zone_slave_add = "1" : $perm_zone_slave_add = "0" ;
-verify_permission(supermaster_add) ? $perm_supermaster_add = "1" : $perm_supermaster_add = "0" ;
+verify_permission('search') ? $perm_search = "1" : $perm_search = "0" ;
+verify_permission('zone_content_view_own') ? $perm_view_zone_own = "1" : $perm_view_zone_own = "0" ;
+verify_permission('zone_content_view_other') ? $perm_view_zone_other = "1" : $perm_view_zone_other = "0" ;
+verify_permission('supermaster_view') ? $perm_supermaster_view = "1" : $perm_supermaster_view = "0" ;
+verify_permission('zone_master_add') ? $perm_zone_master_add = "1" : $perm_zone_master_add = "0" ;
+verify_permission('zone_slave_add') ? $perm_zone_slave_add = "1" : $perm_zone_slave_add = "0" ;
+verify_permission('supermaster_add') ? $perm_supermaster_add = "1" : $perm_supermaster_add = "0" ;
echo " <ul>\n";
echo " <li><a href=\"index.php\">" . _('Index') . "</a></li>\n";
@@ -50,7 +50,7 @@
if ( $perm_zone_slave_add ) {
echo " <li><a href=\"add_zone_slave.php\">" . _('Add slave zone') . "</a></li>\n";
}
-if ( $supermaster_add ) {
+if ( $perm_supermaster_add ) {
echo " <li><a href=\"add_supermaster.php\">" . _('Add supermaster') . "</a></li>\n";
}
echo " <li><a href=\"change_password.php\">" . _('Change password') . "</a></li>\n";