Changeset 30
- Timestamp:
- 02/12/07 20:57:14 (2 years ago)
- Files:
-
- trunk/templates/calendar (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/templates/calendar
r2 r30 1 <div id="calendar"> 1 2 <div align="center" style="border: 1px solid black; background: #eee"> 3 <script> 4 function redo_self(arg) { 5 new Ajax.Updater("calendar","[%base%]/calendar?view_cal="+arg, { method: "get" }) 6 } 7 </script> 2 8 [% IF request.action == "view" %] 3 9 [% SET shot = photo.shot %] … … 10 16 <table class="calendar"> 11 17 <tr> 12 <th> <a href=" [%base%]/[%request.path%]?view_cal=[%prev.ymd%]">« </a></th>18 <th> <a href="javascript:redo_self('[%prev.ymd%]')">« </a></th> 13 19 <th colspan="5"> 14 20 [% date.strftime("%Y-%m") %] 15 21 </th> 16 22 <th> [% IF next %] 17 <a href=" [%base%]/[%request.path%]?view_cal=[%next.ymd%]">» </a>23 <a href="javascript:redo_self('[%next.ymd%]')">» </a> 18 24 [% END %] 19 25 </th> … … 42 48 </table> 43 49 </div> 50 </div>
