diff options
Diffstat (limited to 'mod/riverdashboard/views/default/riverdashboard/rivercomment.php')
-rw-r--r-- | mod/riverdashboard/views/default/riverdashboard/rivercomment.php | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/mod/riverdashboard/views/default/riverdashboard/rivercomment.php b/mod/riverdashboard/views/default/riverdashboard/rivercomment.php deleted file mode 100644 index e1c6ab07f..000000000 --- a/mod/riverdashboard/views/default/riverdashboard/rivercomment.php +++ /dev/null @@ -1,18 +0,0 @@ -<?php -/** - * Elgg comments add on river form - * @uses $vars['entity'] - */ - -if (isset($vars['entity']) && isloggedin()) { - $form_body = "<div class='river-comment-form hidden'>"; - $form_body .= elgg_view('input/text',array( - 'internalname' => 'generic_comment', - 'value' => 'Add a comment...', - 'js' => "onfocus=\"if (this.value=='Add a comment...') { this.value='' };\" onblur=\"if (this.value=='') { this.value='Add a comment...' }\"" - )); - $form_body .= elgg_view('input/hidden', array('internalname' => 'entity_guid', 'value' => $vars['entity']->getGUID())); - $form_body .= elgg_view('input/submit', array('value' => elgg_echo("Comment"))); - $form_body .= "</div>"; - echo elgg_view('input/form', array('body' => $form_body, 'action' => "action/comments/add")); -}
\ No newline at end of file |