From f0e7d14c218696142b41e0183dc734ddff162018 Mon Sep 17 00:00:00 2001 From: cash Date: Mon, 29 Nov 2010 12:36:38 +0000 Subject: Refs #2428 added elgg_get_config(), elgg_set_config(), and elgg_save_config() git-svn-id: http://code.elgg.org/elgg/trunk@7470 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/page_shells/admin.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 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 cc65b6fda..9fdbf2e28 100644 --- a/views/default/page_shells/admin.php +++ b/views/default/page_shells/admin.php @@ -5,22 +5,22 @@ * @package Elgg * @subpackage Core * - * @uses $vars['config'] The site configuration settings, imported * @uses $vars['title'] The page title * @uses $vars['body'] The main content of the page - * @uses $vars['messages'] A 2d array of various message registers, passed from system_messages() + * @uses $vars['sysmessages'] A 2d array of various message registers, passed from system_messages() */ // 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 = $vars['config']->sitename; -} else if (empty($vars['config']->sitename)) { + $title = $site_title; +} else if (empty($site_title)) { $title = $vars['title']; } else { - $title = $vars['config']->sitename . ": " . $vars['title']; + $title = $site_title . ": " . $vars['title']; } echo elgg_view('page_elements/html_begin', $vars); -- cgit v1.2.3