diff options
author | cash <cash.costello@gmail.com> | 2011-10-24 22:01:03 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-10-24 22:01:03 -0400 |
commit | 3703a53134d6b167602cd40f31eb58bfefda9d0b (patch) | |
tree | 4aad1258a23c99f906d4dc27020369ad2e12abd3 /mod/pages/views | |
parent | 5879ebf600db1609b0cd5112206fd1e34b722144 (diff) | |
download | elgg-3703a53134d6b167602cd40f31eb58bfefda9d0b.tar.gz elgg-3703a53134d6b167602cd40f31eb58bfefda9d0b.tar.bz2 |
Fixes #3974 blog, bookmarks, file, and pages plugins consistent in integration with categories plugin
Diffstat (limited to 'mod/pages/views')
-rw-r--r-- | mod/pages/views/default/forms/pages/edit.php | 2 | ||||
-rw-r--r-- | mod/pages/views/default/object/page_top.php | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/mod/pages/views/default/forms/pages/edit.php b/mod/pages/views/default/forms/pages/edit.php index c29de1085..20737a121 100644 --- a/mod/pages/views/default/forms/pages/edit.php +++ b/mod/pages/views/default/forms/pages/edit.php @@ -24,7 +24,7 @@ foreach ($variables as $name => $type) { <?php } -$cats = elgg_view('categories', $vars); +$cats = elgg_view('input/categories', $vars); if (!empty($cats)) { echo $cats; } diff --git a/mod/pages/views/default/object/page_top.php b/mod/pages/views/default/object/page_top.php index 0f7b51a0e..08cdd6e2d 100644 --- a/mod/pages/views/default/object/page_top.php +++ b/mod/pages/views/default/object/page_top.php @@ -46,6 +46,7 @@ $editor_link = elgg_view('output/url', array( $date = elgg_view_friendly_time($annotation->time_created); $editor_text = elgg_echo('pages:strapline', array($date, $editor_link)); $tags = elgg_view('output/tags', array('tags' => $page->tags)); +$categories = elgg_view('output/categories', $vars); $comments_count = $page->countComments(); //only display if there are commments @@ -67,7 +68,7 @@ $metadata = elgg_view_menu('entity', array( 'class' => 'elgg-menu-hz', )); -$subtitle = "$editor_text $categories $comments_link"; +$subtitle = "$editor_text $comments_link $categories"; // do not show the metadata and controls in widget view if (elgg_in_context('widgets') || $revision) { |