diff -r c72d6d51f3d3 -r c255196bc447 index.php
--- a/index.php Wed Mar 12 20:45:56 2008 +0000
+++ b/index.php Tue Mar 25 22:45:31 2008 +0000
@@ -22,34 +22,41 @@
//session_start();
require_once("inc/toolkit.inc.php");
include_once("inc/header.inc.php");
-?>
-
,
-
-
-
-
-
-
-
-
-" . _('Welcome') . " " . $_SESSION["name"] . "\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" ;
+
+echo "
+if ( $perm_zone_slave_add ) {
+ echo " - " . _('Add slave zone') . "
\n";
+}
+if ( $supermaster_add ) {
+ echo " - " . _('Add supermaster') . "
\n";
+}
+echo " - " . _('Change password') . "
\n";
+echo " - " . _('User administration') . "
\n";
+echo " - " . _('Logout') . "
\n";
+echo "
\n";
-