From 5421462b39a5b41014569af59d3861b9ffe8a44f Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Thu, 03 Sep 2009 10:50:30 -0400
Subject: [PATCH] Merged revisions 1335-1355

---
 interface/web/admin/remote_user_del.php |   47 ++++++++++++++++++++++++++++-------------------
 1 files changed, 28 insertions(+), 19 deletions(-)

diff --git a/install/options.conf.php b/interface/web/admin/remote_user_del.php
similarity index 66%
rename from install/options.conf.php
rename to interface/web/admin/remote_user_del.php
index 6c5cd19..2779105 100644
--- a/install/options.conf.php
+++ b/interface/web/admin/remote_user_del.php
@@ -28,26 +28,35 @@
 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
-//** TODO: These options need to be in an install script somehow
+/******************************************
+* Begin Form configuration
+******************************************/
 
-//** Installation Options
+$list_def_file = "list/remote_user.list.php";
+$tform_def_file = "form/remote_user.tform.php";
 
-$conf['language'] = 'en';
-$conf['distname'] = 'debian40';
-$conf['hostname'] = 'server1.domain.tld'; // Full hostname
-$conf['ispconfig_install_dir'] = '/usr/local/ispconfig';
-$conf['ispconfig_config_dir'] = '/usr/local/ispconfig';
-$conf['server_id'] = 1;
+/******************************************
+* End Form configuration
+******************************************/
 
-//**MySQL Database settings
-$conf['mysql']['host'] = 'localhost';
-$conf['mysql']['ip'] = '127.0.0.1';
-$conf['mysql']['port'] = '3306';
-$conf['mysql']['database'] = 'dbispconfig';
-$conf['mysql']['admin_user'] = 'root';
-$conf['mysql']['admin_password'] = '';
-$conf['mysql']['charset'] = 'utf8';
-$conf['mysql']['ispconfig_user'] = 'ispconfig';
-$conf['mysql']['ispconfig_password'] = '5sDrewBhk';
+require_once('../../lib/config.inc.php');
+require_once('../../lib/app.inc.php');
 
-?>
\ No newline at end of file
+//* Check permissions for module
+$app->auth->check_module_permissions('admin');
+
+$app->uses('tpl,tform');
+$app->load('tform_actions');
+
+// Create a class page_action that extends the tform_actions base class 
+
+class page_action extends tform_actions { 
+
+
+	// Customisations for the page actions will be defined here
+   	
+}
+$page = new page_action;
+$page->onDelete();
+
+?>

--
Gitblit v1.9.1