aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-12 13:18:28 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-12 13:18:28 +0000
commit3ceb54a59cc3cdeafec7c74d14a371acf09c216a (patch)
tree36eaef7091fad5066ee650151038d0531941354f /views
parentc6801b03edc1f7808537ab44adc5b923aa432a6d (diff)
downloadelgg-3ceb54a59cc3cdeafec7c74d14a371acf09c216a.tar.gz
elgg-3ceb54a59cc3cdeafec7c74d14a371acf09c216a.tar.bz2
removed unnecessary title code in page shells
git-svn-id: http://code.elgg.org/elgg/trunk@7606 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r--views/default/page/shells/admin.php10
-rw-r--r--views/default/page/shells/default.php10
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">';