1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-14 17:39:46 +01: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

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/download.php,v $
| $Revision: 1.5 $
| $Date: 2007-09-22 09:43:30 $
| $Author: e107steved $
| $Revision: 1.6 $
| $Date: 2007-10-07 20:30:54 $
| $Author: mcfly_e107 $
+----------------------------------------------------------------------------+
*/
require_once("../class2.php");
@ -898,7 +898,6 @@ class download {
if(!$download_datestamp){
$download_datestamp = time();
}
$cal_options['firstDay'] = 0;
$cal_options['showsTime'] = false;
$cal_options['showOthers'] = false;
$cal_options['weekNumbers'] = false;

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/newspost.php,v $
| $Revision: 1.8 $
| $Date: 2007-08-06 21:33:53 $
| $Author: e107steved $
| $Revision: 1.9 $
| $Date: 2007-10-07 20:30:54 $
| $Author: mcfly_e107 $
+---------------------------------------------------------------+
*/
@ -585,7 +585,6 @@ class newspost {
$_startdate = ($_POST['news_start'] > 0) ? date("d/m/Y", $_POST['news_start']) : "";
$cal_options['firstDay'] = 0;
$cal_options['showsTime'] = false;
$cal_options['showOthers'] = false;
$cal_options['weekNumbers'] = false;
@ -602,7 +601,6 @@ class newspost {
unset($cal_options);
unset($cal_attrib);
$cal_options['firstDay'] = 0;
$cal_options['showsTime'] = false;
$cal_options['showOthers'] = false;
$cal_options['weekNumbers'] = false;
@ -629,7 +627,6 @@ class newspost {
$_update_datestamp = ($_POST['news_datestamp'] > 0 && !strpos($_POST['news_datestamp'],"/")) ? date("d/m/Y H:i:s", $_POST['news_datestamp']) : trim($_POST['news_datestamp']);
unset($cal_options);
unset($cal_attrib);
$cal_options['firstDay'] = 0;
$cal_options['showsTime'] = true;
$cal_options['showOthers'] = true;
$cal_options['weekNumbers'] = false;

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;