From 07ba8004fe2d56f18ee72b7dfc84d4a500ff2e02 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Tue, 26 Jan 2010 10:03:25 -0500 Subject: [PATCH] Fixed: FS#1012 - Delete all records (domains, ftp users, etc.) of a client when the client gets deleted. --- interface/web/sites/lib/module.conf.php | 74 ++++++++++++++++++++++++++++++++++--- 1 files changed, 68 insertions(+), 6 deletions(-) diff --git a/interface/web/sites/lib/module.conf.php b/interface/web/sites/lib/module.conf.php index 8be6e6e..aec90f0 100644 --- a/interface/web/sites/lib/module.conf.php +++ b/interface/web/sites/lib/module.conf.php @@ -10,7 +10,7 @@ Websites menu */ -$items[] = array( 'title' => "Domain", +$items[] = array( 'title' => "Website", 'target' => 'content', 'link' => 'sites/web_domain_list.php'); @@ -20,15 +20,15 @@ 'link' => 'sites/web_subdomain_list.php'); -$items[] = array( 'title' => "Aliasdomain", - 'target' => 'content', - 'link' => 'sites/web_aliasdomain_list.php'); +$items[] = array( 'title' => "Aliasdomain", + 'target' => 'content', + 'link' => 'sites/web_aliasdomain_list.php'); $module["nav"][] = array( 'title' => 'Websites', 'open' => 1, 'items' => $items); -// aufr�umen +// clean up unset($items); /* @@ -44,7 +44,69 @@ 'open' => 1, 'items' => $items); -// aufr�umen +// 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); + + +/* + Cron menu +*/ +$items = array(); + +$items[] = array( 'title' => "Cron Jobs", + 'target' => 'content', + 'link' => 'sites/cron_list.php'); + + +$module["nav"][] = array( 'title' => 'Cron', + 'open' => 1, + 'items' => $items); + + +//**** Statistics menu +$items = array(); + +$items[] = array( 'title' => 'Web traffic', + 'target' => 'content', + 'link' => 'sites/web_sites_stats.php'); + + +$module['nav'][] = array( 'title' => 'Statistics', + 'open' => 1, + 'items' => $items); + + + +// clean up unset($items); -- Gitblit v1.9.1