aboutsummaryrefslogtreecommitdiff
path: root/views/default/object/elements
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/object/elements')
-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