mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
* duedate calendar now uses full names of months
This commit is contained in:
parent
367512fc0b
commit
931ff6d64a
2 changed files with 3 additions and 3 deletions
|
|
@ -75,7 +75,7 @@ $().ready(function(){
|
|||
$("#duedate").datepicker({dateFormat: '<?php echo $duedateformat; ?>', firstDay: <?php echo $config['firstdayofweek']; ?>,
|
||||
showOn: 'button', buttonImage: 'images/calendar.png', buttonImageOnly: true, changeMonth:true,
|
||||
changeYear:true, constrainInput: false, duration:'', nextText:'>', prevText:'<', dayNamesMin:lang.daysMin,
|
||||
monthNamesShort:lang.monthsShort });
|
||||
monthNamesShort:lang.monthsLong });
|
||||
<?php if(!isset($_GET['pda'])): ?>
|
||||
$("#page_taskedit").draggable({ stop: function(e,ui){ flag.windowTaskEditMoved=true; tmp.editformpos=[$(this).css('left'),$(this).css('top')]; } });
|
||||
$("#page_taskedit").resizable({ minWidth:$("#page_taskedit").width(), minHeight:$("#page_taskedit").height(), start:function(ui,e){editFormResize(1)}, resize:function(ui,e){editFormResize(0,e)}, stop:function(ui,e){editFormResize(2,e)} });
|
||||
|
|
|
|||
|
|
@ -93,8 +93,8 @@ class DefaultLang
|
|||
foreach($this->get('days_min') as $v) { $t[] = '"'.str_replace('"','\\"',$v).'"'; }
|
||||
$a[] = "daysMin: [". implode(',', $t). "]";
|
||||
$t = array();
|
||||
foreach($this->get('months_short') as $v) { $t[] = '"'.str_replace('"','\\"',$v).'"'; }
|
||||
$a[] = "monthsShort: [". implode(',', $t). "]";
|
||||
foreach($this->get('months_long') as $v) { $t[] = '"'.str_replace('"','\\"',$v).'"'; }
|
||||
$a[] = "monthsLong: [". implode(',', $t). "]";
|
||||
return "lang = {\n". implode(",\n", $a). "\n};";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue