mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
converted from phpgw_flags to phpgw_info[flags]
This commit is contained in:
parent
9bf636591b
commit
081ad0be4b
@ -13,10 +13,10 @@
|
||||
/* $Id$ */
|
||||
|
||||
if ($submit) {
|
||||
$phpgw_flags = array("noheader" => True, "nonavbar" => True);
|
||||
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
|
||||
}
|
||||
|
||||
$phpgw_flags["currentapp"] = "addressbook";
|
||||
$phpgw_info["flags"]["currentapp"] = "addressbook";
|
||||
include("../header.inc.php");
|
||||
|
||||
if ($add_email) {
|
||||
|
@ -13,10 +13,10 @@
|
||||
/* $Id$ */
|
||||
|
||||
if ($confirm) {
|
||||
$phpgw_flags = array("noheader" => True, "nonavbar" => True);
|
||||
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
|
||||
}
|
||||
|
||||
$phpgw_flags["currentapp"] = "addressbook";
|
||||
$phpgw_info["flags"]["currentapp"] = "addressbook";
|
||||
include("../header.inc.php");
|
||||
|
||||
if (! $con) {
|
||||
|
@ -13,10 +13,10 @@
|
||||
/* $Id$ */
|
||||
|
||||
if ($submit) {
|
||||
$phpgw_flags = array("noheader" => True, "nonavbar" => True);
|
||||
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
|
||||
}
|
||||
|
||||
$phpgw_flags["currentapp"] = "addressbook";
|
||||
$phpgw_info["flags"]["currentapp"] = "addressbook";
|
||||
include("../header.inc.php");
|
||||
|
||||
if (! $con) {
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$phpgw_flags["currentapp"] = "addressbook";
|
||||
$phpgw_info["flags"]["currentapp"] = "addressbook";
|
||||
|
||||
include("../header.inc.php");
|
||||
|
||||
|
@ -13,10 +13,10 @@
|
||||
/* $Id$ */
|
||||
|
||||
if ($submit) {
|
||||
$phpgw_flags = array("noheader" => True, "nonavbar" => True);
|
||||
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
|
||||
}
|
||||
|
||||
$phpgw_flags["currentapp"] = "addressbook";
|
||||
$phpgw_info["flags"]["currentapp"] = "addressbook";
|
||||
include("../header.inc.php");
|
||||
if (! $con)
|
||||
Header("Location: " . $phpgw_info["server"]["webserver_url"] .
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$phpgw_flags["currentapp"] = "admin";
|
||||
$phpgw_info["flags"]["currentapp"] = "admin";
|
||||
include("../header.inc.php");
|
||||
|
||||
$t = new Template($phpgw_info["server"]["template_dir"]);
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$phpgw_flags["currentapp"] = "admin";
|
||||
$phpgw_info["flags"]["currentapp"] = "admin";
|
||||
include("../header.inc.php");
|
||||
|
||||
$t = new Template($phpgw_info["server"]["template_dir"]);
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$phpgw_flags["currentapp"] = "admin";
|
||||
$phpgw_info["flags"]["currentapp"] = "admin";
|
||||
include("../header.inc.php");
|
||||
|
||||
if ($order)
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$phpgw_flags["currentapp"] = "admin";
|
||||
$phpgw_info["flags"]["currentapp"] = "admin";
|
||||
include("../header.inc.php");
|
||||
|
||||
$t = new Template($phpgw_info["server"]["template_dir"]);
|
||||
|
@ -12,10 +12,10 @@
|
||||
/* $Id$ */
|
||||
|
||||
if ($confirm) {
|
||||
$phpgw_flags = array("noheader" => True, "nonavbar" => True);
|
||||
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
|
||||
}
|
||||
|
||||
$phpgw_flags["currentapp"] = "admin";
|
||||
$phpgw_info["flags"]["currentapp"] = "admin";
|
||||
include("../header.inc.php");
|
||||
// Make sure they are not attempting to delete there own account.
|
||||
// If they are, they should not reach this point anyway.
|
||||
|
@ -11,12 +11,12 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$phpgw_flags = array("noheader" => True, "nonavbar" => True);
|
||||
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
|
||||
|
||||
if (! $app_name)
|
||||
Header("Location: " . $phpgw->link("applications.php"));
|
||||
|
||||
$phpgw_flags["currentapp"] = "admin";
|
||||
$phpgw_info["flags"]["currentapp"] = "admin";
|
||||
include("../header.inc.php");
|
||||
|
||||
if ($confirm) {
|
||||
|
@ -11,12 +11,12 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$phpgw_flags = array("noheader" => True, "nonavbar" => True);
|
||||
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
|
||||
|
||||
if (! $group_id)
|
||||
Header("Location: " . $phpgw->link("groups.php"));
|
||||
|
||||
$phpgw_flags["currentapp"] = "admin";
|
||||
$phpgw_info["flags"]["currentapp"] = "admin";
|
||||
include("../header.inc.php");
|
||||
|
||||
if ((($group_id) && ($confirm)) || $removeusers) {
|
||||
|
@ -12,15 +12,15 @@
|
||||
/* $Id$ */
|
||||
|
||||
if ($confirm) {
|
||||
$phpgw_flags = array("noheader" => True, "nonavbar" => True);
|
||||
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
|
||||
}
|
||||
|
||||
$phpgw_flags["currentapp"] = "admin";
|
||||
$phpgw_info["flags"]["currentapp"] = "admin";
|
||||
include("../header.inc.php");
|
||||
|
||||
function remove_account_data($query,$t)
|
||||
{
|
||||
global $phpgw->db;
|
||||
global $phpgw;
|
||||
$phpgw->db->query("delete from $t where $query");
|
||||
}
|
||||
|
||||
|
@ -11,9 +11,9 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$phpgw_flags = array("noheader" => True, "nonavbar" => True);
|
||||
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
|
||||
|
||||
$phpgw_flags["currentapp"] = "admin";
|
||||
$phpgw_info["flags"]["currentapp"] = "admin";
|
||||
include("../header.inc.php");
|
||||
if (! $con)
|
||||
Header("Location: " . $phpgw->link("accounts.php"));
|
||||
|
@ -12,10 +12,10 @@
|
||||
/* $Id$ */
|
||||
|
||||
if ($submit) {
|
||||
$phpgw_flags = array("noheader" => True, "nonavbar" => True);
|
||||
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
|
||||
}
|
||||
|
||||
$phpgw_flags["currentapp"] = "admin";
|
||||
$phpgw_info["flags"]["currentapp"] = "admin";
|
||||
include("../header.inc.php");
|
||||
|
||||
$t = new Template($phpgw_info["server"]["template_dir"]);
|
||||
|
@ -12,10 +12,10 @@
|
||||
/* $Id$ */
|
||||
|
||||
if ($submit) {
|
||||
$phpgw_flags = array("noheader" => True, "nonavbar" => True);
|
||||
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
|
||||
}
|
||||
|
||||
$phpgw_flags["currentapp"] = "admin";
|
||||
$phpgw_info["flags"]["currentapp"] = "admin";
|
||||
include("../header.inc.php");
|
||||
|
||||
if (! $group_id) {
|
||||
|
@ -12,10 +12,10 @@
|
||||
/* $Id$ */
|
||||
|
||||
if ($submit) {
|
||||
$phpgw_flags = array("noheader" => True, "nonavbar" => True);
|
||||
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
|
||||
}
|
||||
|
||||
$phpgw_flags["currentapp"] = "admin";
|
||||
$phpgw_info["flags"]["currentapp"] = "admin";
|
||||
include("../header.inc.php");
|
||||
if (! $con)
|
||||
Header("Location: " . $phpgw->link("headlines.php"));
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$phpgw_flags["currentapp"] = "admin";
|
||||
$phpgw_info["flags"]["currentapp"] = "admin";
|
||||
include("../header.inc.php");
|
||||
|
||||
if (! $start)
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$phpgw_flags["currentapp"] = "admin";
|
||||
$phpgw_info["flags"]["currentapp"] = "admin";
|
||||
include("../header.inc.php");
|
||||
echo "<p><center>" . lang_admin("Headline Sites") . "<br><table border=0 width=65%>"
|
||||
. "<tr bgcolor=" . $theme["th_bg"] . "><td>" . lang_admin("Site") . "</td>"
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$phpgw_flags["currentapp"] = "admin";
|
||||
$phpgw_info["flags"]["currentapp"] = "admin";
|
||||
|
||||
include("../header.inc.php");
|
||||
check_code($cd);
|
||||
|
@ -12,10 +12,10 @@
|
||||
/* $Id$ */
|
||||
|
||||
if ($confirm) {
|
||||
$phpgw_flags = array("noheader" => True, "nonavbar" => True);
|
||||
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
|
||||
}
|
||||
|
||||
$phpgw_flags["currentapp"] = "admin";
|
||||
$phpgw_info["flags"]["currentapp"] = "admin";
|
||||
include("../header.inc.php");
|
||||
if ($ksessionid == $phpgw_info["user"]["sessionid"]) {
|
||||
Header("Location: " . $phpgw->link("currentusers.php"));
|
||||
|
@ -11,9 +11,9 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$phpgw_flags = array("noheader" => True, "nonavbar" => True);
|
||||
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
|
||||
|
||||
$phpgw_flags["currentapp"] = "admin";
|
||||
$phpgw_info["flags"]["currentapp"] = "admin";
|
||||
include("../header.inc.php");
|
||||
if ($submit) {
|
||||
if (! $n_loginid)
|
||||
|
@ -12,10 +12,10 @@
|
||||
/* $Id$ */
|
||||
|
||||
if ($submit) {
|
||||
$phpgw_flags = array("noheader" => True, "nonavbar" => True);
|
||||
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
|
||||
}
|
||||
|
||||
$phpgw_flags["currentapp"] = "admin";
|
||||
$phpgw_info["flags"]["currentapp"] = "admin";
|
||||
include("../header.inc.php");
|
||||
|
||||
$t = new Template($phpgw_info["server"]["template_dir"]);
|
||||
|
@ -12,10 +12,10 @@
|
||||
/* $Id$ */
|
||||
|
||||
if ($submit) {
|
||||
$phpgw_flags = array("noheader" => True, "nonavbar" => True);
|
||||
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
|
||||
}
|
||||
|
||||
$phpgw_flags["currentapp"] = "admin";
|
||||
$phpgw_info["flags"]["currentapp"] = "admin";
|
||||
include("../header.inc.php");
|
||||
|
||||
$t = new Template($phpgw_info["server"]["template_dir"]);
|
||||
|
@ -12,9 +12,9 @@
|
||||
/* $Id$ */
|
||||
|
||||
if ($submit) {
|
||||
$phpgw_flags = array("noheader" => True, "nonavbar" => True);
|
||||
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
|
||||
}
|
||||
$phpgw_flags["currentapp"] = "admin";
|
||||
$phpgw_info["flags"]["currentapp"] = "admin";
|
||||
include("../header.inc.php");
|
||||
if (! $submit) {
|
||||
?>
|
||||
|
@ -13,14 +13,14 @@
|
||||
/* $Id$ */
|
||||
|
||||
if ($submit && $nntplist) {
|
||||
$phpgw_flags = array("noheader" => True, "nonavbar" => True);
|
||||
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
|
||||
}
|
||||
|
||||
$phpgw_flags["currentapp"] = "admin";
|
||||
$phpgw_flags["disable_network_class"] = True;
|
||||
$phpgw_flags["disable_message_class"] = True;
|
||||
$phpgw_flags["disable_send_class"] = True;
|
||||
$phpgw_flags["disable_vfs_class"] = True;
|
||||
$phpgw_info["flags"]["currentapp"] = "admin";
|
||||
$phpgw_info["flags"]["disable_network_class"] = True;
|
||||
$phpgw_info["flags"]["disable_message_class"] = True;
|
||||
$phpgw_info["flags"]["disable_send_class"] = True;
|
||||
$phpgw_info["flags"]["disable_vfs_class"] = True;
|
||||
include("../header.inc.php");
|
||||
|
||||
$phpgw->include_lang("nntp");
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$phpgw_flags["currentapp"] = "admin";
|
||||
$phpgw_info["flags"]["currentapp"] = "admin";
|
||||
|
||||
include("../header.inc.php");
|
||||
if (! $con)
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$phpgw_flags["currentapp"] = "admin";
|
||||
$phpgw_info["flags"]["currentapp"] = "admin";
|
||||
|
||||
include("../header.inc.php");
|
||||
if (! $con)
|
||||
|
@ -15,10 +15,10 @@
|
||||
/* $Id$ */
|
||||
|
||||
if ($friendly) {
|
||||
$phpgw_flags["noheader"] = True;
|
||||
$phpgw_info["flags"]["noheader"] = True;
|
||||
}
|
||||
|
||||
$phpgw_flags["currentapp"] = "calendar";
|
||||
$phpgw_info["flags"]["currentapp"] = "calendar";
|
||||
include("../header.inc.php");
|
||||
|
||||
$view = "day";
|
||||
|
@ -13,7 +13,7 @@
|
||||
\**************************************************************************/
|
||||
|
||||
/* $Id$ */
|
||||
$phpgw_flags = array("noheader" => True, "nonavbar" => True, "currentapp" => "calendar");
|
||||
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True, "currentapp" => "calendar");
|
||||
include("../header.inc.php");
|
||||
|
||||
if ($id > 0) {
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$phpgw_flags["currentapp"] = "calendar";
|
||||
$phpgw_info["flags"]["currentapp"] = "calendar";
|
||||
|
||||
include("../header.inc.php");
|
||||
|
||||
|
@ -14,8 +14,8 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$phpgw_flags["noheader"]="True";
|
||||
$phpgw_flags["currentapp"]="calendar";
|
||||
$phpgw_info["flags"]["noheader"]="True";
|
||||
$phpgw_info["flags"]["currentapp"]="calendar";
|
||||
include("../header.inc.php");
|
||||
// Input time format "2359"
|
||||
function add_duration($time, $duration)
|
||||
|
@ -191,10 +191,10 @@ function month_name ( $m ) {
|
||||
// LC: links back to an entry view for $id using $pic
|
||||
function link_to_entry($id, $pic, $description)
|
||||
{
|
||||
global $phpgw, $phpgw_info, $phpgw_flags, $friendly, $appname;
|
||||
global $phpgw, $phpgw_info, $friendly, $appname;
|
||||
if (! $friendly)
|
||||
echo "<A HREF=\"".$phpgw->link($phpgw_info["server"]["webserver_url"]
|
||||
."/".$phpgw_flags["currentapp"]."/view.php","id=$id")."\"><img src=\""
|
||||
."/".$phpgw_info["flags"]["currentapp"]."/view.php","id=$id")."\"><img src=\""
|
||||
. $phpgw_info["server"]["app_images"]."/$pic\" "
|
||||
. "border=\"0\" alt=\"".htmlentities($description)."\"></a>";
|
||||
}
|
||||
|
@ -15,10 +15,10 @@
|
||||
/* $Id$ */
|
||||
|
||||
if ($friendly) {
|
||||
$phpgw_flags["noheader"] = True;
|
||||
$phpgw_info["flags"]["noheader"] = True;
|
||||
}
|
||||
|
||||
$phpgw_flags["currentapp"] = "calendar";
|
||||
$phpgw_info["flags"]["currentapp"] = "calendar";
|
||||
include("../header.inc.php");
|
||||
if (strlen($date) > 0) {
|
||||
$thisyear = substr($date, 0, 4);
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$phpgw_flags["currentapp"] = "calendar";
|
||||
$phpgw_info["flags"]["currentapp"] = "calendar";
|
||||
|
||||
if (! $keywords) {
|
||||
// If we reach this it becuase they didn't search for anything,
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$phpgw_flags["currentapp"] = "calendar";
|
||||
$phpgw_info["flags"]["currentapp"] = "calendar";
|
||||
include("../header.inc.php");
|
||||
|
||||
function grab_group($db,$id)
|
||||
|
@ -14,10 +14,10 @@
|
||||
|
||||
/* $Id$ */
|
||||
if (!$friendly){
|
||||
$phpgw_flags["noheader"]="True";
|
||||
$phpgw_info["flags"]["noheader"]="True";
|
||||
}
|
||||
|
||||
$phpgw_flags["currentapp"] = "calendar";
|
||||
$phpgw_info["flags"]["currentapp"] = "calendar";
|
||||
include("../header.inc.php");
|
||||
|
||||
if (! $friendly) {
|
||||
|
@ -13,10 +13,10 @@
|
||||
/* $Id$ */
|
||||
|
||||
if ($friendly) {
|
||||
$phpgw_flags["noheader"] = True;
|
||||
$phpgw_info["flags"]["noheader"] = True;
|
||||
}
|
||||
|
||||
$phpgw_flags["currentapp"] = "calendar";
|
||||
$phpgw_info["flags"]["currentapp"] = "calendar";
|
||||
include("../header.inc.php");
|
||||
|
||||
if ($friendly) {
|
||||
|
@ -56,7 +56,7 @@
|
||||
This is done by putting this at the top of each PHP page.
|
||||
<code>
|
||||
<?php
|
||||
$phpgw_flags["currentapp"] = "appname";
|
||||
$phpgw_info["flags"]["currentapp"] = "appname";
|
||||
include("../header.inc.php");
|
||||
?>
|
||||
</code>
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
$phpgw_info["server"]["include_root"] = "/path/to/phpgroupware/inc";
|
||||
/* This is the basic include needed on each page for phpGroupWare application compliance */
|
||||
$phpgw_flags["htmlcompliant"] = True;
|
||||
$phpgw_info["flags"]["htmlcompliant"] = True;
|
||||
|
||||
/**************************************************************************\
|
||||
* Do not edit this line *
|
||||
|
@ -17,7 +17,7 @@
|
||||
exit;
|
||||
}
|
||||
|
||||
$phpgw_flags = array("noheader" => True, "nonavbar" => True, "currentapp" => "home");
|
||||
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True, "currentapp" => "home");
|
||||
include("header.inc.php");
|
||||
// Note: I need to add checks to make sure these apps are installed.
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$phpgw_flags = array("disable_message_class" => True, "disable_send_class" => True,
|
||||
$phpgw_info["flags"] = array("disable_message_class" => True, "disable_send_class" => True,
|
||||
"disable_nextmatchs_class" => True, "disable_template_class" => True,
|
||||
"login" => True, "currentapp" => "login",
|
||||
"noheader" => True
|
||||
|
12
logout.php
12
logout.php
@ -12,12 +12,12 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$phpgw_flags["disable_message_class"] = True;
|
||||
$phpgw_flags["disable_send_class"] = True;
|
||||
$phpgw_flags["disable_nextmatchs_class"] = True;
|
||||
$phpgw_flags["disable_template_class"] = True;
|
||||
$phpgw_flags["currentapp"] = "logout";
|
||||
$phpgw_flags["noheader"] = True;
|
||||
$phpgw_info["flags"]["disable_message_class"] = True;
|
||||
$phpgw_info["flags"]["disable_send_class"] = True;
|
||||
$phpgw_info["flags"]["disable_nextmatchs_class"] = True;
|
||||
$phpgw_info["flags"]["disable_template_class"] = True;
|
||||
$phpgw_info["flags"]["currentapp"] = "logout";
|
||||
$phpgw_info["flags"]["noheader"] = True;
|
||||
|
||||
include("header.inc.php");
|
||||
|
||||
|
@ -12,9 +12,9 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$phpgw_flags = array("noheader" => True, "nonavbar" => True);
|
||||
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
|
||||
|
||||
$phpgw_flags["currentapp"] = "preferences";
|
||||
$phpgw_info["flags"]["currentapp"] = "preferences";
|
||||
include("../header.inc.php");
|
||||
if ($phpgw_info["user"]["permissions"]["anonymous"]) {
|
||||
Header("Location: " . $phpgw->link($phpgw_info["server"]["webserver_url"] . "/"));
|
||||
|
@ -16,7 +16,7 @@
|
||||
Header("Pragma: no-cache");
|
||||
//Header("Expires: Sat, Jan 01 2000 01:01:01 GMT");
|
||||
|
||||
$phpgw_flags["currentapp"] = "preferences";
|
||||
$phpgw_info["flags"]["currentapp"] = "preferences";
|
||||
include("../header.inc.php");
|
||||
if ($phpgw_info["user"]["permissions"]["anonymous"]) {
|
||||
Header("Location: " . $phpgw->link($phpgw_info["server"]["webserver_url"] . "/"));
|
||||
|
@ -12,9 +12,9 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$phpgw_flags = array("noheader" => True, "nonavbar" => True);
|
||||
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
|
||||
|
||||
$phpgw_flags["currentapp"] = "preferences";
|
||||
$phpgw_info["flags"]["currentapp"] = "preferences";
|
||||
include("../header.inc.php");
|
||||
|
||||
if ($phpgw_info["user"]["permissions"]["anonymous"]) {
|
||||
|
@ -12,9 +12,9 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
//$phpgw_flags = array("noheader" => True, "nonavbar" => True);
|
||||
//$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
|
||||
|
||||
$phpgw_flags["currentapp"] = "preferences";
|
||||
$phpgw_info["flags"]["currentapp"] = "preferences";
|
||||
include("../header.inc.php");
|
||||
if ($phpgw_info["user"]["apps"]["anonymous"]) {
|
||||
Header("Location: " . $phpgw->link($phpgw_info["server"]["webserver_url"] . "/"));
|
||||
|
@ -13,10 +13,10 @@
|
||||
/* $Id$ */
|
||||
|
||||
if ($submit && $nntplist) {
|
||||
$phpgw_flags = array("noheader" => True, "nonavbar" => True);
|
||||
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
|
||||
}
|
||||
|
||||
$phpgw_flags["currentapp"] = "preferences";
|
||||
$phpgw_info["flags"]["currentapp"] = "preferences";
|
||||
include("../header.inc.php");
|
||||
$phpgw->include_lang("nntp");
|
||||
function get_tg()
|
||||
|
@ -12,9 +12,9 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$phpgw_flags = array("noheader" => True, "nonavbar" => True);
|
||||
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True);
|
||||
|
||||
$phpgw_flags["currentapp"] = "preferences";
|
||||
$phpgw_info["flags"]["currentapp"] = "preferences";
|
||||
include("../header.inc.php");
|
||||
if ($phpgw_info["user"]["permissions"]["anonymous"]) {
|
||||
Header("Location: " . $phpgw->link($phpgw_info["server"]["webserver_url"] . "/"));
|
||||
|
Loading…
Reference in New Issue
Block a user