mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Document (Window) Title: If empty, sets a default title, otherwise adds " - FusionPBX".
This commit is contained in:
@@ -71,7 +71,8 @@ require_once "resources/require.php";
|
||||
|
||||
//prepare the template to display the output
|
||||
$custom_head = '';
|
||||
$output = str_replace ("<!--{title}-->", $document["title"], $template); //<!--{title}--> defined in each individual page
|
||||
$document_title = (($document["title"] != '') ? $document["title"]." - " : null)."FusionPBX";
|
||||
$output = str_replace ("<!--{title}-->", $document_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 /resources/menu.php
|
||||
|
||||
Reference in New Issue
Block a user