From 6b0c6ae7ca1a198524aca35b455621754b34abff Mon Sep 17 00:00:00 2001 From: jengo Date: Sun, 27 Aug 2000 01:59:30 +0000 Subject: [PATCH] Removed the templates, it should now work --- admin/deleteaccount.php | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/admin/deleteaccount.php b/admin/deleteaccount.php index 5bb3dddb28..b37607da1d 100755 --- a/admin/deleteaccount.php +++ b/admin/deleteaccount.php @@ -25,18 +25,6 @@ } if (($con) && (! $confirm)) { - $t = new Template($phpgw_info["server"]["template_dir"]); - $t->set_file(array("form" => "delete_common.tpl", - "message_row" => "delete_common.tpl")); - $t->set_var("yes","yes"); - $t->set_var("no","no"); - - $t->set_var("message_display",lang_admin("Are you sure you want to delete this account ?")); - $t->set_var("message_display",lang_admin("All records and account information will be lost!")); - $t->parse("messages","message_row"); - $t->pparse("out","form"); - -/* ?>
@@ -60,8 +48,7 @@
- db->lock($table_locks); for ($i=0; $icommon->filesystem_separator(); - $basedir = $phpgw_info["server"]["files_dir"] . $sep . "users" . $sep; + $basedir = $phpgw_info["server"]["server_root"] . $sep . "filemanager" . $sep . "users" + . $sep; if (! @rmdir($basedir . $lid)) { $cd = 34; @@ -111,4 +99,4 @@ Header("Location: " . $phpgw->link("accounts.php","cd=$cd")); } -?> +?> \ No newline at end of file