Removed the templates, it should now work

This commit is contained in:
jengo 2000-08-27 01:59:30 +00:00
parent 0637628c84
commit 6b0c6ae7ca

View File

@ -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");
/*
?>
<center>
<table border=0 with=65%>
@ -60,8 +48,7 @@
</tr>
</table>
</center>
<?php
*/
<?
include($phpgw_info["server"]["api_dir"] . "/footer.inc.php");
}
@ -101,7 +88,8 @@
$sep = $phpgw->common->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;