From: pdontthink Date: Tue, 19 Sep 2006 14:06:32 +0000 (+0000) Subject: Variable name is misleading, if technically correct. I'd personally eventually like... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=dd268e20666b3470933b645964c982ecf0de43a3;p=squirrelmail.git Variable name is misleading, if technically correct. I'd personally eventually like to see a wrapper (class) around template ids, names, dirs, and other attributes. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11720 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/page_header.php b/functions/page_header.php index bf5bc2eb..510b4f56 100644 --- a/functions/page_header.php +++ b/functions/page_header.php @@ -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 '\n";