|
@@ -39,7 +39,7 @@ function displayHtmlHeader( $title = 'SquirrelMail', $xtra = '', $do_hook = TRUE
|
|
if ( !sqgetGlobalVar('base_uri', $base_uri, SQ_SESSION) ) {
|
|
if ( !sqgetGlobalVar('base_uri', $base_uri, SQ_SESSION) ) {
|
|
global $base_uri;
|
|
global $base_uri;
|
|
}
|
|
}
|
|
- global $theme_css, $custom_css, $pageheader_sent, $theme, $theme_default,
|
|
|
|
|
|
+ global $theme_css, $custom_css, $pageheader_sent, $theme, $theme_default, $text_direction,
|
|
$default_fontset, $chosen_fontset, $default_fontsize, $chosen_fontsize, $chosen_theme;
|
|
$default_fontset, $chosen_fontset, $default_fontsize, $chosen_fontsize, $chosen_theme;
|
|
|
|
|
|
/* add no cache headers here */
|
|
/* add no cache headers here */
|
|
@@ -68,7 +68,8 @@ function displayHtmlHeader( $title = 'SquirrelMail', $xtra = '', $do_hook = TRUE
|
|
.'?themeid='.$used_theme
|
|
.'?themeid='.$used_theme
|
|
.'&templateid='.basename($sTplDir)
|
|
.'&templateid='.basename($sTplDir)
|
|
.(!empty($used_fontset) ? '&fontset='.$used_fontset : '')
|
|
.(!empty($used_fontset) ? '&fontset='.$used_fontset : '')
|
|
- .(!empty($used_fontsize) ? '&fontsize='.$used_fontsize : '')."\">\n";
|
|
|
|
|
|
+ .(!empty($used_fontsize) ? '&fontsize='.$used_fontsize : '')
|
|
|
|
+ .(!empty($text_direction) ? '&dir='.$text_direction : '')."\">\n";
|
|
|
|
|
|
|
|
|
|
// load custom style sheet (deprecated)
|
|
// load custom style sheet (deprecated)
|