From: <txm...@us...> - 2012-06-29 16:48:40
|
Revision: 9738 http://xoops.svn.sourceforge.net/xoops/?rev=9738&view=rev Author: txmodxoops Date: 2012-06-29 16:48:30 +0000 (Fri, 29 Jun 2012) Log Message: ----------- Added Class formdatepicker.php Added Paths: ----------- XoopsCore/tags/2.6 timgno/htdocs/class/xoopsform/formdatepicker.php Added: XoopsCore/tags/2.6 timgno/htdocs/class/xoopsform/formdatepicker.php =================================================================== --- XoopsCore/tags/2.6 timgno/htdocs/class/xoopsform/formdatepicker.php (rev 0) +++ XoopsCore/tags/2.6 timgno/htdocs/class/xoopsform/formdatepicker.php 2012-06-29 16:48:30 UTC (rev 9738) @@ -0,0 +1,68 @@ +<?php +/** + * XOOPS form datepicker + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package kernel + * @subpackage form + * @since 2.5.0 + * @author TXMod Xoops (AKA timgno) http://www.txmodxoops.org/ + * @version $Id: formdatepicker.php 9679 2012-06-19 01:18:38Z timgno $ + */ + +defined('XOOPS_ROOT_PATH') or die("XOOPS root path not defined"); + +/** + * A text field with jquery ui calendar popup + */ + +class XoopsFormDatePicker extends XoopsFormText +{ + + function XoopsFormDatePicker($caption, $name, $size = 15, $value = 0) + { + $value = !is_numeric($value) ? time() : intval($value); + $value = ($value == 0) ? time() : $value; + $this->XoopsFormText($caption, $name, $size, 25, $value); + } + + function render() + { + static $included = false; + + $ele_name = $this->getName(); + $ele_value = $this->getValue(false); + if (is_string($ele_value)) { + $display_value = $ele_value; + $ele_value = time(); + } else { + $display_value = ''; + } + + //$jqtime = formatTimestamp($ele_value, _CAL_FORMAT); + if (is_object($GLOBALS['xoTheme'])) { + $GLOBALS['xoTheme']->addStylesheet( XOOPS_URL . '/modules/system/css/ui/' . xoops_getModuleOption('jquery_theme', 'system') . '/ui.all.css'); + $GLOBALS['xoTheme']->addScript('browse.php?Frameworks/jquery/jquery.js'); + $GLOBALS['xoTheme']->addScript('browse.php?Frameworks/jquery/plugins/jquery.ui.js'); + if (!$included) { + $included = true; + $GLOBALS['xoTheme']->addScript('','', ' + $(function() { + $( ".datepicker" ).datepicker(); + }); + '); + } + } + return "<input type='text' name='" . $ele_name . "' id='" . $ele_name . "' class='datepicker' size='" . $this->getSize() . "' maxlength='" . $this->getMaxlength() . "' value='" . $display_value . "'" . $this->getExtra() . " /> + <input type='reset' name='" . $ele_name . "' value='" . _RESET . "'>"; + } +} +?> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-06-30 14:09:18
|
Revision: 9743 http://xoops.svn.sourceforge.net/xoops/?rev=9743&view=rev Author: txmodxoops Date: 2012-06-30 14:09:11 +0000 (Sat, 30 Jun 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 12:02:08 UTC (rev 9742) +++ XoopsCore/tags/2.6 timgno/htdocs/class/xoopsform/formdatepicker.php 2012-06-30 14:09:11 UTC (rev 9743) @@ -26,12 +26,16 @@ class XoopsFormDatePicker extends XoopsFormText { - - function XoopsFormDatePicker($caption, $name, $size = 15, $value = 0) + var $showIcon = false; + var $type = ''; + + function XoopsFormDatePicker($caption, $name, $size = 15, $value = 0, $showIcon = true, $type = 'normal') { $value = !is_numeric($value) ? time() : intval($value); $value = ($value == 0) ? time() : $value; $this->XoopsFormText($caption, $name, $size, 25, $value); + $this->showIcon = $showIcon; + $this->type = $type; } function render() @@ -54,13 +58,52 @@ $GLOBALS['xoTheme']->addScript('browse.php?Frameworks/jquery/plugins/jquery.ui.js'); if (!$included) { $included = true; - $GLOBALS['xoTheme']->addScript('','', ' - $(function() { - $( ".datepicker" ).datepicker({ - showOn: "button", + $GLOBALS['xoTheme']->addScript( '', '', ' + $(function() { + $.datepicker.setDefaults( $.datepicker.regional[ "en" ] ); + $( ".datepicker" ).datepicker( + $.datepicker.regional[ "'.$GLOBALS["xoopsConfig"]["language"].'" ] = { + clearText: 'Clear', + clearStatus: '', + closeText: 'Close', + closeStatus: 'Close without modify', + prevText: \''._CAL_PREVYR.'\', + prevStatus: \''._CAL_PREVMNTH.'\', + nextText: \''._CAL_NEXTYR.'\', + nextStatus: \''._CAL_NXTMNTH.'\', + currentText: \''._CAL_TODAY.'\', + currentStatus: 'Voir le mois courant', + monthNames: [\''._CAL_JANUARY.'\', \''._CAL_FEBRUARY.'\', \''._CAL_MARCH.'\', + \''._CAL_APRIL.'\', \''._CAL_MAY.'\', \''._CAL_JUNE.'\', + \''._CAL_JULY.'\', \''._CAL_AUGUST.'\', \''._CAL_SEPTEMBER.'\', + \''._CAL_OCTOBER.'\', \''._CAL_NOVEMBER.'\', \''._CAL_DECEMBER.'\'], + monthNamesShort: [\''._CAL_SHORT_JANUARY.'\', \''._CAL_SHORT_FEBRUARY.'\', \''._CAL_SHORT_MARCH.'\', + \''._CAL_SHORT_APRIL.'\', \''._CAL_SHORT_MAY.'\', \''._CAL_SHORT_JUNE.'\', + \''._CAL_SHORT_JULY.'\', \''._CAL_SHORT_AUGUST.'\', \''._CAL_SHORT_SEPTEMBER.'\', + \''._CAL_SHORT_OCTOBER.'\', \''._CAL_SHORT_NOVEMBER.'\', \''._CAL_SHORT_DECEMBER.'\'], + monthStatus: 'View another mounth', + yearStatus: 'View another year', + weekHeader: 'Sm', + weekStatus: '', + dayNames: [\''._CAL_SUNDAY.'\', \''._CAL_MONDAY.'\', \''._CAL_TUESDAY.'\', + \''._CAL_WEDNESDAY.'\', \''._CAL_THURSDAY.'\', \''._CAL_FRIDAY.'\', + \''._CAL_SATURDAY.'\'], + dayNamesShort: [\''._CAL_SHORT_SUNDAY.'\', \''._CAL_SHORT_MONDAY.'\', \''._CAL_SHORT_TUESDAY.'\', + \''._CAL_SHORT_WEDNESDAY.'\', \''._CAL_SHORT_THURSDAY.'\', \''._CAL_SHORT_FRIDAY.'\', + \''._CAL_SHORT_SATURDAY.'\'], + dayNamesMin: [\''._CAL_MIN_JANUARY.'\', \''._CAL_MIN_FEBRUARY.'\', \''._CAL_MIN_MARCH.'\', + \''._CAL_MIN_APRIL.'\', \''._CAL_MIN_MAY.'\', \''._CAL_MIN_JUNE.'\', + \''._CAL_MIN_SATURDAY.'\'], + dayStatus: \'.'_CAL_DISPM1ST.'\', + dateStatus: 'Choose format DD, MM d', + dateFormat: \''._CAL_JQUERY_FORMAT.'\', + firstDay: 0, + initStatus: \.'._CAL_SELDATE.'\', + isRTL: false }'; if ($this->showIcon){', + { showOn: "button", buttonImage: ' . XOOPS_URL . '"images/calendar.gif", buttonImageOnly: true - }); + }'}'); }); '); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-06-30 14:57:06
|
Revision: 9746 http://xoops.svn.sourceforge.net/xoops/?rev=9746&view=rev Author: txmodxoops Date: 2012-06-30 14:57:00 +0000 (Sat, 30 Jun 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 14:11:08 UTC (rev 9745) +++ XoopsCore/tags/2.6 timgno/htdocs/class/xoopsform/formdatepicker.php 2012-06-30 14:57:00 UTC (rev 9746) @@ -65,7 +65,7 @@ $.datepicker.regional[ "'.$GLOBALS["xoopsConfig"]["language"].'" ] = { clearText: 'Clear', clearStatus: '', - closeText: 'Close', + closeText: \''._CLOSE.'\', closeStatus: 'Close without modify', prevText: \''._CAL_PREVYR.'\', prevStatus: \''._CAL_PREVMNTH.'\', This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-06-30 15:41:58
|
Revision: 9747 http://xoops.svn.sourceforge.net/xoops/?rev=9747&view=rev Author: txmodxoops Date: 2012-06-30 15:41:52 +0000 (Sat, 30 Jun 2012) Log Message: ----------- Changed language config in _LANGCODE 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 14:57:00 UTC (rev 9746) +++ XoopsCore/tags/2.6 timgno/htdocs/class/xoopsform/formdatepicker.php 2012-06-30 15:41:52 UTC (rev 9747) @@ -62,7 +62,7 @@ $(function() { $.datepicker.setDefaults( $.datepicker.regional[ "en" ] ); $( ".datepicker" ).datepicker( - $.datepicker.regional[ "'.$GLOBALS["xoopsConfig"]["language"].'" ] = { + $.datepicker.regional[ "'._LANGCODE.'" ] = { clearText: 'Clear', clearStatus: '', closeText: \''._CLOSE.'\', This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-06-30 20:45:42
|
Revision: 9753 http://xoops.svn.sourceforge.net/xoops/?rev=9753&view=rev Author: txmodxoops Date: 2012-06-30 20:45:36 +0000 (Sat, 30 Jun 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 20:09:17 UTC (rev 9752) +++ XoopsCore/tags/2.6 timgno/htdocs/class/xoopsform/formdatepicker.php 2012-06-30 20:45:36 UTC (rev 9753) @@ -15,11 +15,12 @@ * @subpackage form * @since 2.5.0 * @author TXMod Xoops (AKA timgno) http://www.txmodxoops.org/ - * @version $Id: formdatepicker.php 9679 2012-06-19 01:18:38Z timgno $ + * @version $Id: formdatepicker.php 9747 2012-06-19 01:18:38Z timgno $ */ defined('XOOPS_ROOT_PATH') or die("XOOPS root path not defined"); +xoops_loadLanguage('calendar'); /** * A text field with jquery ui calendar popup */ @@ -28,6 +29,7 @@ { var $showIcon = false; var $type = ''; + var $firstDay = 0; function XoopsFormDatePicker($caption, $name, $size = 15, $value = 0, $showIcon = true, $type = 'normal') { @@ -51,62 +53,24 @@ $display_value = ''; } - //$jqtime = formatTimestamp($ele_value, _CAL_FORMAT); + //$jqtime = formatTimestamp($ele_value, _CAL_JQUERY_FORMAT); if (is_object($GLOBALS['xoTheme'])) { $GLOBALS['xoTheme']->addStylesheet( XOOPS_URL . '/modules/system/css/ui/' . xoops_getModuleOption('jquery_theme', 'system') . '/ui.all.css'); $GLOBALS['xoTheme']->addScript('browse.php?Frameworks/jquery/jquery.js'); $GLOBALS['xoTheme']->addScript('browse.php?Frameworks/jquery/plugins/jquery.ui.js'); if (!$included) { $included = true; - $GLOBALS['xoTheme']->addScript( '', '', ' - $(function() { - $.datepicker.setDefaults( $.datepicker.regional[ "en" ] ); - $( ".datepicker" ).datepicker( - $.datepicker.regional[ "'._LANGCODE.'" ] = { - clearText: 'Clear', - clearStatus: '', - closeText: \''._CLOSE.'\', - closeStatus: 'Close without modify', - prevText: \''._CAL_PREVYR.'\', - prevStatus: \''._CAL_PREVMNTH.'\', - nextText: \''._CAL_NEXTYR.'\', - nextStatus: \''._CAL_NXTMNTH.'\', - currentText: \''._CAL_TODAY.'\', - currentStatus: 'Voir le mois courant', - monthNames: [\''._CAL_JANUARY.'\', \''._CAL_FEBRUARY.'\', \''._CAL_MARCH.'\', - \''._CAL_APRIL.'\', \''._CAL_MAY.'\', \''._CAL_JUNE.'\', - \''._CAL_JULY.'\', \''._CAL_AUGUST.'\', \''._CAL_SEPTEMBER.'\', - \''._CAL_OCTOBER.'\', \''._CAL_NOVEMBER.'\', \''._CAL_DECEMBER.'\'], - monthNamesShort: [\''._CAL_SHORT_JANUARY.'\', \''._CAL_SHORT_FEBRUARY.'\', \''._CAL_SHORT_MARCH.'\', - \''._CAL_SHORT_APRIL.'\', \''._CAL_SHORT_MAY.'\', \''._CAL_SHORT_JUNE.'\', - \''._CAL_SHORT_JULY.'\', \''._CAL_SHORT_AUGUST.'\', \''._CAL_SHORT_SEPTEMBER.'\', - \''._CAL_SHORT_OCTOBER.'\', \''._CAL_SHORT_NOVEMBER.'\', \''._CAL_SHORT_DECEMBER.'\'], - monthStatus: 'View another mounth', - yearStatus: 'View another year', - weekHeader: 'Sm', - weekStatus: '', - dayNames: [\''._CAL_SUNDAY.'\', \''._CAL_MONDAY.'\', \''._CAL_TUESDAY.'\', - \''._CAL_WEDNESDAY.'\', \''._CAL_THURSDAY.'\', \''._CAL_FRIDAY.'\', - \''._CAL_SATURDAY.'\'], - dayNamesShort: [\''._CAL_SHORT_SUNDAY.'\', \''._CAL_SHORT_MONDAY.'\', \''._CAL_SHORT_TUESDAY.'\', - \''._CAL_SHORT_WEDNESDAY.'\', \''._CAL_SHORT_THURSDAY.'\', \''._CAL_SHORT_FRIDAY.'\', - \''._CAL_SHORT_SATURDAY.'\'], - dayNamesMin: [\''._CAL_MIN_JANUARY.'\', \''._CAL_MIN_FEBRUARY.'\', \''._CAL_MIN_MARCH.'\', - \''._CAL_MIN_APRIL.'\', \''._CAL_MIN_MAY.'\', \''._CAL_MIN_JUNE.'\', - \''._CAL_MIN_SATURDAY.'\'], - dayStatus: \'.'_CAL_DISPM1ST.'\', - dateStatus: 'Choose format DD, MM d', - dateFormat: \''._CAL_JQUERY_FORMAT.'\', - firstDay: 0, - initStatus: \.'._CAL_SELDATE.'\', - isRTL: false }'; if ($this->showIcon){', - { showOn: "button", - buttonImage: ' . XOOPS_URL . '"images/calendar.gif", + $GLOBALS['xoTheme']->addScript( '', array('type' => 'text/javascript'), " + $(function() { + $.datepicker.setDefaults( $.datepicker.regional[ '"._LANGCODE."' ] ); + $( '.datepicker' ).datepicker({ + dateFormat: '"._CAL_JQUERY_FORMAT."', + showOn: 'button', + buttonImage: '" . XOOPS_URL . "/images/calendar.gif', buttonImageOnly: true - }'}'); + }); }); - '); - } + "); } return "<input type='text' name='" . $ele_name . "' id='" . $ele_name . "' class='datepicker' size='" . $this->getSize() . "' maxlength='" . $this->getMaxlength() . "' value='" . $display_value . "'" . $this->getExtra() . " /> <input type='reset' name='" . $ele_name . "' value='" . _RESET . "'>"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <txm...@us...> - 2012-06-30 22:54:12
|
Revision: 9754 http://xoops.svn.sourceforge.net/xoops/?rev=9754&view=rev Author: txmodxoops Date: 2012-06-30 22:54:06 +0000 (Sat, 30 Jun 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 20:45:36 UTC (rev 9753) +++ XoopsCore/tags/2.6 timgno/htdocs/class/xoopsform/formdatepicker.php 2012-06-30 22:54:06 UTC (rev 9754) @@ -28,16 +28,22 @@ class XoopsFormDatePicker extends XoopsFormText { var $showIcon = false; + var $showWeek = false; var $type = ''; var $firstDay = 0; - function XoopsFormDatePicker($caption, $name, $size = 15, $value = 0, $showIcon = true, $type = 'normal') + function XoopsFormDatePicker($caption, $name, $size = 15, $value = 0, $showIcon = true, $showWeek = true) { $value = !is_numeric($value) ? time() : intval($value); $value = ($value == 0) ? time() : $value; $this->XoopsFormText($caption, $name, $size, 25, $value); $this->showIcon = $showIcon; - $this->type = $type; + $this->showWeek = $showWeek; + if(_LANGCODE == 'en'){ + $this->firstDay = 0; + } else { + $this->firstDay = 1; + } } function render() @@ -62,9 +68,34 @@ $included = true; $GLOBALS['xoTheme']->addScript( '', array('type' => 'text/javascript'), " $(function() { - $.datepicker.setDefaults( $.datepicker.regional[ '"._LANGCODE."' ] ); - $( '.datepicker' ).datepicker({ - dateFormat: '"._CAL_JQUERY_FORMAT."', + $.datepicker.setDefaults( $.datepicker.regional[ '"._LANGCODE."' ] ); + $( '.datepicker' ).datepicker({ + dateFormat: '"._CAL_JQUERY_FORMAT."', + numberOfMonths: 1, + showButtonPanel: true, + showWeek: ".$this->showWeek.", + firstDay: ".$this->firstDay.", + showOtherMonths: true, + selectOtherMonths: true, + closeText: '"._CLOSE."', + currentText: '"._CAL_TODAY."', + monthNames: ['"._CAL_JANUARY."', '"._CAL_FEBRUARY."', '"._CAL_MARCH."', + '"._CAL_APRIL."', '"._CAL_MAY."', '"._CAL_JUNE."', + '"._CAL_JULY."', '"._CAL_AUGUST."', '"._CAL_SEPTEMBER."', + '"._CAL_OCTOBER."', '"._CAL_NOVEMBER."', '"._CAL_DECEMBER."'], + monthNamesShort: ['"._CAL_SHORT_JANUARY."', '"._CAL_SHORT_FEBRUARY."', '"._CAL_SHORT_MARCH."', + '"._CAL_SHORT_APRIL."', '"._CAL_SHORT_MAY."', '"._CAL_SHORT_JUNE."', + '"._CAL_SHORT_JULY."', '"._CAL_SHORT_AUGUST."', '"._CAL_SHORT_SEPTEMBER."', + '"._CAL_SHORT_OCTOBER."', '"._CAL_SHORT_NOVEMBER."', '"._CAL_SHORT_DECEMBER."'], + dayNames: ['"._CAL_SUNDAY."', '"._CAL_MONDAY."', '"._CAL_TUESDAY."', + '"._CAL_WEDNESDAY."', '"._CAL_THURSDAY."', '"._CAL_FRIDAY."', + '"._CAL_SATURDAY."'], + dayNamesShort: ['"._CAL_SHORT_SUNDAY."', '"._CAL_SHORT_MONDAY."', '"._CAL_SHORT_TUESDAY."', + '"._CAL_SHORT_WEDNESDAY."', '"._CAL_SHORT_THURSDAY."', '"._CAL_SHORT_FRIDAY."', + '"._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."'], showOn: 'button', buttonImage: '" . XOOPS_URL . "/images/calendar.gif', buttonImageOnly: true This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
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. |