diff options
Diffstat (limited to 'views/default/page')
-rw-r--r-- | views/default/page/shells/admin.php | 10 | ||||
-rw-r--r-- | views/default/page/shells/default.php | 10 |
2 files changed, 0 insertions, 20 deletions
diff --git a/views/default/page/shells/admin.php b/views/default/page/shells/admin.php index c2581b23f..11bc4ab70 100644 --- a/views/default/page/shells/admin.php +++ b/views/default/page/shells/admin.php @@ -13,16 +13,6 @@ // Set the content type
header("Content-type: text/html; charset=UTF-8");
-// Set title
-$site_title = elgg_get_config('sitename');
-if (empty($vars['title'])) {
- $title = $site_title;
-} else if (empty($site_title)) {
- $title = $vars['title'];
-} else {
- $title = $site_title . ": " . $vars['title'];
-}
-
echo elgg_view('page/elements/html_begin', $vars);
echo elgg_view('page/elements/messages', array('object' => $vars['sysmessages']));
echo elgg_view('page/elements/content', $vars);
diff --git a/views/default/page/shells/default.php b/views/default/page/shells/default.php index 0d0c2e074..8b53bc16d 100644 --- a/views/default/page/shells/default.php +++ b/views/default/page/shells/default.php @@ -14,16 +14,6 @@ // Set the content type header("Content-type: text/html; charset=UTF-8"); -// Set title -$site_title = elgg_get_config('sitename'); -if (empty($vars['title'])) { - $title = $site_title; -} else if (empty($site_title)) { - $title = $vars['title']; -} else { - $title = $site_title . ": " . $vars['title']; -} - echo elgg_view('page/elements/html_begin', $vars); echo '<div class="elgg-page elgg-classic">'; |