index.php
changeset 110 455405c757e1
parent 82 c255196bc447
child 119 f74e4f88b680
equal deleted inserted replaced
109:34b2d49f52c6 110:455405c757e1
    34 verify_permission(supermaster_add) ? $perm_supermaster_add = "1" : $perm_supermaster_add = "0" ;
    34 verify_permission(supermaster_add) ? $perm_supermaster_add = "1" : $perm_supermaster_add = "0" ;
    35 
    35 
    36 echo "    <ul>\n";
    36 echo "    <ul>\n";
    37 echo "    <li><a href=\"index.php\">" . _('Index') . "</a></li>\n";
    37 echo "    <li><a href=\"index.php\">" . _('Index') . "</a></li>\n";
    38 if ( $perm_search == "1" ) {
    38 if ( $perm_search == "1" ) {
    39 	echo "    <li><a href=\"search.php\">" . _('Search zones or records') . "</a></li>\n";
    39 	echo "    <li><a href=\"search.php\">" . _('Search zones and records') . "</a></li>\n";
    40 }
    40 }
    41 if ( $perm_view_zone_own == "1" || $perm_view_zone_other == "1" ) {
    41 if ( $perm_view_zone_own == "1" || $perm_view_zone_other == "1" ) {
    42 	echo "    <li><a href=\"list_zones.php\">" . _('List all zones') . "</a></li>\n";
    42 	echo "    <li><a href=\"list_zones.php\">" . _('List zones') . "</a></li>\n";
    43 }
    43 }
    44 if ( $perm_supermaster_view ) {
    44 if ( $perm_supermaster_view ) {
    45 	echo "    <li><a href=\"list_supermasters.php\">" . _('List all supermasters') . "</a></li>\n";
    45 	echo "    <li><a href=\"list_supermasters.php\">" . _('List supermasters') . "</a></li>\n";
    46 }
    46 }
    47 if (  $perm_zone_master_add ) {
    47 if (  $perm_zone_master_add ) {
    48 	echo "    <li><a href=\"add_zone_master.php\">" . _('Add master zone') . "</a></li>\n";
    48 	echo "    <li><a href=\"add_zone_master.php\">" . _('Add master zone') . "</a></li>\n";
    49 }
    49 }
    50 if ( $perm_zone_slave_add ) { 
    50 if ( $perm_zone_slave_add ) {