}
</style>
+<?php
+ $textbrowser = strpos($_SERVER['HTTP_USER_AGENT'], 'Lynx/') !== false || strpos($_SERVER['HTTP_USER_AGENT'], 'w3m/') !== false;
+?>
+
<input type="hidden" id="thismonth">
<div id="termine">
+<?php
+ if ($textbrowser || (isset($_GET['month']) && $_GET['month'] == 'normal')) {
+?>
<table id="calendar" width="100%" class="smallfont border" cellspacing="0" summary="">
<tr class="head">
<th width="5%">KW</th>
$newmonth = $start->format('F Y');
if ($month != $newmonth) {
$month = $newmonth;
+ if ($textbrowser)
+ printf('<tr><td colspan="4"> </td></tr>');
printf('<tr class="month" month="%s"><td colspan="4">%s</td></tr>',
$start->format('Y-m'), $month);
$kw = '';
?>
</table>
+<?php
+ } // $textbrowser || month == 'monat'
+?>
</div>
<div class="clear"></div>