diff options
Diffstat (limited to 'views/default')
-rw-r--r-- | views/default/page/elements/content_header_member.php | 48 | ||||
-rw-r--r-- | views/default/page/shells/admin.php | 44 |
2 files changed, 46 insertions, 46 deletions
diff --git a/views/default/page/elements/content_header_member.php b/views/default/page/elements/content_header_member.php index 4cfee9258..3d8fff0c0 100644 --- a/views/default/page/elements/content_header_member.php +++ b/views/default/page/elements/content_header_member.php @@ -1,24 +1,24 @@ -<?php
-/**
- * When looking at a users blog, bookmarks, video etc only show
- * the users name and the tool you are viewing
- *
- * @package Elgg
- * @subpackage Core
- *
- */
-
-$page_owner = elgg_get_page_owner();
-$name = elgg_get_page_owner()->name;
-
-// get the object type
-$type = $vars['type'];
-
-$title = elgg_echo($type);
-$title = $name . "'s " . $type;
-?>
-
-<div id="content-header" class="clearfix">
- <?php echo '<div class="content-header-title">' . elgg_view_title($title) . '</div>'; ?>
-</div>
-
+<?php +/** + * When looking at a users blog, bookmarks, video etc only show + * the users name and the tool you are viewing + * + * @package Elgg + * @subpackage Core + * + */ + +$page_owner = elgg_get_page_owner(); +$name = elgg_get_page_owner()->name; + +// get the object type +$type = $vars['type']; + +$title = elgg_echo($type); +$title = $name . "'s " . $type; +?> + +<div id="content-header" class="clearfix"> + <?php echo '<div class="content-header-title">' . elgg_view_title($title) . '</div>'; ?> +</div> + diff --git a/views/default/page/shells/admin.php b/views/default/page/shells/admin.php index e3ca7cbeb..4326a986b 100644 --- a/views/default/page/shells/admin.php +++ b/views/default/page/shells/admin.php @@ -1,23 +1,23 @@ -<?php
-/**
- * Elgg pageshell for the admin area
- *
- * @package Elgg
- * @subpackage Core
- *
- * @uses $vars['title'] The page title
- * @uses $vars['body'] The main content of the page
- * @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");
-
-echo elgg_view('page/elements/html_begin', $vars);
-
-echo '<div class="elgg-page elgg-admin">';
-echo elgg_view('page/elements/messages', array('object' => $vars['sysmessages']));
-echo $vars['body'];
-echo '</div>';
-
+<?php +/** + * Elgg pageshell for the admin area + * + * @package Elgg + * @subpackage Core + * + * @uses $vars['title'] The page title + * @uses $vars['body'] The main content of the page + * @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"); + +echo elgg_view('page/elements/html_begin', $vars); + +echo '<div class="elgg-page elgg-admin">'; +echo elgg_view('page/elements/messages', array('object' => $vars['sysmessages'])); +echo $vars['body']; +echo '</div>'; + echo elgg_view('page/elements/html_end', $vars);
\ No newline at end of file |