the1matrix1
2010-05-14 c9e9cd746ed86cc2ce2de841e7663ec30b165c24
interface/web/client/lib/module.conf.php
@@ -1,7 +1,7 @@
<?php
$module["name"]       = "client";
$module["title"]       = "Client";
$module["title"]       = "top_menu_client";
$module["template"]    = "module.tpl.htm";
$module["startpage"]    = "client/client_list.php";
$module["tab_width"]    = '';
@@ -28,4 +28,36 @@
$module["nav"][] = array(   'title'   => 'Clients',
                     'open'    => 1,
                     'items'   => $items);
unset($items);
if($_SESSION["s"]["user"]["typ"] == 'admin'){
$items[] = array( 'title'    => "Add Reseller",
              'target'    => 'content',
              'link'   => 'client/reseller_edit.php');
$items[] = array( 'title'    => "Edit Reseller",
              'target'    => 'content',
              'link'   => 'client/reseller_list.php');
$module["nav"][] = array(   'title'   => 'Resellers',
                     'open'    => 1,
                     'items'   => $items);
}
?>