aboutsummaryrefslogtreecommitdiffstats
path: root/includes/calendar_nav.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2003-09-16 05:38:33 +0000
committerChad Little <clittle@users.sourceforge.net>2003-09-16 05:38:33 +0000
commit20c668e9def5ae16ff2384ea332fd5548e178f76 (patch)
tree4af2053389e6233964bc55b63091f6bf79ef122f /includes/calendar_nav.php
parentefd930c5a2a02dc06423de7122b4ef890bd6c44c (diff)
downloadphpicalendar-20c668e9def5ae16ff2384ea332fd5548e178f76.tar.gz
phpicalendar-20c668e9def5ae16ff2384ea332fd5548e178f76.tar.bz2
phpicalendar-20c668e9def5ae16ff2384ea332fd5548e178f76.zip
Finally fixed the jumpto's to not have space around them. Also cleaned up
the HTML footprint to be slimmer.
Diffstat (limited to 'includes/calendar_nav.php')
-rw-r--r--includes/calendar_nav.php52
1 files changed, 14 insertions, 38 deletions
diff --git a/includes/calendar_nav.php b/includes/calendar_nav.php
index 870808a..d5fbf56 100644
--- a/includes/calendar_nav.php
+++ b/includes/calendar_nav.php
@@ -98,44 +98,20 @@
<td width="160" valign="top">
<table cellpadding="0" cellspacing="0" border="0" width="160">
<tr>
- <td valign="middle" align="center">
- <table border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" width="100%">
- <tr>
- <td width="4"></td>
- <td>
- <?php
- include('./functions/list_icals.php');
- include('./functions/list_years.php');
- include('./functions/list_months.php');
- include('./functions/list_weeks.php');
- ?>
- </td>
- </tr>
- <?php
- if ($display_custom_goto == "yes") {
- ?>
- <tr>
- <td width="4"><img src="images/spacer.gif" width="4" height="1" alt=" "></td>
- <td class="G10B">
- <form action="day.php" method="GET">
- <input type="hidden" name="cal" value="<?php print urlencode($cal); ?>">
- <input type="text" size="15" name="jumpto_day">
- <input type="submit" value="Go">
- </form>
- </td>
- </tr>
- <?php
- }
- if ($show_search == 'yes') { ?>
- <tr>
- <td colspan="2"><img src="images/spacer.gif" width="21" height="3" alt=" "></td>
- </tr>
- <tr>
- <td width="4"><img src="images/spacer.gif" width="4" height="1" alt=" "></td>
- <td valign="middle" align="left"><?php echo "$search_box"; ?></td>
- </tr>
- <?php } ?>
- </table>
+ <td bgcolor="#FFFFFF" align="left" class="G10BOLD">
+ <?php
+
+ echo '<b>'.$jump_lang.'</b><br>';
+ echo '<img src="images/spacer.gif" width="1" height="6" alt=" "><br>';
+ echo "<form action=\"day.php\" method=\"GET\"><select name=\"action\" class=\"query_style\" onChange=\"window.location=(this.options[this.selectedIndex].value+'$query');\">";
+ include('./functions/list_icals.php');
+ include('./functions/list_years.php');
+ include('./functions/list_months.php');
+ include('./functions/list_weeks.php');
+ echo "</form>";
+ echo '<img src="images/spacer.gif" width="1" height="6" alt=" "><br>';
+
+ ?>
</td>
</tr>
</table>

© 2014-2024 Faster IT GmbH | imprint | privacy policy