From 4873cf7c4bb484ba8dfbe12e840402e3edd7c310 Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 11 Aug 2008 14:09:54 +0000 Subject: Refs #210 & #211 : Updated comments form git-svn-id: https://code.elgg.org/elgg/trunk@1828 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/comments/forms/edit.php | 26 ++++++-------------------- 1 file changed, 6 insertions(+), 20 deletions(-) (limited to 'views/default/comments') diff --git a/views/default/comments/forms/edit.php b/views/default/comments/forms/edit.php index 700a451cb..b435d69b9 100644 --- a/views/default/comments/forms/edit.php +++ b/views/default/comments/forms/edit.php @@ -13,26 +13,12 @@ */ if (isset($vars['entity']) && isloggedin()) { - -?> - -
-

- -

-

- - " /> -

-
- -

"; + $form_body .= "

" . elgg_view('input/hidden', array('internalname' => 'entity_guid', 'value' => $vars['entity']->getGUID())); + $form_body .= elgg_view('input/submit', array('value' => elgg_echo("save"))) . "

"; + + echo elgg_view('input/form', array('body' => $form_body, 'action' => "{$vars['url']}action/comments/add")); } -- cgit v1.2.3