Fix for missing _footer() calls on printer friendly

This commit is contained in:
skeeter 2001-04-14 23:54:19 +00:00
parent 988df8a223
commit 5f12cc8bb5
4 changed files with 33 additions and 5 deletions

View File

@ -78,5 +78,12 @@
$p->set_var($var);
$p->pparse('out','day_t');
$phpgw->common->phpgw_footer();
if(!isset($friendly) || $friendly == False)
{
$phpgw->common->phpgw_footer();
}
else
{
$phpgw->common->phpgw_exit();
}
?>

View File

@ -76,5 +76,12 @@
$p->set_var($var);
$p->pparse('out','index_t');
$phpgw->common->phpgw_footer();
if(!isset($friendly) || $friendly == False)
{
$phpgw->common->phpgw_footer();
}
else
{
$phpgw->common->phpgw_exit();
}
?>

View File

@ -14,7 +14,7 @@
/* $Id$ */
if (isset($friendly) && $friendly)
if (isset($friendly) && $friendly == True)
{
$phpgw_flags = Array(
'currentapp' => 'calendar',
@ -100,5 +100,12 @@
$p->set_var($var);
$p->pparse('out','week_t');
$phpgw->common->phpgw_footer();
if(!isset($friendly) || $friendly == False)
{
$phpgw->common->phpgw_footer();
}
else
{
$phpgw->common->phpgw_exit();
}
?>

View File

@ -74,5 +74,12 @@
. "status = '" . lang("Generate printer-friendly version") . "'\">["
. lang("Printer Friendly") . "]</A>";
}
$phpgw->common->phpgw_footer();
if(!isset($friendly) || $friendly == False)
{
$phpgw->common->phpgw_footer();
}
else
{
$phpgw->common->phpgw_exit();
}
?>