mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-12 08:58:25 +01:00
Removed the templates, it should now work
This commit is contained in:
parent
0637628c84
commit
6b0c6ae7ca
@ -25,18 +25,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (($con) && (! $confirm)) {
|
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>
|
<center>
|
||||||
<table border=0 with=65%>
|
<table border=0 with=65%>
|
||||||
@ -60,8 +48,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</center>
|
</center>
|
||||||
<?php
|
<?
|
||||||
*/
|
|
||||||
include($phpgw_info["server"]["api_dir"] . "/footer.inc.php");
|
include($phpgw_info["server"]["api_dir"] . "/footer.inc.php");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -101,7 +88,8 @@
|
|||||||
|
|
||||||
$sep = $phpgw->common->filesystem_separator();
|
$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)) {
|
if (! @rmdir($basedir . $lid)) {
|
||||||
$cd = 34;
|
$cd = 34;
|
||||||
|
Loading…
Reference in New Issue
Block a user