From 66fede087c69e98cd056edd85dc1c11c16d20423 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Sun, 24 Sep 2006 19:00:19 +0000 Subject: [PATCH] Reverting ampersand encoding. Glad I'm not going crazy after all. Thanks Tomas. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11739 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/page_header.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/functions/page_header.php b/functions/page_header.php index 50423020..7bf3ec40 100644 --- a/functions/page_header.php +++ b/functions/page_header.php @@ -64,10 +64,10 @@ function displayHtmlHeader( $title = 'SquirrelMail', $xtra = '', $do_hook = TRUE $oTemplate->display('stylelink.tpl'); echo '\n"; + .'&templatedir='.$templatedir + .(!empty($used_fontset) ? '&fontset='.$used_fontset : '') + .(!empty($used_fontsize) ? '&fontsize='.$used_fontsize : '') + .(!empty($text_direction) ? '&dir='.$text_direction : '')."\">\n"; // load custom style sheet (deprecated) if ( ! empty($theme_css) ) { echo "\n"; @@ -190,7 +190,7 @@ function displayPageHeader($color, $mailbox, $sHeaderJs='', $sBodyTagJs = '') { } if( $javascript_on || strpos($sHeaderJs, 'new_js_autodetect_results.value') ) { - $js_includes = $oTemplate->getJavascriptIncludes(); + $js_includes = $oTemplate->get_javascript_includes(TRUE); $sJsBlock = ''; foreach ($js_includes as $js_file) { $sJsBlock .= '' ."\n"; @@ -279,7 +279,7 @@ function compose_Header($color, $mailbox, $sHeaderJs='', $sBodyTagJs = '') { } $sJsBlock .= "\n"; - $js_includes = $oTemplate->getJavascriptIncludes(); + $js_includes = $oTemplate->get_javascript_includes(TRUE); foreach ($js_includes as $js_file) { $sJsBlock .= '' ."\n"; } -- 2.25.1