From 05d4825e5850d2a67a3d4e2eefc971d257d5112d Mon Sep 17 00:00:00 2001
From: vogelor <vogelor@ispconfig3>
Date: Mon, 10 May 2010 14:37:53 -0400
Subject: [PATCH] The new version is only displayed for the admin (aargh)
---
interface/web/dns/lib/module.conf.php | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 57 insertions(+), 0 deletions(-)
diff --git a/interface/web/dns/lib/module.conf.php b/interface/web/dns/lib/module.conf.php
new file mode 100644
index 0000000..11fe4d6
--- /dev/null
+++ b/interface/web/dns/lib/module.conf.php
@@ -0,0 +1,57 @@
+<?php
+
+$module["name"] = "dns";
+$module["title"] = "top_menu_dns";
+$module["template"] = "module.tpl.htm";
+$module["startpage"] = "dns/dns_soa_list.php";
+$module["tab_width"] = '';
+
+
+$items[] = array( 'title' => "Add DNS Zone",
+ 'target' => 'content',
+ 'link' => 'dns/dns_wizard.php');
+
+if($_SESSION["s"]["user"]["typ"] == 'admin') {
+
+ $items[] = array( 'title' => "Templates",
+ 'target' => 'content',
+ 'link' => 'dns/dns_template_list.php');
+}
+
+
+$module["nav"][] = array( 'title' => 'DNS Wizard',
+ 'open' => 1,
+ 'items' => $items);
+
+
+unset($items);
+
+/*
+ Email accounts menu
+*/
+
+
+$items[] = array( 'title' => "Zones",
+ 'target' => 'content',
+ 'link' => 'dns/dns_soa_list.php');
+/*
+$items[] = array( 'title' => "A-Records",
+ 'target' => 'content',
+ 'link' => 'dns/dns_a_list.php');
+*/
+
+
+$module["nav"][] = array( 'title' => 'DNS',
+ 'open' => 1,
+ 'items' => $items);
+
+unset($items);
+
+
+
+
+
+
+
+
+?>
\ No newline at end of file
--
Gitblit v1.9.1