From 9026a458a084991bbda2d04b2207832cd878f2fb Mon Sep 17 00:00:00 2001 From: pedro_morgan <pedro_morgan@ispconfig3> Date: Sat, 18 Aug 2007 22:59:59 -0400 Subject: [PATCH] * Ammended config in with $DB connection idea * Minor tweaks to app * Made $conf global in teh tempalte class (its not global in the loader function either) --- interface/web/sites/lib/module.conf.php | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 51 insertions(+), 0 deletions(-) diff --git a/interface/web/sites/lib/module.conf.php b/interface/web/sites/lib/module.conf.php new file mode 100644 index 0000000..8be6e6e --- /dev/null +++ b/interface/web/sites/lib/module.conf.php @@ -0,0 +1,51 @@ +<?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); + +// aufr�umen +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); + +// aufr�umen +unset($items); + + +?> \ No newline at end of file -- Gitblit v1.9.1