aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/views/default/annotation/page.php
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2013-04-19 20:28:51 -0400
committercash <cash.costello@gmail.com>2013-04-19 20:28:51 -0400
commit863d45bb76d5bce2dabe32acc6f7d1f5400d568d (patch)
treebe52131c535c5b84897b79f49dfce59041450995 /mod/pages/views/default/annotation/page.php
parentaa409144fcac454c8f6e2566606e0fb206d933d7 (diff)
parent7b002adf2fd383e6a0e7e4b93890720d99750282 (diff)
downloadelgg-863d45bb76d5bce2dabe32acc6f7d1f5400d568d.tar.gz
elgg-863d45bb76d5bce2dabe32acc6f7d1f5400d568d.tar.bz2
Merge pull request #5325 into 1.8 branch
Diffstat (limited to 'mod/pages/views/default/annotation/page.php')
-rw-r--r--mod/pages/views/default/annotation/page.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/mod/pages/views/default/annotation/page.php b/mod/pages/views/default/annotation/page.php
index a621b9281..ecb289092 100644
--- a/mod/pages/views/default/annotation/page.php
+++ b/mod/pages/views/default/annotation/page.php
@@ -39,4 +39,22 @@ $body = <<< HTML
<p class="elgg-subtext">$subtitle</p>
HTML;
+if (!elgg_in_context('widgets')) {
+ $menu = elgg_view_menu('annotation', array(
+ 'annotation' => $annotation,
+ 'sort_by' => 'priority',
+ 'class' => 'elgg-menu-hz float-alt',
+ ));
+}
+
+$body = <<<HTML
+<div class="mbn">
+ $menu
+ <h3>$title_link</h3>
+ <span class="elgg-subtext">
+ $subtitle
+ </span>
+</div>
+HTML;
+
echo elgg_view_image_block($icon, $body); \ No newline at end of file