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.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/views/default/comments/forms/edit.php b/views/default/comments/forms/edit.php
deleted file mode 100644
index 3c26bf7cc..000000000
--- a/views/default/comments/forms/edit.php
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
-/**
- * Elgg comments add form
- *
- * @package Elgg
- *
- * @uses $vars['entity']
- */
-
- if (isset($vars['entity']) && isloggedin()) {
-
- $form_body = "<div class='comment margin-top'><p class='longtext_inputarea'><label>".elgg_echo("generic_comments:text")."</label>" . elgg_view('input/longtext',array('internalname' => 'generic_comment')) . "</p>";
- $form_body .= elgg_view('input/hidden', array('internalname' => 'entity_guid', 'value' => $vars['entity']->getGUID()));
- $form_body .= elgg_view('input/submit', array('value' => elgg_echo("generic_comments:post"))) . "</div>";
-
- echo elgg_view('input/form', array('body' => $form_body, 'action' => "action/comments/add"));
-
- }
-
-?> \ No newline at end of file