aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-11-01 21:08:22 -0400
committercash <cash.costello@gmail.com>2011-11-01 21:08:22 -0400
commit508fe03a44dec3a275c19fe2c63ab63fd04c0880 (patch)
treeebe1816a8e29a17d11f53b743fc80bdbe1aeeeae /views
parentc501b5b60051007f8db088c987a66a03e9934c0b (diff)
downloadelgg-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')
-rw-r--r--views/default/object/elements/full.php10
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