From: <txm...@us...> - 2012-07-01 00:21:36
|
Revision: 9756 http://xoops.svn.sourceforge.net/xoops/?rev=9756&view=rev Author: txmodxoops Date: 2012-07-01 00:21:30 +0000 (Sun, 01 Jul 2012) Log Message: ----------- Updated Modified Paths: -------------- XoopsCore/tags/2.6 timgno/htdocs/class/xoopsform/formdatepicker.php Modified: XoopsCore/tags/2.6 timgno/htdocs/class/xoopsform/formdatepicker.php =================================================================== --- XoopsCore/tags/2.6 timgno/htdocs/class/xoopsform/formdatepicker.php 2012-06-30 23:22:54 UTC (rev 9755) +++ XoopsCore/tags/2.6 timgno/htdocs/class/xoopsform/formdatepicker.php 2012-07-01 00:21:30 UTC (rev 9756) @@ -29,7 +29,7 @@ { var $showIcon = false; var $showWeek = false; - var $type = ''; + var $numberOfMonths = 1; var $firstDay = 0; function XoopsFormDatePicker($caption, $name, $size = 15, $value = 0, $showIcon = true, $showWeek = true) @@ -71,14 +71,16 @@ $.datepicker.setDefaults( $.datepicker.regional[ '"._LANGCODE."' ] ); $( '.datepicker' ).datepicker({ dateFormat: '"._CAL_JQUERY_FORMAT."', - numberOfMonths: 1, + numberOfMonths: ".$this->numberOfMonths.", showButtonPanel: true, showWeek: ".$this->showWeek.", firstDay: ".$this->firstDay.", showOtherMonths: true, selectOtherMonths: true, + autoSize: true, closeText: '"._CLOSE."', - currentText: '"._CAL_TODAY."', + currentText: '"._CAL_TODAY."', + initStatus: '"._CAL_SELDATE."', monthNames: ['"._CAL_JANUARY."', '"._CAL_FEBRUARY."', '"._CAL_MARCH."', '"._CAL_APRIL."', '"._CAL_MAY."', '"._CAL_JUNE."', '"._CAL_JULY."', '"._CAL_AUGUST."', '"._CAL_SEPTEMBER."', @@ -95,10 +97,11 @@ '"._CAL_SHORT_SATURDAY."'], dayNamesMin: ['"._CAL_MIN_SUNDAY."', '"._CAL_MIN_MONDAY."', '"._CAL_MIN_TUESDAY."', '"._CAL_MIN_WEDNESDAY."', '"._CAL_MIN_THURSDAY."', '"._CAL_MIN_FRIDAY."', - '"._CAL_MIN_SATURDAY."'], + '"._CAL_MIN_SATURDAY."'], showOn: 'button', buttonImage: '" . XOOPS_URL . "/images/calendar.gif', - buttonImageOnly: true + buttonImageOnly: true, + isRTL: false }); }); "); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |