egroupware/calendar/inc/header.inc.php

45 lines
1.8 KiB
PHP
Raw Normal View History

<?php
2000-11-10 23:49:48 +01:00
if (!isset($phpgw_info["flags"]["nocalendarheader"]) ||
!$phpgw_info["flags"]["nocalendarheader"]) {
?>
2000-08-18 05:24:22 +02:00
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="2%">
&nbsp;
</td>
<td width="2%">
<a href="<?php echo $phpgw->link("day.php","year=".$phpgw->common->show_date(time(),"Y")."&month=".$phpgw->common->show_date(time(),"m")."&day=".$phpgw->common->show_date(time(),"d")); ?>">
2000-09-07 22:49:55 +02:00
<img src="<?php echo $phpgw_info["server"]["app_images"]; ?>/today.gif" alt="<?php echo lang("Today"); ?>" border="0">
2000-08-18 05:24:22 +02:00
</a>
</td>
<td width="2%" align="left">
<a href="<?php echo $phpgw->link("week.php","date=".$phpgw->common->show_date(time(),"Ymd")); ?>">
2000-09-07 22:49:55 +02:00
<img src="<?php echo $phpgw_info["server"]["app_images"]; ?>/week.gif" alt="<?php echo lang("This week"); ?>" border="0">
2000-08-18 05:24:22 +02:00
</a>
</td>
<td width="2%" align="left">
<a href="<?php echo $phpgw->link("index.php","date=".$phpgw->common->show_date(time(),"Ymd")); ?>">
2000-09-07 22:49:55 +02:00
<img src="<?php echo $phpgw_info["server"]["app_images"]; ?>/month.gif" alt="<?php echo lang("This month"); ?>" border="0">
2000-08-18 05:24:22 +02:00
</a>
</td>
<td align="right">
2000-09-05 08:37:29 +02:00
<form action="<?php echo $phpgw->link("search.php"); ?>" method="POST">
2000-08-18 05:24:22 +02:00
<input type="hidden" name="from" value="<?php echo $PHP_SELF; ?>">
2000-11-10 23:49:48 +01:00
<?php if(isset($date) && $date) { ?>
2000-08-18 05:24:22 +02:00
<input type="hidden" name="date" value="<?php echo $date; ?>">
2000-11-10 23:49:48 +01:00
<?php } ?>
2000-08-18 05:24:22 +02:00
<input type="hidden" name="month" value="<?php echo $thismonth; ?>">
<input type="hidden" name="day" value="<?php echo $thisday; ?>">
<input type="hidden" name="year" value="<?php echo $thisyear; ?>">
<input name="keywords">
2000-09-07 22:49:55 +02:00
<input type="submit" name="submit" value="<?php echo lang("Search"); ?>">
2000-08-18 05:24:22 +02:00
</form>
</td>
</tr>
</table>
<?php
}
2000-11-10 23:49:48 +01:00
?>