From 4d69ecc22979025c838c138e0f316ff641ec43ba Mon Sep 17 00:00:00 2001 From: seek3r Date: Sat, 23 Sep 2000 05:31:51 +0000 Subject: [PATCH] switched to a new distributed pref and admin which allow add-on apps to have their settings put into the main screens --- admin/inc/admin.inc.php | 48 +++++++++++++++++++++++++++++++++++++++++ preferences/index.php | 7 +++--- 2 files changed, 51 insertions(+), 4 deletions(-) create mode 100644 admin/inc/admin.inc.php diff --git a/admin/inc/admin.inc.php b/admin/inc/admin.inc.php new file mode 100644 index 0000000000..a78c8dcdbc --- /dev/null +++ b/admin/inc/admin.inc.php @@ -0,0 +1,48 @@ +link("accounts.php") . "'>"; + echo lang("User accounts")."
\n"; + + echo ""; + echo lang("User groups")."
\n"; + + echo "

\n"; + + echo ""; + echo lang("Applications")."
\n"; + + echo "

\n"; + + echo ""; + echo lang("View sessions")."
\n"; + + echo ""; + echo lang("View Access Log")."
\n"; + + section_end(); +} +?> \ No newline at end of file diff --git a/preferences/index.php b/preferences/index.php index cba208a70d..b7bfd435fe 100755 --- a/preferences/index.php +++ b/preferences/index.php @@ -43,17 +43,16 @@ // The account stuff that should be at the top of the list $appname = "preferences"; - $f = $phpgw_info["server"]["server_root"] . "/" . $appname . "/inc/prefrences.inc.php"; + $f = $phpgw_info["server"]["server_root"] . "/" . $appname . "/inc/preferences.inc.php"; if (file_exists($f)) { include($f); } while (list(,$appname) = each($phpgw_info["user"]["app_perms"])) { - $f = $phpgw_info["server"]["server_root"] . "/" . $appname . "/inc/prefrences.inc.php"; + $f = $phpgw_info["server"]["server_root"] . "/" . $appname . "/inc/preferences.inc.php"; if (file_exists($f)) { echo "

\n"; include($f); } } - - include($phpgw_info["server"]["api_dir"] . "/footer.inc.php"); +?> \ No newline at end of file