aboutsummaryrefslogtreecommitdiff
path: root/views/default/comments/forms/edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/comments/forms/edit.php')
-rw-r--r--views/default/comments/forms/edit.php44
1 files changed, 22 insertions, 22 deletions
diff --git a/views/default/comments/forms/edit.php b/views/default/comments/forms/edit.php
index e13f13977..b629fc3f0 100644
--- a/views/default/comments/forms/edit.php
+++ b/views/default/comments/forms/edit.php
@@ -1,25 +1,25 @@
-<?php
-
- /**
- * Elgg comments add form
- *
- * @package Elgg
+<?php
- * @author Curverider Ltd <info@elgg.com>
+ /**
+ * Elgg comments add form
+ *
+ * @package Elgg
- * @link http://elgg.com/
- *
- * @uses $vars['entity']
- */
-
- if (isset($vars['entity']) && isloggedin()) {
-
- $form_body = "<div class=\"contentWrapper\"><p class='longtext_editarea'><label>".elgg_echo("generic_comments:text")."<br />" . elgg_view('input/longtext',array('internalname' => 'generic_comment')) . "</label></p>";
- $form_body .= "<p>" . elgg_view('input/hidden', array('internalname' => 'entity_guid', 'value' => $vars['entity']->getGUID()));
- $form_body .= elgg_view('input/submit', array('value' => elgg_echo("save"))) . "</p></div>";
-
- echo elgg_view('input/form', array('body' => $form_body, 'action' => "{$vars['url']}action/comments/add"));
-
- }
-
+ * @author Curverider Ltd <info@elgg.com>
+
+ * @link http://elgg.com/
+ *
+ * @uses $vars['entity']
+ */
+
+ if (isset($vars['entity']) && isloggedin()) {
+
+ $form_body = "<div class=\"contentWrapper\"><p class='longtext_editarea'><label>".elgg_echo("generic_comments:text")."<br />" . elgg_view('input/longtext',array('internalname' => 'generic_comment')) . "</label></p>";
+ $form_body .= "<p>" . elgg_view('input/hidden', array('internalname' => 'entity_guid', 'value' => $vars['entity']->getGUID()));
+ $form_body .= elgg_view('input/submit', array('value' => elgg_echo("save"))) . "</p></div>";
+
+ echo elgg_view('input/form', array('body' => $form_body, 'action' => "{$vars['url']}action/comments/add"));
+
+ }
+
?> \ No newline at end of file