From 15eaacc12ad0ffe19d42b6d2508c4469ba005bfd Mon Sep 17 00:00:00 2001 From: cash Date: Wed, 8 Dec 2010 02:37:26 +0000 Subject: Fixes #2189 created the object/list view with semantic markup git-svn-id: http://code.elgg.org/elgg/trunk@7560 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/layout/elements/comments.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 views/default/layout/elements/comments.php (limited to 'views/default/layout/elements/comments.php') diff --git a/views/default/layout/elements/comments.php b/views/default/layout/elements/comments.php new file mode 100644 index 000000000..6dbe51483 --- /dev/null +++ b/views/default/layout/elements/comments.php @@ -0,0 +1,20 @@ +'; + +echo list_annotations($vars['entity']->getGUID(), 'generic_comment'); + +if ($show_add_form) { + $form_vars = array('name' => 'elgg_add_comment'); + echo elgg_view_form('comments/add', $form_vars, $vars); +} + +echo ''; -- cgit v1.2.3