phpScheduleIt
May 24, 2013, 01:07:31 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: phpScheduleIt 2.4.2 has been released!
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Minor bug in Monthly Calendar Popup [Solved]  (Read 2831 times)
Ptigrouick
Newbie
*

Karma: 0
Posts: 7


« on: July 24, 2006, 11:12:17 AM »

Hello,

There is a litlle bug in Monthly Calendar Popup : previous and next month (at each side of months select list) are always displayed in english. My phpscheduleit is french so it is a little strange, cause months are in french in the select list. I corrected this little bug with the following :
* in lib/Calendar.class.php
line 209
Code:
<?= "&lt; " . strftime("%b",mktime(0,0,0,$prevMonth,1,$prevYear))  ?>

becomes
Code:
<?= "&lt; " . substr($months_full[date('n',mktime(0,0,0,$prevMonth,1,$prevYear))-1],0,3) ?>


ligne 225
Code:
<?= strftime("%b",mktime(0,0,0,$nextMonth,1,$nextYear)) . " &gt;" ?>

becomes
Code:
<?= substr($months_full[date('n',mktime(0,0,0,$nextMonth,1,$nextYear))-1],0,3) . " &gt;" ?>
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #1 on: July 24, 2006, 03:17:25 PM »

Great, thanks!  I'll merge this into the codebase.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!