[xoops-cvslog 51] CVS update: xoops2jp/html/include

Back to archive index

onokazu onoka****@users*****
2005年 5月 31日 (火) 15:14:43 JST


Index: xoops2jp/html/include/calendarjs.php
diff -u xoops2jp/html/include/calendarjs.php:1.1 xoops2jp/html/include/calendarjs.php:1.1.6.1
--- xoops2jp/html/include/calendarjs.php:1.1	Thu Sep  9 14:15:01 2004
+++ xoops2jp/html/include/calendarjs.php	Tue May 31 15:14:43 2005
@@ -1,6 +1,6 @@
-<?php 
+<?php
 if (!defined('XOOPS_ROOT_PATH')) {
-	exit();
+    exit();
 }
 include_once XOOPS_ROOT_PATH.'/language/'.$GLOBALS['xoopsConfig']['language'].'/calendar.php';
 ?>
@@ -32,7 +32,7 @@
   if (calendar != null) {
     calendar.hide();
   } else {
-    var cal = new Calendar(true, <?php if (isset($jstime)) { echo 'new Date('.$jstime.')'; } else { echo 'null';}?>, selected, closeHandler);
+    var cal = new Calendar(true, <?php if (!empty($jstime)) { echo 'new Date("'.$jstime.'")'; } else { echo 'null';}?>, selected, closeHandler);
     calendar = cal;
     cal.setRange(2000, 2015);
     calendar.create();


xoops-cvslog メーリングリストの案内
Back to archive index