aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/elements
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-03 02:55:41 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-03 02:55:41 +0000
commit4503c58bc954671503650223bbcabe7a2951d415 (patch)
treedbf87ecf25dda9e5e8279a4296d8dea2d8222f12 /views/default/page/elements
parent72b8810ea3403491362a47cc5075402d785f1038 (diff)
downloadelgg-4503c58bc954671503650223bbcabe7a2951d415.tar.gz
elgg-4503c58bc954671503650223bbcabe7a2951d415.tar.bz2
Refs #2428 removed some uses of CONFIG in the views
git-svn-id: http://code.elgg.org/elgg/trunk@7996 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page/elements')
-rw-r--r--views/default/page/elements/html_begin.php7
-rw-r--r--views/default/page/elements/html_end.php3
2 files changed, 2 insertions, 8 deletions
diff --git a/views/default/page/elements/html_begin.php b/views/default/page/elements/html_begin.php
index c4918205f..6a461d767 100644
--- a/views/default/page/elements/html_begin.php
+++ b/views/default/page/elements/html_begin.php
@@ -3,18 +3,15 @@
* Start html output.
* The standard HTML header that displays across the site
*
- * @uses $vars['config'] The site configuration settings, imported
* @uses $vars['title'] The page title
* @uses $vars['body'] The main content of the page
*/
// Set title
if (empty($vars['title'])) {
- $title = $vars['config']->sitename;
-} else if (empty($vars['config']->sitename)) {
- $title = $vars['title'];
+ $title = elgg_get_config('sitename');
} else {
- $title = $vars['config']->sitename . ": " . $vars['title'];
+ $title = elgg_get_config('sitename') . ": " . $vars['title'];
}
global $autofeed;
diff --git a/views/default/page/elements/html_end.php b/views/default/page/elements/html_end.php
index 0862934cf..26b0ee451 100644
--- a/views/default/page/elements/html_end.php
+++ b/views/default/page/elements/html_end.php
@@ -2,9 +2,6 @@
/**
* Start html output.
* The standard HTML header that displays across the site
- * @uses $vars['config'] The site configuration settings, imported
- * @uses $vars['title'] The page title
- * @uses $vars['body'] The main content of the page
*/
?>
</body>