Title should now always stay as site name, to avoid tag hell for images with loads of tags.

This commit is contained in:
Daku 2011-12-25 09:47:34 +00:00
parent 394f4518a3
commit c645fb4b0e

View file

@ -10,7 +10,9 @@ class Layout {
global $config;
$theme_name = $config->get_string('theme', 'default');
$site_name = $config->get_string('title');
$data_href = get_base_href();
$main_page = $config->get_string('main_page');
$contact_link = $config->get_string('contact_link');
$header_html = "";
@ -67,7 +69,7 @@ $header_html
<table id="header" class="bgtop" width="100%" height="113px">
<tr>
<td><center>
<h1><a href="/">{$page->heading}</a></h1>
<h1><a href="$data_href/$main_page">{$site_name}</a></h1>
<p>[Navigation links go here]
</center></td>
$head_block_html