You are here

function activeedit_comment_data_form in Javascript Tools 5

Encode data on comments for reference by Javascript.

1 call to activeedit_comment_data_form()
activeedit_comment in activeedit/modules/comment.inc
Implementation of hook_comment().

File

activeedit/modules/comment.inc, line 31

Code

function activeedit_comment_data_form($comment) {
  $form = '<form id="activeedit_comment_data_' . $comment->cid . '" class="activeedit-data">';
  $form .= '<input name="cid" type ="hidden" value="' . $comment->cid . '" />';
  $form .= '</form>';
  return $form;
}