Skip to content
Snippets Groups Projects
Commit d2871d27 authored by Jared Hancock's avatar Jared Hancock
Browse files

pjax: Restore proper page titles

parent dfbc7c1b
No related branches found
No related tags found
No related merge requests found
...@@ -74,7 +74,8 @@ ...@@ -74,7 +74,8 @@
foreach ($ost->getExtraHeaders() as $h) { foreach ($ost->getExtraHeaders() as $h) {
if (strpos($h, '<script ') !== false) if (strpos($h, '<script ') !== false)
echo $h; echo $h;
} } ?>
<title><?php echo ($ost && ($title=$ost->getPageTitle()))?$title:'osTicket :: Staff Control Panel'; ?></title><?php
} # endif X_PJAX ?> } # endif X_PJAX ?>
<ul id="nav"> <ul id="nav">
<?php include STAFFINC_DIR . "templates/navigation.tmpl.php"; ?> <?php include STAFFINC_DIR . "templates/navigation.tmpl.php"; ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment