From bcb4c6b0cee91a5c50cb1b49092f265712f1e34e Mon Sep 17 00:00:00 2001 From: stevetruckstuff Date: Thu, 5 Oct 2006 15:23:36 +0000 Subject: [PATCH] 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 --- templates/default/protocol_header.tpl | 41 +++++++++++++++++++++------ 1 file changed, 32 insertions(+), 9 deletions(-) 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; ?> + + -- 2.25.1