incubator-olio-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ak...@apache.org
Subject svn commit: r766932 - /incubator/olio/webapp/php/trunk/views/calendar.php
Date Tue, 21 Apr 2009 00:46:25 GMT
Author: akara
Date: Tue Apr 21 00:46:25 2009
New Revision: 766932

URL: http://svn.apache.org/viewvc?rev=766932&view=rev
Log:
Issue OLIO-18: Patch submitted by Damien Cooke and Nick Lanham. Fix verified.

Modified:
    incubator/olio/webapp/php/trunk/views/calendar.php

Modified: incubator/olio/webapp/php/trunk/views/calendar.php
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/php/trunk/views/calendar.php?rev=766932&r1=766931&r2=766932&view=diff
==============================================================================
--- incubator/olio/webapp/php/trunk/views/calendar.php (original)
+++ incubator/olio/webapp/php/trunk/views/calendar.php Tue Apr 21 00:46:25 2009
@@ -46,9 +46,9 @@
     <caption class="monthName"></caption><thead>
 <tr><th id="calheader" colspan="7">
       <a href="#prev_year" class="prev_year" onclick="updateCalendar(<?echo $month;?>,<?
echo $prev_year;?>)"><</a>
-      <a href="#prev_month" class="prev_month" onclick="updateCalendar(<? echo $prev_month;?>,<?
echo $year;?>)"><</a>
+      <a href="#prev_month" class="prev_month" onclick="updateCalendar(<? echo $prev_month;?>,<?
echo ($prev_month==12?($year-1):$year);?>)"><</a>
       <?=$monthName." ".$year?>
-      <a href="#next_month" class="next_month" onclick="updateCalendar(<?echo $next_month;?>,<?
echo $year;?>)">></a>
+      <a href="#next_month" class="next_month" onclick="updateCalendar(<?echo $next_month;?>,<?
echo ($next_month==1?($year+1):$year);?>)">></a>
       <a href="#next_year" class="next_year" onclick="updateCalendar(<?echo $month;?>,<?
echo $next_year;?>)">></a>
       </th></tr>
 



Mime
View raw message