Modified to allow multilingual html <title> support, if set appropriately in app_languages.php.

This commit is contained in:
Nate Jones
2013-05-04 00:39:58 +00:00
parent b4d8c82055
commit 1c36af7e7e
2 changed files with 4 additions and 4 deletions

View File

@@ -71,7 +71,7 @@ require_once "includes/require.php";
//prepare the template to display the output
$custom_head = '';
$output = str_replace ("<!--{title}-->", $custom_title, $template); //<!--{title}--> defined in each individual page
$output = str_replace ("<!--{title}-->", $page["title"], $template); //<!--{title}--> defined in each individual page
$output = str_replace ("<!--{head}-->", $custom_head, $output); //<!--{head}--> defined in each individual page
if (strlen($v_menu) > 0) {
$output = str_replace ("<!--{menu}-->", $v_menu, $output); //defined in /includes/menu.php