1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Bugtracker #4064, no need to set firstDay option, should be handled by the language file (thanks marj)

This commit is contained in:
mcfly
2007-10-07 20:30:54 +00:00
parent 34fb119508
commit 3dc88047f9
3 changed files with 7 additions and 13 deletions

View File

@@ -16,8 +16,7 @@ echo "
";
echo $cal->make_input_field(
// calendar options go here; see the documentation and/or calendar-setup.js
array('firstDay' => 1, // show Monday first
'showsTime' => true,
array('showsTime' => true,
'showOthers' => true,
'ifFormat' => '%Y/%m/%d %I:%M %P',
'weekNumbers' => false,
@@ -31,7 +30,6 @@ echo $cal->make_input_field(
echo "</td></tr><tr><td>";
unset($cal_options);
unset($cal_attrib);
$cal_options['firstDay'] = 0;
$cal_options['showsTime'] = false;
$cal_options['showOthers'] = false;
$cal_options['weekNumbers'] = true;