diff options
author | Chad Little <clittle@users.sourceforge.net> | 2004-02-01 04:16:36 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2004-02-01 04:16:36 +0000 |
commit | 42ec254f9caa7322073f3356c82560970a7e3d32 (patch) | |
tree | dca0f64512a6a4ce921870157fca0635947d5bb0 /templates | |
parent | 972908f8a0f06713db318770eb204579fa08a507 (diff) | |
download | phpicalendar-42ec254f9caa7322073f3356c82560970a7e3d32.tar.gz phpicalendar-42ec254f9caa7322073f3356c82560970a7e3d32.tar.bz2 phpicalendar-42ec254f9caa7322073f3356c82560970a7e3d32.zip |
Events now spawn popup on pages.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/default/calendar_nav.tpl | 10 | ||||
-rw-r--r-- | templates/default/header.tpl | 22 | ||||
-rw-r--r-- | templates/default/year.tpl | 6 |
3 files changed, 23 insertions, 15 deletions
diff --git a/templates/default/calendar_nav.tpl b/templates/default/calendar_nav.tpl index c32e61f..668734c 100644 --- a/templates/default/calendar_nav.tpl +++ b/templates/default/calendar_nav.tpl @@ -21,11 +21,11 @@ <tr> <td> <div style="padding: 5px;"> - <form style="margin-bottom:0;" action="day.php" method="GET"> - <select name="action" class="query_style" onChange="window.location=(this.options[this.selectedIndex].value">{LIST_ICALS}</select><br> - <select name="action" class="query_style" onChange="window.location=(this.options[this.selectedIndex].value">{LIST_YEARS}</select><br> - <select name="action" class="query_style" onChange="window.location=(this.options[this.selectedIndex].value">{LIST_MONTHS}</select><br> - <select name="action" class="query_style" onChange="window.location=(this.options[this.selectedIndex].value">{LIST_WEEKS}</select><br> + <form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="GET"> + <select name="action" class="query_style" onChange="window.location=(this.options[this.selectedIndex].value);">{LIST_ICALS}</select><br> + <select name="action" class="query_style" onChange="window.location=(this.options[this.selectedIndex].value);">{LIST_YEARS}</select><br> + <select name="action" class="query_style" onChange="window.location=(this.options[this.selectedIndex].value);">{LIST_MONTHS}</select><br> + <select name="action" class="query_style" onChange="window.location=(this.options[this.selectedIndex].value);">{LIST_WEEKS}</select><br> </form> <!-- switch show_search on --> {SEARCH_BOX} diff --git a/templates/default/header.tpl b/templates/default/header.tpl index 59aae9a..9ecc5fc 100644 --- a/templates/default/header.tpl +++ b/templates/default/header.tpl @@ -8,11 +8,19 @@ <!-- switch rss_available on --> <link rel="alternate" type="application/rss+xml" title="RSS" href="{DEFAULT_VIEW}/rss/rss.php?cal={CAL}&rssview={CURRENT_VIEW}"> <!-- switch rss_available off --> - <!-- switch event_js on --> - {EVENT_JS} - <!-- switch event_js off --> - <!-- switch todo_available on --> - {TODO_JS} - <!-- switch todo_available off --> + {EVENT_JS} + {TODO_JS} </head> -<body>
\ No newline at end of file +<body> +<form name="eventPopupForm" id="eventPopupForm" method="post" action="includes/event.php" style="display: none;"> + <input type="hidden" name="event" id="event" value=""> + <input type="hidden" name="cal" id="cal" value=""> + <input type="hidden" name="start" id="start" value=""> + <input type="hidden" name="end" id="end" value=""> + <input type="hidden" name="description" id="description" value=""> + <input type="hidden" name="status" id="status" value=""> + <input type="hidden" name="location" id="location" value=""> + <input type="hidden" name="organizer" id="organizer" value=""> + <input type="hidden" name="attendee" id="attendee" value=""> + <input type="hidden" name="url" id="url" value=""> +</form>
\ No newline at end of file diff --git a/templates/default/year.tpl b/templates/default/year.tpl index f297cde..d64e078 100644 --- a/templates/default/year.tpl +++ b/templates/default/year.tpl @@ -12,13 +12,13 @@ <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="right" width="45%" class="navback"> - <a class="psf" href="year.php?cal=all_calendars_combined971&getdate=20030129"><img src="styles/silver/left_day.gif" alt="[Previous Year]" border="0" align="right"></a> + <a class="psf" href="year.php?cal={CAL}&getdate={PREV_YEAR}"><img src="styles/silver/left_day.gif" alt="[Previous Year]" border="0" align="right"></a> </td> <td align="center" width="10%" class="navback" nowrap valign="middle"> - <font class="H20">2004</font> + <font class="H20">{THIS_YEAR}</font> </td> <td align="left" width="45%" class="navback"> - <a class="psf" href="year.php?cal=all_calendars_combined971&getdate=20050129"><img src="styles/silver/right_day.gif" alt="[Next Year]" border="0" align="left"></a> + <a class="psf" href="year.php?cal={CAL}&getdate={NEXT_YEAR}"><img src="styles/silver/right_day.gif" alt="[Next Year]" border="0" align="left"></a> </td> </tr> </table> |