Skip to content

Commit

Permalink
Update Layout_Settings.php
Browse files Browse the repository at this point in the history
removed appending site name to page title. allows for creating a more dynamic page layout.
  • Loading branch information
trf000 authored Aug 17, 2016
1 parent bd2b26b commit d54a8c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/layout/class/Layout_Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function getBoxOrder($module, $contentVar)
public function getPageTitle($only_root=false)
{
if (isset($GLOBALS['Layout_Page_Title_Add']) && !$only_root) {
return $GLOBALS['Layout_Page_Title_Add'] . PAGE_TITLE_DIVIDER . $this->page_title;
return $GLOBALS['Layout_Page_Title_Add'];
} else {
return $this->page_title;
}
Expand Down

0 comments on commit d54a8c2

Please sign in to comment.