Skip to content

Commit

Permalink
[gh-568] Don't display tile placeholders when not set by drupal.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsteiner committed Jan 8, 2013
1 parent e4e9b6b commit 2941541
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions page.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
$t->navlinks = PHP_EOL . render($page['navlinks']);

// Site Title and Page Title
$t->titlegraphic = '';
if (isset($site_name) && !empty($site_name)) {
if (theme_get_setting('site_name_abbreviation')) {
$t->titlegraphic = '<abbr title="' . $site_name . '">'
Expand All @@ -92,6 +93,7 @@
$t->titlegraphic .= '<span>' . $site_slogan . '</span>';
}
}
$t->pagetitle = '';
if (isset($title) && !empty($title)) {
$t->pagetitle = '<h1>' . render($title_prefix) . $title . render($title_suffix) . '</h1>';
}
Expand Down

0 comments on commit 2941541

Please sign in to comment.