Project

General

Profile

« Previous | Next » 

Revision 1753

Added by Dietmar about 12 years ago

! remove summary="" in captcha tables frontend
! fixed calendar time, now all Calendar in WB shows right user TIMEZONE
please check module for saving timestamp minus TIMEZONE
  1. recoded sections in admin/pages/, now save all fields
    there was a problem, if blocks and menus are disabled

View differences:

wb-setup.php
38 38
// require_once(WB_PATH.'/include/jscalendar/calendar-system.css');
39 39
?>
40 40
<!--</style>  -->
41
<script type="text/javascript" src="<?php echo WB_URL ?>/include/jscalendar/calendar.js"></script>
41
<script src="<?php echo WB_URL ?>/include/jscalendar/calendar.js" type="text/javascript"></script>
42 42
<?php // some stuff for jscalendar
43 43
	// language
44 44
	$jscal_lang = defined('LANGUAGE')?strtolower(LANGUAGE):'en';
......
47 47
		$jscal_lang = 'en';
48 48
	}
49 49
	// today
50
	$jscal_today = gmdate('Y/m/d H:i');
50
	$jscal_today = gmdate('Y/m/d H:i', time()+TIMEZONE);
51 51
	// first-day-of-week
52 52
	$jscal_firstday = '1'; // monday
53 53
	if(LANGUAGE=='EN')
......
77 77
			$jscal_ifformat = '%Y-%m-%d';
78 78
			break;
79 79
	}
80
	if(isset($jscal_use_time) && $jscal_use_time==TRUE) {
80
	if(isset($jscal_use_time) && $jscal_use_time==true) {
81 81
		$jscal_format .= ' H:i';
82 82
		$jscal_ifformat .= ' %H:%M';
83 83
	}
84 84

  
85 85
	// load scripts for jscalendar
86 86
?>
87
<script type="text/javascript" src="<?php echo WB_URL ?>/include/jscalendar/lang/calendar-<?php echo $jscal_lang ?>.js"></script>
88
<script type="text/javascript" src="<?php echo WB_URL ?>/include/jscalendar/calendar-setup.js"></script>
87
<script src="<?php echo WB_URL ?>/include/jscalendar/lang/calendar-<?php echo $jscal_lang ?>.js" type="text/javascript"></script>
88
<script src="<?php echo WB_URL ?>/include/jscalendar/calendar-setup.js" type="text/javascript"></script>
89 89

  

Also available in: Unified diff