new disable by default policy should help performance

This commit is contained in:
seek3r 2000-11-16 07:56:58 +00:00
parent 066cc921b3
commit 38b0173707
10 changed files with 14 additions and 12 deletions

View File

@ -20,7 +20,7 @@
$friendly = 0;
}
$phpgw_info["flags"]["currentapp"] = "calendar";
$phpgw_info["flags"] = array("currentapp" => "calendar", "enable_calendar_class" => True, "enable_nextmatchs_class" => True);
include("../header.inc.php");
$view = "day";

View File

@ -13,7 +13,8 @@
\**************************************************************************/
/* $Id$ */
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True, "currentapp" => "calendar");
$phpgw_info["flags"] = array("currentapp" => "calendar", "enable_calendar_class" => True,
"noheader" => True, "nonavbar" => True, "enable_nextmatchs_class" => True);
include("../header.inc.php");
if ($id > 0) {

View File

@ -14,7 +14,7 @@
/* $Id$ */
$phpgw_info["flags"]["currentapp"] = "calendar";
$phpgw_info["flags"] = array("currentapp" => "calendar", "enable_calendar_class" => True, "enable_nextmatchs_class" => True);
include("../header.inc.php");

View File

@ -15,7 +15,7 @@
/* $Id$ */
$phpgw_info["flags"]["noheader"]="True";
$phpgw_info["flags"]["currentapp"]="calendar";
$phpgw_info["flags"] = array("currentapp" => "calendar", "enable_calendar_class" => True, "enable_nextmatchs_class" => True);
include("../header.inc.php");
// Input time format "2359"
function add_duration($time, $duration)

View File

@ -20,7 +20,7 @@
$friendly = 0;
}
$phpgw_info["flags"]["currentapp"] = "calendar";
$phpgw_info["flags"] = array("currentapp" => "calendar", "enable_calendar_class" => True, "enable_nextmatchs_class" => True);
include("../header.inc.php");
if (isset($date) && strlen($date) > 0) {

View File

@ -11,8 +11,10 @@
/* $Id$ */
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True, "currentapp" => "calendar",
"nocalendarheader" => True, "nocalendarfooter" => True);
$phpgw_info["flags"] = array("currentapp" => "calendar", "enable_calendar_class" => True,
"enable_nextmatchs_class" => True,
"noheader" => True, "nonavbar" => True,
"nocalendarheader" => True, "nocalendarfooter" => True);
include("../header.inc.php");
if ($submit) {

View File

@ -14,7 +14,7 @@
/* $Id$ */
$phpgw_info["flags"]["currentapp"] = "calendar";
$phpgw_info["flags"] = array("currentapp" => "calendar", "enable_calendar_class" => True, "enable_nextmatchs_class" => True);
if (! $keywords) {
// If we reach this it becuase they didn't search for anything,

View File

@ -14,7 +14,7 @@
/* $Id$ */
$phpgw_info["flags"]["currentapp"] = "calendar";
$phpgw_info["flags"] = array("currentapp" => "calendar", "enable_calendar_class" => True, "enable_nextmatchs_class" => True);
include("../header.inc.php");
function grab_group($db,$id)

View File

@ -18,8 +18,7 @@
} else {
$friendly = 0;
}
$phpgw_info["flags"]["currentapp"] = "calendar";
$phpgw_info["flags"] = array("currentapp" => "calendar", "enable_calendar_class" => True, "enable_nextmatchs_class" => True);
include("../header.inc.php");
if(!isset($phpgw_info["user"]["preferences"]["calendar"]["weekdaystarts"]))

View File

@ -18,7 +18,7 @@
$friendly = 0;
}
$phpgw_info["flags"]["currentapp"] = "calendar";
$phpgw_info["flags"] = array("currentapp" => "calendar", "enable_calendar_class" => True, "enable_nextmatchs_class" => True);
include("../header.inc.php");
$view = "year";