diff options
author | cash <cash.costello@gmail.com> | 2013-04-19 20:28:51 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2013-04-19 20:28:51 -0400 |
commit | 863d45bb76d5bce2dabe32acc6f7d1f5400d568d (patch) | |
tree | be52131c535c5b84897b79f49dfce59041450995 /mod/pages/views/default/annotation | |
parent | aa409144fcac454c8f6e2566606e0fb206d933d7 (diff) | |
parent | 7b002adf2fd383e6a0e7e4b93890720d99750282 (diff) | |
download | elgg-863d45bb76d5bce2dabe32acc6f7d1f5400d568d.tar.gz elgg-863d45bb76d5bce2dabe32acc6f7d1f5400d568d.tar.bz2 |
Merge pull request #5325 into 1.8 branch
Diffstat (limited to 'mod/pages/views/default/annotation')
-rw-r--r-- | mod/pages/views/default/annotation/page.php | 18 |
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 |