aboutsummaryrefslogtreecommitdiff
path: root/views/default/page_elements
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/page_elements')
-rw-r--r--views/default/page_elements/body.php14
-rw-r--r--views/default/page_elements/content.php5
-rw-r--r--views/default/page_elements/footer.php4
-rw-r--r--views/default/page_elements/header.php4
-rw-r--r--views/default/page_elements/topbar.php4
5 files changed, 23 insertions, 8 deletions
diff --git a/views/default/page_elements/body.php b/views/default/page_elements/body.php
new file mode 100644
index 000000000..6f7691693
--- /dev/null
+++ b/views/default/page_elements/body.php
@@ -0,0 +1,14 @@
+<?php
+/**
+ * Elgg page body wrapper
+ *
+ * @uses $vars['body'] The HTML of the page body
+ */
+
+$body = elgg_get_array_value('body', $vars, '');
+
+echo <<<HTML
+<div class="elgg-page-body">
+ $body
+</div>
+HTML;
diff --git a/views/default/page_elements/content.php b/views/default/page_elements/content.php
index 14292ce59..f82720c2f 100644
--- a/views/default/page_elements/content.php
+++ b/views/default/page_elements/content.php
@@ -1,13 +1,14 @@
<?php
/**
* Elgg content wrapper
- * This file holds the main content
+ *
+ * @uses $vars['body'] The main content HTML
*/
$body = elgg_get_array_value('body', $vars, '');
echo <<<HTML
-<div id="elgg-page-body">
+<div class="elgg-page-body">
$body
</div>
HTML;
diff --git a/views/default/page_elements/footer.php b/views/default/page_elements/footer.php
index 42cb6a2fc..6c9cdc55e 100644
--- a/views/default/page_elements/footer.php
+++ b/views/default/page_elements/footer.php
@@ -9,8 +9,8 @@
*/
?>
-<div id="elgg-page-footer">
- <div id="elgg-page-footer-inner" class="elgg-center elgg-width-classic clearfix">
+<div class="elgg-page-footer">
+ <div class="elgg-page-footer-inner elgg-center elgg-width-classic clearfix">
<?php echo elgg_view('footer/links'); ?>
<a href="http://www.elgg.org" class="right">
<img src="<?php echo elgg_get_site_url(); ?>_graphics/powered_by_elgg_badge_drk_bckgnd.gif" alt="Powered by Elgg" />
diff --git a/views/default/page_elements/header.php b/views/default/page_elements/header.php
index 476919591..df23fcbff 100644
--- a/views/default/page_elements/header.php
+++ b/views/default/page_elements/header.php
@@ -5,8 +5,8 @@
**/
?>
-<div id="elgg-page-header">
- <div id="elgg-page-header-inner" class="elgg-center elgg-width-classic">
+<div class="elgg-page-header">
+ <div class="elgg-page-header-inner elgg-center elgg-width-classic">
<?php
// link back to main site.
echo elgg_view('page_elements/header_logo', $vars);
diff --git a/views/default/page_elements/topbar.php b/views/default/page_elements/topbar.php
index 0f7b8f467..83ffdf54b 100644
--- a/views/default/page_elements/topbar.php
+++ b/views/default/page_elements/topbar.php
@@ -6,8 +6,8 @@
$user = get_loggedin_user();
if (($user instanceof ElggUser) && ($user->guid > 0)) {
- echo '<div id="elgg-page-topbar">';
- echo '<div id="elgg-page-topbar-inner">';
+ echo '<div class="elgg-page-topbar">';
+ echo '<div class="elgg-page-topbar-inner">';
// Elgg logo
echo '<a href="http://www.elgg.org">';