tbrehm
2009-06-28 ef0a3865e6b7d6be47cb524381d40ef299d3a083
Removed option to create dns templates by clients.
2 files modified
5 ■■■■ changed files
interface/web/dns/dns_template_edit.php 2 ●●●●● patch | view | raw | blame | history
interface/web/dns/lib/module.conf.php 3 ●●●● patch | view | raw | blame | history
interface/web/dns/dns_template_edit.php
@@ -48,6 +48,8 @@
$app->uses('tpl,tform,tform_actions');
$app->load('tform_actions');
if($_SESSION["s"]["user"]["typ"] != 'admin') die('Access denied for non admin users.');
class page_action extends tform_actions {
    
}
interface/web/dns/lib/module.conf.php
@@ -32,11 +32,12 @@
                  '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',