diff options
author | Jeff Tilson <jrtilson@gmail.com> | 2013-04-05 13:35:13 -0400 |
---|---|---|
committer | Jeff Tilson <jrtilson@gmail.com> | 2013-04-05 13:35:13 -0400 |
commit | 5103c706857719615102eda7cfd823b0723a1476 (patch) | |
tree | 156f69ffa5914368ef4fc1a878503db867993fd4 /mod/pages/views/default/annotation/page.php | |
parent | 835c7fe5eb77343081b9bd33ec465f9ce8929570 (diff) | |
download | elgg-5103c706857719615102eda7cfd823b0723a1476.tar.gz elgg-5103c706857719615102eda7cfd823b0723a1476.tar.bz2 |
Allow pages revisions to be reverted or deleted
Diffstat (limited to 'mod/pages/views/default/annotation/page.php')
-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 |