aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-04 11:22:39 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-04 11:22:39 +0000
commit51f65f6debcb86ed5b329aa79bf571d60f587468 (patch)
tree08d05fa080385a5421602af9b49d879ff3b2bbd3 /views
parent7d846c7536b7bf4091de37372e7ea1928c94bbc8 (diff)
downloadelgg-51f65f6debcb86ed5b329aa79bf571d60f587468.tar.gz
elgg-51f65f6debcb86ed5b329aa79bf571d60f587468.tar.bz2
Added contentWrapper view
git-svn-id: https://code.elgg.org/elgg/trunk@3063 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r--views/default/page_elements/contentwrapper.php11
-rw-r--r--views/rss/page_elements/contentwrapper.php5
2 files changed, 16 insertions, 0 deletions
diff --git a/views/default/page_elements/contentwrapper.php b/views/default/page_elements/contentwrapper.php
new file mode 100644
index 000000000..ff54a0b6e
--- /dev/null
+++ b/views/default/page_elements/contentwrapper.php
@@ -0,0 +1,11 @@
+<div class="contentWrapper<?php
+
+ if (isset($vars['subclass'])) echo ' ' . $vars['subclass'];
+
+?>">
+<?php
+
+ echo $vars['body'];
+
+?>
+</div> \ No newline at end of file
diff --git a/views/rss/page_elements/contentwrapper.php b/views/rss/page_elements/contentwrapper.php
new file mode 100644
index 000000000..640dd8104
--- /dev/null
+++ b/views/rss/page_elements/contentwrapper.php
@@ -0,0 +1,5 @@
+<?php
+
+ echo $vars['body'];
+
+?> \ No newline at end of file