| | |
| | | |
| | | $items[] = array( 'title' => "Add Client", |
| | | 'target' => 'content', |
| | | 'link' => 'client/client_edit.php'); |
| | | 'link' => 'client/client_edit.php', |
| | | 'html_id' => 'client_add'); |
| | | |
| | | $items[] = array( 'title' => "Edit Client", |
| | | 'target' => 'content', |
| | | 'link' => 'client/client_list.php'); |
| | | 'link' => 'client/client_list.php', |
| | | 'html_id' => 'client_list'); |
| | | |
| | | if($_SESSION["s"]["user"]["typ"] == 'admin'){ |
| | | $items[] = array( 'title' => "Edit Client-Templates", |
| | | 'target' => 'content', |
| | | 'link' => 'client/client_template_list.php'); |
| | | 'link' => 'client/client_template_list.php', |
| | | 'html_id' => 'client_template_list'); |
| | | } |
| | | |
| | | $module["nav"][] = array( 'title' => 'Clients', |
| | |
| | | |
| | | $items[] = array( 'title' => "Add Reseller", |
| | | 'target' => 'content', |
| | | 'link' => 'client/reseller_edit.php'); |
| | | 'link' => 'client/reseller_edit.php', |
| | | 'html_id' => 'reseller_add'); |
| | | |
| | | $items[] = array( 'title' => "Edit Reseller", |
| | | 'target' => 'content', |
| | | 'link' => 'client/reseller_list.php'); |
| | | 'link' => 'client/reseller_list.php', |
| | | 'html_id' => 'reseller_list'); |
| | | |
| | | $module["nav"][] = array( 'title' => 'Resellers', |
| | | 'open' => 1, |
| | | 'items' => $items); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |