phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] property/class.bocommon.php, 1.1.1.7


From: nomail
Subject: [Phpgroupware-cvs] property/class.bocommon.php, 1.1.1.7
Date: Fri, 21 May 2004 20:59:51 -0000

Update of /property
Modified Files:
        Branch: 
          class.bocommon.php

date: 2004/04/26 17:02:30;  author: sigurdne;  state: Exp;  lines: +3 -2

Log Message:
js calendar
=====================================================================
Index: property/class.bocommon.php
diff -u property/class.bocommon.php:1.1.1.6 property/class.bocommon.php:1.1.1.7
--- property/class.bocommon.php:1.1.1.6 Mon Apr 26 12:21:09 2004
+++ property/class.bocommon.php Mon Apr 26 17:02:30 2004
@@ -96,7 +96,7 @@
 
                function jscalendar()
                {
-                       $phpgw_js_url = 
$GLOBALS['HTTP_SERVER_VARS']['PHP_SELF'].'/property/js';
+                       $phpgw_js_url = 
dirname($GLOBALS['HTTP_SERVER_VARS']['PHP_SELF']).'/property/js';
                        $img = $phpgw_js_url.'/jscalendar/img.png';
                        $dateformat = 
$GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat'];
                        $jsDateFormat = '%B %e, %Y';//str_replace(array('d', 
'm', 'M', 'Y'), array('%d', '%m', '%b', '%Y'), $dateformat);
@@ -113,6 +113,7 @@
 
                        $cal_info=array(
                                'stylesheet'                                    
=> $phpgw_js_url.'/jscalendar/calendar-win2k-cold-1.css',
+                               'stylesheet_title'                              
=> 'win2k-cold-1',
                                'calendar_source'                               
=> $phpgw_js_url.'/jscalendar/calendar.js',
                                'calendar_setup_source'                 => 
$phpgw_js_url.'/jscalendar/calendar-setup.js',
                                'calendar_lang'                                 
=> $phpgw_js_url.'/jscalendar/lang/calendar-en.js',




reply via email to

[Prev in Thread] Current Thread [Next in Thread]