mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
printer friendly fixes
This commit is contained in:
parent
cfbf8db153
commit
6b59cc7842
@ -170,13 +170,14 @@ for ($i = $wkstart; date("Ymd", $i) <= date("Ymd", $monthend); $i += (24 * 3600
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
if (! $friendly) {
|
if (! $friendly) {
|
||||||
echo "<p><A HREF=\"".$phpgw->link("day.php");
|
$param = "";
|
||||||
if ($thisyear)
|
if ($thisyear)
|
||||||
echo "&year=$thisyear&month=$thismonth&day=$thisday";
|
$param .= "year=$thisyear&month=$thismonth&day=$thisday&";
|
||||||
|
|
||||||
?>&friendly=1" TARGET="cal_printer_friendly" onMouseOver="window.status = '<?php echo lang("Generate printer-friendly version") . "'\">[" . lang("Printer Friendly"); ?>]</A>
|
$param .= "friendly=1\" TARGET=\"cal_printer_friendly\" onMouseOver=\"window."
|
||||||
|
. "status = '" . lang("Generate printer-friendly version"). "'";
|
||||||
<?php
|
echo "<a href=\"".$phpgw->link($PHP_SELF,$param)."\">";
|
||||||
|
echo "[". lang("Printer Friendly") . "]</A>";
|
||||||
include($phpgw_info["server"]["api_dir"] . "/footer.inc.php");
|
include($phpgw_info["server"]["api_dir"] . "/footer.inc.php");
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
@ -168,3 +168,4 @@
|
|||||||
echo "[". lang("Printer Friendly") . "]</A>";
|
echo "[". lang("Printer Friendly") . "]</A>";
|
||||||
include($phpgw_info["server"]["api_dir"] . "/footer.inc.php");
|
include($phpgw_info["server"]["api_dir"] . "/footer.inc.php");
|
||||||
}
|
}
|
||||||
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user