inc/header.inc.php
changeset 111 0a2342a64b83
parent 104 7fef233c99df
child 119 f74e4f88b680
equal deleted inserted replaced
110:455405c757e1 111:0a2342a64b83
    46 	verify_permission(supermaster_add) ? $perm_supermaster_add = "1" : $perm_supermaster_add = "0" ;
    46 	verify_permission(supermaster_add) ? $perm_supermaster_add = "1" : $perm_supermaster_add = "0" ;
    47 
    47 
    48 	echo "    <div class=\"menu\">\n";
    48 	echo "    <div class=\"menu\">\n";
    49 	echo "    <span class=\"menuitem\"><a href=\"index.php\">" . _('Index') . "</a></span>\n";
    49 	echo "    <span class=\"menuitem\"><a href=\"index.php\">" . _('Index') . "</a></span>\n";
    50 	if ( $perm_search == "1" ) { 
    50 	if ( $perm_search == "1" ) { 
    51 		echo "    <span class=\"menuitem\"><a href=\"search.php\">" . _('Search zones or records') . "</a></span>\n"; 
    51 		echo "    <span class=\"menuitem\"><a href=\"search.php\">" . _('Search zones and records') . "</a></span>\n"; 
    52 	}
    52 	}
    53 	if ( $perm_view_zone_own == "1" || $perm_view_zone_other == "1" ) { 
    53 	if ( $perm_view_zone_own == "1" || $perm_view_zone_other == "1" ) { 
    54 		echo "    <span class=\"menuitem\"><a href=\"list_zones.php\">" . _('List all zones') . "</a></span>\n"; 
    54 		echo "    <span class=\"menuitem\"><a href=\"list_zones.php\">" . _('List zones') . "</a></span>\n"; 
    55 	}
    55 	}
    56 	if ( $perm_supermaster_view ) { 
    56 	if ( $perm_supermaster_view ) { 
    57 		echo "    <span class=\"menuitem\"><a href=\"list_supermasters.php\">" . _('List all supermasters') . "</a></span>\n"; 
    57 		echo "    <span class=\"menuitem\"><a href=\"list_supermasters.php\">" . _('List supermasters') . "</a></span>\n"; 
    58 	}
    58 	}
    59 	if (  $perm_zone_master_add ) { 
    59 	if (  $perm_zone_master_add ) { 
    60 		echo "    <span class=\"menuitem\"><a href=\"add_zone_master.php\">" . _('Add master zone') . "</a></span>\n"; 
    60 		echo "    <span class=\"menuitem\"><a href=\"add_zone_master.php\">" . _('Add master zone') . "</a></span>\n"; 
    61 	}
    61 	}
    62 	if ( $perm_zone_slave_add ) { 
    62 	if ( $perm_zone_slave_add ) {