Variable name is misleading, if technically correct. I'd personally eventually like...
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 19 Sep 2006 14:06:32 +0000 (14:06 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 19 Sep 2006 14:06:32 +0000 (14:06 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11720 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/page_header.php

index bf5bc2e..510b4f5 100644 (file)
@@ -57,14 +57,14 @@ function displayHtmlHeader( $title = 'SquirrelMail', $xtra = '', $do_hook = TRUE
      * Add closing / to link and meta elements only after switching to xhtml 1.0 Transitional.
      * It is not compatible with html 4.01 Transitional
      */
-    $templateid=basename($sTplDir);
+    $templatedir=basename($sTplDir);
     $oTemplate->assign('base_uri',$base_uri);
-    $oTemplate->assign('templateid',$templateid);
+    $oTemplate->assign('templatedir',$templatedir);
     $oTemplate->assign('themeid',$used_theme);
     $oTemplate->display('stylelink.tpl');
     echo '<link rel="stylesheet" type="text/css" href="'. $base_uri .'src/style.php'
         .'?themeid='.$used_theme
-        .'&amp;templateid='.$templateid
+        .'&amp;templatedir='.$templatedir
         .(!empty($used_fontset) ? '&amp;fontset='.$used_fontset : '')
         .(!empty($used_fontsize) ? '&amp;fontsize='.$used_fontsize : '')
         .(!empty($text_direction) ? '&amp;dir='.$text_direction : '')."\">\n";