Update of /cvsroot/phpicalendar/phpicalendar/functions/init
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv8467/functions/init
Modified Files:
configs.php
Log Message:
timeformat serialization needed urlencode/decode?
Index: configs.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/functions/init/configs.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** configs.php 4 Jan 2009 21:58:18 -0000 1.12
--- configs.php 7 Jan 2009 20:20:03 -0000 1.13
***************
*** 41,45 ****
if (isset($phpicalendar['cookie_startday'])) $phpiCal_config->setProperty('week_start_day', $phpicalendar['cookie_startday']);
if (isset($phpicalendar['cookie_time'])) $phpiCal_config->setProperty('day_start', $phpicalendar['cookie_time']);
! if (isset($phpicalendar['cookie_endtime'])) $phpiCal_config->setProperty('day_end', $phpicalendar['cookie_endtime']);
if (isset($phpicalendar['cookie_timezone'])) $phpiCal_config->setProperty('timezone', $phpicalendar['cookie_timezone']);
}
--- 41,45 ----
if (isset($phpicalendar['cookie_startday'])) $phpiCal_config->setProperty('week_start_day', $phpicalendar['cookie_startday']);
if (isset($phpicalendar['cookie_time'])) $phpiCal_config->setProperty('day_start', $phpicalendar['cookie_time']);
! if (isset($phpicalendar['cookie_endtime'])) $phpiCal_config->setProperty('day_end', $phpicalendar['cookie_endtime']);
if (isset($phpicalendar['cookie_timezone'])) $phpiCal_config->setProperty('timezone', $phpicalendar['cookie_timezone']);
}
***************
*** 56,60 ****
if (isset($phpicalendar['cookie_timeformat']) && $phpicalendar['cookie_timeformat'] !=''){
! $timeFormat = $phpicalendar['cookie_timeformat'];
switch($timeFormat){
case 'h:i':
--- 56,60 ----
if (isset($phpicalendar['cookie_timeformat']) && $phpicalendar['cookie_timeformat'] !=''){
! $timeFormat = urldecode($phpicalendar['cookie_timeformat']);
switch($timeFormat){
case 'h:i':
***************
*** 90,99 ****
if (!isset($current_view)) $current_view = $phpiCal_config->default_view;
!
$tz_array=array();
! #echo "<pre>xx";
#print_r($configs);
! #print_r($phpicalendar);
! #print_r($phpiCal_config);
! #echo "</pre>";
#die;
--- 90,99 ----
if (!isset($current_view)) $current_view = $phpiCal_config->default_view;
! /*
$tz_array=array();
! echo "<pre>xx";
#print_r($configs);
! print_r($phpiCal_config);
! echo "</pre>";
#die;
+ */
\ No newline at end of file
|