From 304ca66699b7c5ccfd2d62604479e3b6ad496a03 Mon Sep 17 00:00:00 2001 From: cash Date: Tue, 8 Feb 2011 12:20:45 +0000 Subject: added a class variable to title view git-svn-id: http://code.elgg.org/elgg/trunk@8072 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/layout/elements/title.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'views/default/layout/elements') diff --git a/views/default/layout/elements/title.php b/views/default/layout/elements/title.php index 5354352c9..19f47f4e6 100644 --- a/views/default/layout/elements/title.php +++ b/views/default/layout/elements/title.php @@ -1,9 +1,14 @@ " . $vars['title'] . ""; +$class= ''; +if (isset($vars['class'])) { + $class = " class=\"{$vars['class']}\""; +} -echo $display; \ No newline at end of file +echo "{$vars['title']}"; -- cgit v1.2.3