Marius Cramer
2013-11-14 7fe908c50c8dbc5cc05f571dbe11d66141caacd4
interface/web/client/lib/module.conf.php
@@ -1,68 +1,68 @@
<?php
$module["name"]    = "client";
$module["title"]    = "top_menu_client";
$module["template"]    = "module.tpl.htm";
$module["startpage"]    = "client/client_list.php";
$module["name"]  = "client";
$module["title"]  = "top_menu_client";
$module["template"]  = "module.tpl.htm";
$module["startpage"]  = "client/client_list.php";
$module["tab_width"]    = '';
$items[] = array(   'title'    => "Edit Client",
                    'target'    => 'content',
                    'link'   => 'client/client_list.php',
                    'html_id'   => 'client_list');
$items[] = array(   'title'  => "Edit Client",
   'target'  => 'content',
   'link' => 'client/client_list.php',
   'html_id'   => 'client_list');
$items[] = array(   'title'    => "Add Client",
                    'target'    => 'content',
                    'link'   => 'client/client_edit.php',
                    'html_id'   => 'client_add');
$items[] = array(   'title'  => "Add Client",
   'target'  => 'content',
   'link' => 'client/client_edit.php',
   'html_id'   => 'client_add');
if($_SESSION["s"]["user"]["typ"] == 'admin'){
$items[] = array(   'title'    => "Edit Client-Templates",
                    'target'    => 'content',
                    'link'   => 'client/client_template_list.php',
                    'html_id'   => 'client_template_list');
   $items[] = array(   'title'  => "Edit Client-Templates",
      'target'  => 'content',
      'link' => 'client/client_template_list.php',
      'html_id'   => 'client_template_list');
}
$module["nav"][] = array(   'title'   => 'Clients',
                            'open'    => 1,
                            'items'   => $items);
$module["nav"][] = array(   'title' => 'Clients',
   'open'  => 1,
   'items' => $items);
unset($items);
if($_SESSION["s"]["user"]["typ"] == 'admin'){
$items[] = array(   'title'    => "Edit Reseller",
                    'target'    => 'content',
                    'link'   => 'client/reseller_list.php',
                    'html_id'   => 'reseller_list');
   $items[] = array(   'title'  => "Edit Reseller",
      'target'  => 'content',
      'link' => 'client/reseller_list.php',
      'html_id'   => 'reseller_list');
$items[] = array(   'title'    => "Add Reseller",
                    'target'    => 'content',
                    'link'   => 'client/reseller_edit.php',
                    'html_id'   => 'reseller_add');
   $items[] = array(   'title'  => "Add Reseller",
      'target'  => 'content',
      'link' => 'client/reseller_edit.php',
      'html_id'   => 'reseller_add');
$module["nav"][] = array(   'title'   => 'Resellers',
                            'open'    => 1,
                            'items'   => $items);
   $module["nav"][] = array(   'title' => 'Resellers',
      'open'  => 1,
      'items' => $items);
unset($items);
   unset($items);
}
$items[] = array(   'title'    => "Edit Client Circle",
                    'target'    => 'content',
                    'link'   => 'client/client_circle_list.php',
                    'html_id'   => 'client_circle_list');
$items[] = array(   'title'  => "Edit Client Circle",
   'target'  => 'content',
   'link' => 'client/client_circle_list.php',
   'html_id'   => 'client_circle_list');
$items[] = array(   'title'    => "Send email",
                    'target'    => 'content',
                    'link'   => 'client/client_message.php',
                    'html_id'   => 'reseller_add');
$items[] = array(   'title'  => "Send email",
   'target'  => 'content',
   'link' => 'client/client_message.php',
   'html_id'   => 'reseller_add');
$module["nav"][] = array(   'title'   => 'Messaging',
                            'open'    => 1,
                            'items'   => $items);
$module["nav"][] = array(   'title' => 'Messaging',
   'open'  => 1,
   'items' => $items);
unset($items);
@@ -71,13 +71,13 @@
if ($settings['use_domain_module'] == 'y') {
   $items = array();
   $items[] = array( 'title'    => 'Domains',
               'target'    => 'content',
               'link'   => 'client/domain_list.php');
   $items[] = array( 'title'  => 'Domains',
      'target'  => 'content',
      'link' => 'client/domain_list.php');
   $module['nav'][] = array(   'title'   => 'Domains',
                        'open'    => 1,
                        'items'   => $items);
   $module['nav'][] = array( 'title' => 'Domains',
      'open'  => 1,
      'items' => $items);
   unset($items);
}
@@ -97,4 +97,4 @@
unset($items);
}
*/
?>
?>