forked from extern/egroupware
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 = array();
|
||||||
$phpgw_info["flags"] = array("currentapp" => "admin", "enable_nextmatchs_class" => True);
|
$phpgw_info["flags"] = array("currentapp" => "admin", "enable_nextmatchs_class" => True);
|
||||||
include("../header.inc.php");
|
include("../header.inc.php");
|
||||||
include($phpgw_info["server"]["server_root"] . "/admin/inc/accounts_"
|
include($phpgw_info["server"]["app_inc"]."/accounts_".$phpgw_info["server"]["account_repository"].".inc.php");
|
||||||
. $phpgw_info["server"]["account_repository"] . ".inc.php");
|
|
||||||
|
|
||||||
$phpgw->template->set_file(array("list" => "accounts.tpl",
|
$phpgw->template->set_file(array("list" => "accounts.tpl",
|
||||||
"row" => "accounts_row.tpl"));
|
"row" => "accounts_row.tpl"));
|
||||||
|
@ -20,8 +20,7 @@
|
|||||||
$phpgw_info["flags"]["currentapp"] = "admin";
|
$phpgw_info["flags"]["currentapp"] = "admin";
|
||||||
$phpgw_info["flags"]["enable_calendar_class"] = True;
|
$phpgw_info["flags"]["enable_calendar_class"] = True;
|
||||||
include("../header.inc.php");
|
include("../header.inc.php");
|
||||||
include($phpgw_info["server"]["server_root"] . "/admin/inc/accounts_"
|
include($phpgw_info["server"]["app_inc"]."/accounts_".$phpgw_info["server"]["account_repository"].".inc.php");
|
||||||
. $phpgw_info["server"]["account_repository"] . ".inc.php");
|
|
||||||
|
|
||||||
// I didn't active this code until all tables are up to date using the owner field
|
// 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)
|
// The calendar isn't update to date. (jengo)
|
||||||
|
@ -14,8 +14,7 @@
|
|||||||
$phpgw_info = array();
|
$phpgw_info = array();
|
||||||
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True, "currentapp" => "admin");
|
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True, "currentapp" => "admin");
|
||||||
include("../header.inc.php");
|
include("../header.inc.php");
|
||||||
include($phpgw_info["server"]["server_root"] . "/admin/inc/accounts_"
|
include($phpgw_info["server"]["app_inc"]."/accounts_".$phpgw_info["server"]["account_repository"].".inc.php");
|
||||||
. $phpgw_info["server"]["account_repository"] . ".inc.php");
|
|
||||||
|
|
||||||
if (! $account_id) {
|
if (! $account_id) {
|
||||||
Header("Location: " . $phpgw->link("accounts.php"));
|
Header("Location: " . $phpgw->link("accounts.php"));
|
||||||
|
@ -14,8 +14,7 @@
|
|||||||
$phpgw_info = array();
|
$phpgw_info = array();
|
||||||
$phpgw_info["flags"] = array("currentapp" => "admin", "noheader" => True, "nonavbar" => True);
|
$phpgw_info["flags"] = array("currentapp" => "admin", "noheader" => True, "nonavbar" => True);
|
||||||
include("../header.inc.php");
|
include("../header.inc.php");
|
||||||
include($phpgw_info["server"]["server_root"] . "/admin/inc/accounts_"
|
include($phpgw_info["server"]["app_inc"]."/accounts_".$phpgw_info["server"]["account_repository"].".inc.php");
|
||||||
. $phpgw_info["server"]["account_repository"] . ".inc.php");
|
|
||||||
|
|
||||||
function add_default_preferences($account_id)
|
function add_default_preferences($account_id)
|
||||||
{
|
{
|
||||||
|
@ -22,8 +22,7 @@
|
|||||||
$phpgw_info["flags"]["parent_page"] = "accounts.php";
|
$phpgw_info["flags"]["parent_page"] = "accounts.php";
|
||||||
|
|
||||||
include("../header.inc.php");
|
include("../header.inc.php");
|
||||||
include($phpgw_info["server"]["server_root"] . "/admin/inc/accounts_"
|
include($phpgw_info["server"]["app_inc"]."/accounts_".$phpgw_info["server"]["account_repository"].".inc.php");
|
||||||
. $phpgw_info["server"]["account_repository"] . ".inc.php");
|
|
||||||
|
|
||||||
if (! $account_id) {
|
if (! $account_id) {
|
||||||
Header("Location: " . $phpgw->link("accounts.php"));
|
Header("Location: " . $phpgw->link("accounts.php"));
|
||||||
|
Loading…
Reference in New Issue
Block a user