From cabd6f6205756a51064fb856aca2ed94d28b1cf7 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Fri, 12 Sep 2008 11:31:19 -0400
Subject: [PATCH] Disabled suphp_UserGroup directive by default to make the setup compatible with the suphp compile options from most linux distributions. If you want some extra security, enable this directive again and recompile mod_suphp with the the option --with-setid-mode=paranoid

---
 interface/web/sites/lib/module.conf.php |   91 +++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 82 insertions(+), 9 deletions(-)

diff --git a/interface/web/sites/lib/module.conf.php b/interface/web/sites/lib/module.conf.php
index 1a91e04..1992fbb 100644
--- a/interface/web/sites/lib/module.conf.php
+++ b/interface/web/sites/lib/module.conf.php
@@ -1,10 +1,83 @@
-<?php
-$module = array (
-  'name' => 'sites',
-  'title' => 'Sites',
-  'template' => 'module.tpl.htm',
-  'navframe_page' => '',
-  'startpage' => 'sites/index.php',
-  'tab_width' => '',
-)
+<?php
+
+$module["name"] 		= "sites";
+$module["title"] 		= "Sites";
+$module["template"] 	= "module.tpl.htm";
+$module["startpage"] 	= "sites/web_domain_list.php";
+$module["tab_width"]    = '';
+
+/*
+	Websites menu
+*/
+
+$items[] = array( 'title' 	=> "Domain",
+				  'target' 	=> 'content',
+				  'link'	=> 'sites/web_domain_list.php');
+
+
+$items[] = array( 'title' 	=> "Subdomain",
+				  'target' 	=> 'content',
+				  'link'	=> 'sites/web_subdomain_list.php');
+
+
+$items[] = array( 'title' 	=> "Aliasdomain",
+				  'target' 	=> 'content',
+				  'link'	=> 'sites/web_aliasdomain_list.php');
+
+$module["nav"][] = array(	'title'	=> 'Websites',
+							'open' 	=> 1,
+							'items'	=> $items);
+
+// clean up
+unset($items);
+
+/*
+	FTP User menu
+*/
+
+$items[] = array( 'title' 	=> "FTP-User",
+				  'target' 	=> 'content',
+				  'link'	=> 'sites/ftp_user_list.php');
+
+
+$module["nav"][] = array(	'title'	=> 'FTP',
+							'open' 	=> 1,
+							'items'	=> $items);
+
+// clean up
+unset($items);
+
+/*
+	FTP User menu
+*/
+
+$items[] = array( 'title' 	=> "Shell-User",
+				  'target' 	=> 'content',
+				  'link'	=> 'sites/shell_user_list.php');
+
+
+$module["nav"][] = array(	'title'	=> 'Shell',
+							'open' 	=> 1,
+							'items'	=> $items);
+
+// clean up
+unset($items);
+
+/*
+	Databases menu
+*/
+
+$items[] = array( 'title' 	=> "Database",
+				  'target' 	=> 'content',
+				  'link'	=> 'sites/database_list.php');
+
+
+$module["nav"][] = array(	'title'	=> 'Database',
+							'open' 	=> 1,
+							'items'	=> $items);
+
+// clean up
+unset($items);
+
+
 ?>
\ No newline at end of file

--
Gitblit v1.9.1