From a4fa60ff526b3504b89adf123aef694875d04be3 Mon Sep 17 00:00:00 2001
From: A. Täffner <darkalex@firesplash.de>
Date: Fri, 22 Jan 2016 19:36:47 -0500
Subject: [PATCH] Cronjjob created. Ist that all? Don't need to register it somewhere? We will se...
---
interface/web/client/lib/module.conf.php | 23 ++++++++++-------------
1 files changed, 10 insertions(+), 13 deletions(-)
diff --git a/interface/web/client/lib/module.conf.php b/interface/web/client/lib/module.conf.php
index 92775ea..7d6f1b3 100644
--- a/interface/web/client/lib/module.conf.php
+++ b/interface/web/client/lib/module.conf.php
@@ -5,6 +5,7 @@
$module["template"] = "module.tpl.htm";
$module["startpage"] = "client/client_list.php";
$module["tab_width"] = '';
+$module['order'] = '20';
$items[] = array( 'title' => "Edit Client",
@@ -16,13 +17,6 @@
'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');
-}
$module["nav"][] = array( 'title' => 'Clients',
'open' => 1,
@@ -66,19 +60,22 @@
unset($items);
-//if($_SESSION["s"]["user"]["typ"] == 'admin'){
- $items[] = array( 'title' => "Limit-Templates",
- 'target' => 'content',
- 'link' => 'client/client_template_list.php',
- 'html_id' => 'client_template_list');
+$items[] = array( 'title' => "Limit-Templates",
+ 'target' => 'content',
+ 'link' => 'client/client_template_list.php',
+ 'html_id' => 'client_template_list');
+
+$items[] = array( 'title' => "Email-Templates",
+ 'target' => 'content',
+ 'link' => 'client/message_template_list.php',
+ 'html_id' => 'message_template_list');
$module["nav"][] = array( 'title' => 'Templates',
'open' => 1,
'items' => $items);
unset($items);
-//}
$app->uses('ini_parser,getconf');
--
Gitblit v1.9.1