forked from extern/egroupware
Fix for missing _footer() calls on printer friendly
This commit is contained in:
parent
988df8a223
commit
5f12cc8bb5
@ -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();
|
||||
}
|
||||
?>
|
||||
|
@ -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();
|
||||
}
|
||||
?>
|
||||
|
@ -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();
|
||||
}
|
||||
?>
|
||||
|
@ -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();
|
||||
}
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user