diff options
author | cash <cash.costello@gmail.com> | 2011-11-01 21:08:22 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-11-01 21:08:22 -0400 |
commit | 508fe03a44dec3a275c19fe2c63ab63fd04c0880 (patch) | |
tree | ebe1816a8e29a17d11f53b743fc80bdbe1aeeeae /views/default/object/elements | |
parent | c501b5b60051007f8db088c987a66a03e9934c0b (diff) | |
download | elgg-508fe03a44dec3a275c19fe2c63ab63fd04c0880.tar.gz elgg-508fe03a44dec3a275c19fe2c63ab63fd04c0880.tar.bz2 |
Fixes #4035 made the entity view pages consistent for blog, bookmarks, file, pages, and forum posts
Diffstat (limited to 'views/default/object/elements')
-rw-r--r-- | views/default/object/elements/full.php | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/views/default/object/elements/full.php b/views/default/object/elements/full.php index 4a2991442..9b89f9706 100644 --- a/views/default/object/elements/full.php +++ b/views/default/object/elements/full.php @@ -2,8 +2,7 @@ /** * Object full rendering * - * Sample output - * <h2>Title</h3> + * Sample output: * <div class="elgg-content"> * <div class="elgg-image-block"> * </div> @@ -12,14 +11,12 @@ * </div> * * @uses $vars['entity'] ElggEntity - * @uses $vars['title'] Title (false for no title) * @uses $vars['icon'] HTML for the content icon * @uses $vars['summary'] HTML for the content summary * @uses $vars['body'] HTML for the content body * @uses $vars['class'] Optional additional class for the content wrapper */ -$title = elgg_extract('title', $vars); $icon = elgg_extract('icon', $vars); $summary = elgg_extract('summary', $vars); $body = elgg_extract('body', $vars); @@ -30,14 +27,9 @@ if ($class) { $class = "elgg-content"; } -if ($title) { - $title = elgg_view_title($title); -} - $header = elgg_view_image_block($icon, $summary); echo <<<HTML -$title <div class="$class"> $header $body |