diff -Naur WebCalendar-1.2.0.orig/includes/init.php WebCalendar-1.2.0.new/includes/init.php --- WebCalendar-1.2.0.orig/includes/init.php 2008-07-02 02:49:02.000000000 +0200 +++ WebCalendar-1.2.0.new/includes/init.php 2009-06-10 19:04:43.000000000 +0200 @@ -126,7 +126,9 @@ ? $GLOBALS['sys_MENU_THEME'] : $MENU_THEME ); $ret .= ' - <script type="text/javascript" src="includes/menu/JSCookMenu.js"></script> + <script type="text/javascript" src="/JSCookMenu/JSCookMenu.js"></script> + <link rel="stylesheet" type="text/css" href="includes/menu/themes/' + . $menu_theme . '/theme.css" /> <script type="text/javascript" src="includes/menu/themes/' . $menu_theme . '/theme.js"></script>'; } @@ -149,12 +151,8 @@ if ( $HeadX ) $ret .= ' ' . $HeadX; - // Include the CSS needed for the top menu and themes. if ( $MENU_ENABLED == 'Y' ) { include_once 'includes/menu/index.php'; - $ret .= ' - <link rel="stylesheet" type="text/css" href="includes/menu/themes/' - . $menu_theme . '/theme.css" />'; } // Add RSS feed for unapproved events if approvals are required if ( $GLOBALS['REQUIRE_APPROVALS'] == 'Y' && $login != '__public__' && $is_admin ) { diff -Naur WebCalendar-1.2.0.orig/includes/menu/index.php WebCalendar-1.2.0.new/includes/menu/index.php --- WebCalendar-1.2.0.orig/includes/menu/index.php 2008-07-02 02:49:03.000000000 +0200 +++ WebCalendar-1.2.0.new/includes/menu/index.php 2009-06-10 19:20:57.000000000 +0200 @@ -3,6 +3,7 @@ * * This menu was created using some fantastic free tools out on the internet: + * http://jscook.yuanheng.org/JSCookMenu/MenuBuilder.html * See README.LICENSE in icons directory. */ defined ( '_ISVALID' ) or die ( 'You cannot access this file directly!' );