mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
running thru all the applications and am making sure their making proper use of the path variables
This commit is contained in:
parent
29c362e574
commit
7ecbb0810e
@ -14,8 +14,7 @@
|
||||
$phpgw_info = array();
|
||||
$phpgw_info["flags"] = array("currentapp" => "admin", "enable_nextmatchs_class" => True);
|
||||
include("../header.inc.php");
|
||||
include($phpgw_info["server"]["server_root"] . "/admin/inc/accounts_"
|
||||
. $phpgw_info["server"]["account_repository"] . ".inc.php");
|
||||
include($phpgw_info["server"]["app_inc"]."/accounts_".$phpgw_info["server"]["account_repository"].".inc.php");
|
||||
|
||||
$phpgw->template->set_file(array("list" => "accounts.tpl",
|
||||
"row" => "accounts_row.tpl"));
|
||||
|
@ -20,8 +20,7 @@
|
||||
$phpgw_info["flags"]["currentapp"] = "admin";
|
||||
$phpgw_info["flags"]["enable_calendar_class"] = True;
|
||||
include("../header.inc.php");
|
||||
include($phpgw_info["server"]["server_root"] . "/admin/inc/accounts_"
|
||||
. $phpgw_info["server"]["account_repository"] . ".inc.php");
|
||||
include($phpgw_info["server"]["app_inc"]."/accounts_".$phpgw_info["server"]["account_repository"].".inc.php");
|
||||
|
||||
// I didn't active this code until all tables are up to date using the owner field
|
||||
// The calendar isn't update to date. (jengo)
|
||||
|
@ -14,8 +14,7 @@
|
||||
$phpgw_info = array();
|
||||
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True, "currentapp" => "admin");
|
||||
include("../header.inc.php");
|
||||
include($phpgw_info["server"]["server_root"] . "/admin/inc/accounts_"
|
||||
. $phpgw_info["server"]["account_repository"] . ".inc.php");
|
||||
include($phpgw_info["server"]["app_inc"]."/accounts_".$phpgw_info["server"]["account_repository"].".inc.php");
|
||||
|
||||
if (! $account_id) {
|
||||
Header("Location: " . $phpgw->link("accounts.php"));
|
||||
|
@ -14,8 +14,7 @@
|
||||
$phpgw_info = array();
|
||||
$phpgw_info["flags"] = array("currentapp" => "admin", "noheader" => True, "nonavbar" => True);
|
||||
include("../header.inc.php");
|
||||
include($phpgw_info["server"]["server_root"] . "/admin/inc/accounts_"
|
||||
. $phpgw_info["server"]["account_repository"] . ".inc.php");
|
||||
include($phpgw_info["server"]["app_inc"]."/accounts_".$phpgw_info["server"]["account_repository"].".inc.php");
|
||||
|
||||
function add_default_preferences($account_id)
|
||||
{
|
||||
|
@ -22,8 +22,7 @@
|
||||
$phpgw_info["flags"]["parent_page"] = "accounts.php";
|
||||
|
||||
include("../header.inc.php");
|
||||
include($phpgw_info["server"]["server_root"] . "/admin/inc/accounts_"
|
||||
. $phpgw_info["server"]["account_repository"] . ".inc.php");
|
||||
include($phpgw_info["server"]["app_inc"]."/accounts_".$phpgw_info["server"]["account_repository"].".inc.php");
|
||||
|
||||
if (! $account_id) {
|
||||
Header("Location: " . $phpgw->link("accounts.php"));
|
||||
|
Loading…
Reference in New Issue
Block a user