Functions | |
| browserCommentAdd () | |
| customize browser title when adding comment | |
| commentLink () | |
| creates a comment link | |
| commentBox () | |
| display comments | |
| displayComment ($id, $author, $email, $timestamp, $title, $comment) | |
| display one comment | |
| commentAdd () | |
| display a form to add a comment | |
| onSubmitComment () | |
| called when user submit a new comment | |
| onDeleteComment () | |
| called when user delete a comment | |
Variables | |
| $contentBoxHandle ['comment'] = 'commentAdd' | |
| $userActionHandle ['comment'] = 'onSubmitComment' | |
| $userActionHandle ['comment_del'] = 'onDeleteComment' | |
| $browserTitlePageHandle ['comment'] = 'browserCommentAdd' | |
This file creates several hooks :
Edition is done via a form that contains several fields :
This page contains also one helper functions for the user to create template :
| browserCommentAdd | ( | ) |
customize browser title when adding comment
| commentAdd | ( | ) |
display a form to add a comment
| displayComment | ( | $ | id, | |
| $ | author, | |||
| $ | email, | |||
| $ | timestamp, | |||
| $ | title, | |||
| $ | comment | |||
| ) |
display one comment
| onDeleteComment | ( | ) |
called when user delete a comment
| onSubmitComment | ( | ) |
called when user submit a new comment
1.4.7