commit | author | age
|
acbf53
|
1 |
<?php |
b5a23a
|
2 |
|
7fe908
|
3 |
$module["name"] = "client"; |
MC |
4 |
$module["title"] = "top_menu_client"; |
|
5 |
$module["template"] = "module.tpl.htm"; |
|
6 |
$module["startpage"] = "client/client_list.php"; |
b5a23a
|
7 |
$module["tab_width"] = ''; |
a563d5
|
8 |
$module['order'] = '20'; |
b5a23a
|
9 |
|
T |
10 |
|
7fe908
|
11 |
$items[] = array( 'title' => "Edit Client", |
MC |
12 |
'target' => 'content', |
|
13 |
'link' => 'client/client_list.php', |
|
14 |
'html_id' => 'client_list'); |
b5a23a
|
15 |
|
7fe908
|
16 |
$items[] = array( 'title' => "Add Client", |
MC |
17 |
'target' => 'content', |
|
18 |
'link' => 'client/client_edit.php', |
|
19 |
'html_id' => 'client_add'); |
|
20 |
|
|
21 |
$module["nav"][] = array( 'title' => 'Clients', |
|
22 |
'open' => 1, |
|
23 |
'items' => $items); |
be7d7f
|
24 |
|
T |
25 |
unset($items); |
|
26 |
|
|
27 |
|
|
28 |
if($_SESSION["s"]["user"]["typ"] == 'admin'){ |
|
29 |
|
7fe908
|
30 |
$items[] = array( 'title' => "Edit Reseller", |
MC |
31 |
'target' => 'content', |
|
32 |
'link' => 'client/reseller_list.php', |
|
33 |
'html_id' => 'reseller_list'); |
be7d7f
|
34 |
|
7fe908
|
35 |
$items[] = array( 'title' => "Add Reseller", |
MC |
36 |
'target' => 'content', |
|
37 |
'link' => 'client/reseller_edit.php', |
|
38 |
'html_id' => 'reseller_add'); |
fb3a98
|
39 |
|
7fe908
|
40 |
$module["nav"][] = array( 'title' => 'Resellers', |
MC |
41 |
'open' => 1, |
|
42 |
'items' => $items); |
e94a9f
|
43 |
|
7fe908
|
44 |
unset($items); |
be7d7f
|
45 |
} |
T |
46 |
|
7fe908
|
47 |
$items[] = array( 'title' => "Edit Client Circle", |
MC |
48 |
'target' => 'content', |
|
49 |
'link' => 'client/client_circle_list.php', |
|
50 |
'html_id' => 'client_circle_list'); |
b17cc6
|
51 |
|
7fe908
|
52 |
$items[] = array( 'title' => "Send email", |
MC |
53 |
'target' => 'content', |
|
54 |
'link' => 'client/client_message.php', |
|
55 |
'html_id' => 'reseller_add'); |
be7d7f
|
56 |
|
7fe908
|
57 |
$module["nav"][] = array( 'title' => 'Messaging', |
MC |
58 |
'open' => 1, |
|
59 |
'items' => $items); |
be7d7f
|
60 |
|
e94a9f
|
61 |
unset($items); |
be7d7f
|
62 |
|
554c40
|
63 |
|
TB |
64 |
$items[] = array( 'title' => "Limit-Templates", |
|
65 |
'target' => 'content', |
|
66 |
'link' => 'client/client_template_list.php', |
|
67 |
'html_id' => 'client_template_list'); |
94c961
|
68 |
|
fedbca
|
69 |
$items[] = array( 'title' => "Email-Templates", |
TB |
70 |
'target' => 'content', |
|
71 |
'link' => 'client/message_template_list.php', |
|
72 |
'html_id' => 'message_template_list'); |
94c961
|
73 |
|
TB |
74 |
$module["nav"][] = array( 'title' => 'Templates', |
|
75 |
'open' => 1, |
|
76 |
'items' => $items); |
|
77 |
|
|
78 |
unset($items); |
|
79 |
|
|
80 |
|
142907
|
81 |
$app->uses('ini_parser,getconf'); |
T |
82 |
$settings = $app->getconf->get_global_config('domains'); |
|
83 |
|
|
84 |
if ($settings['use_domain_module'] == 'y') { |
|
85 |
$items = array(); |
7fe908
|
86 |
$items[] = array( 'title' => 'Domains', |
MC |
87 |
'target' => 'content', |
|
88 |
'link' => 'client/domain_list.php'); |
142907
|
89 |
|
7fe908
|
90 |
$module['nav'][] = array( 'title' => 'Domains', |
MC |
91 |
'open' => 1, |
|
92 |
'items' => $items); |
142907
|
93 |
|
T |
94 |
unset($items); |
|
95 |
} |
5df605
|
96 |
|
4bd960
|
97 |
/* |
5df605
|
98 |
if($_SESSION["s"]["user"]["typ"] == 'admin'){ |
C |
99 |
$items[] = array( 'title' => "Interface Settings", |
|
100 |
'target' => 'content', |
|
101 |
'link' => 'client/reseller_admin_interface.php', |
|
102 |
'html_id' => 'reseller_admin_interface'); |
|
103 |
|
|
104 |
|
|
105 |
$module["nav"][] = array( 'title' => 'Reseller Panel', |
|
106 |
'open' => 1, |
|
107 |
'items' => $items); |
|
108 |
|
|
109 |
unset($items); |
|
110 |
} |
4bd960
|
111 |
*/ |
7fe908
|
112 |
?> |