From: stevetruckstuff Date: Thu, 5 Oct 2006 15:23:36 +0000 (+0000) Subject: Fix page title not being shown correctly. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=bcb4c6b0cee91a5c50cb1b49092f265712f1e34e;p=squirrelmail.git Fix page title not being shown correctly. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11834 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/templates/default/protocol_header.tpl b/templates/default/protocol_header.tpl index bfe8c93b..ae807e8c 100644 --- a/templates/default/protocol_header.tpl +++ b/templates/default/protocol_header.tpl @@ -9,7 +9,7 @@ * $frames - boolean value indicating if the page being * rendered is a frameset or not * $lang - string indicating current SM interface language - * $title - current page title string + * $page_title - current page title string * $header_tags - string containing text of any tags to be rendered * in the page header (meta tags, style links, * javascript links, etc.) @@ -25,15 +25,38 @@ extract($t); -if ($frames) { ?> - - - lang=""> +if ($frames) { + ?> + + + + + + + + -<?php if (!empty($title)) { ?><?php echo $title ?><?php } ?> - + +<?php echo $page_title; ?> + +