From 3ceb54a59cc3cdeafec7c74d14a371acf09c216a Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 12 Dec 2010 13:18:28 +0000 Subject: removed unnecessary title code in page shells git-svn-id: http://code.elgg.org/elgg/trunk@7606 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/page/shells/admin.php | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'views/default/page/shells/admin.php') 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); -- cgit v1.2.3