From: <txm...@us...> - 2015-02-15 15:23:29
|
Revision: 12981 http://sourceforge.net/p/xoops/svn/12981 Author: txmodxoops Date: 2015-02-15 15:23:22 +0000 (Sun, 15 Feb 2015) Log Message: ----------- Updated Added calendar icon for datepcker Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formtextdateselect.php Added Paths: ----------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/images/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/images/calendar.png Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formtextdateselect.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formtextdateselect.php 2015-02-15 10:32:18 UTC (rev 12980) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/class/xoopsform/formtextdateselect.php 2015-02-15 15:23:22 UTC (rev 12981) @@ -59,15 +59,18 @@ if (!$included) { $included = true; $GLOBALS['xoTheme']->addScript('','', ' - $(function() { - $( ".datepicker" ).datepicker({ $.datepicker.regional[ "'. _LANGCODE .'" ] }); - $( ".datepicker" ).datepicker({ + $(function() { + $( ".datepicker" ).datepicker({ + showOn: "button", + buttonImage: "'.XOOPS_URL.'/images/calendar.png", + buttonImageOnly: true, + buttonText: "Select date", showWeek: true, firstDay: 1, showButtonPanel: true, showOtherMonths: true, selectOtherMonths: true - }); + }).regional[ "'. _LANGCODE .'" ]; }); '); } Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/images/calendar.png =================================================================== (Binary files differ) Index: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/images/calendar.png =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/images/calendar.png 2015-02-15 10:32:18 UTC (rev 12980) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/images/calendar.png 2015-02-15 15:23:22 UTC (rev 12981) Property changes on: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/images/calendar.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property |