aboutsummaryrefslogtreecommitdiff
path: root/views/default/layout/shells/content.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/layout/shells/content.php')
-rw-r--r--views/default/layout/shells/content.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/default/layout/shells/content.php b/views/default/layout/shells/content.php
index b46f09ac1..787445fd1 100644
--- a/views/default/layout/shells/content.php
+++ b/views/default/layout/shells/content.php
@@ -12,6 +12,7 @@
* @uses $vars['context'] Page context (override)
* @uses $vars['buttons'] Content header buttons (override)
* @uses $vars['filter_context'] Filter context: everyone, friends, mine
+ * @uses $vars['class'] Additional class to apply to layout
*/
// give plugins an opportunity to add to content sidebars
@@ -50,4 +51,7 @@ $params = array(
'body' => $body,
'sidebar' => $sidebar,
);
+if (isset($vars['class'])) {
+ $params['class'] = $vars['class'];
+}
echo elgg_view_layout('one_sidebar', $params);