| 48 | | /* Commenting *****************************************************************/ |
| 49 | | function mtEntryOnLoad() // Called when an entry archive page is loaded. This routine controls which elements of the comment form are shown or hidden, depending on commenter type and blog configuration. |
| 50 | | function mtEntryOnUnload() // ** |
| 51 | | function mtShowGreeting() // Handles the display of the greeting message, depending on what kind of user is logged in and blog comment policy. |
| 52 | | function mtUserOnLoad() // Function to hide/show/prepopulate fields based upon type of user that has authenticated |
| 53 | | function mtRememberMeOnClick(b) // Called when the 'Remember me' checkbox is changed. If the checkbox is cleared, the cached user cookie is immediately cleared. |
| 54 | | function mtReplyCommentOnClick(parent_id, author) // Handles the action of the 'Reply' links. |
| 55 | | function mtSetCommentParentID() // Sets the parent comment ID when replying to a comment. |
| 56 | | function mtCommentOnSubmit(f) // Called when comment form is sent. Required parameter: Form DOM object of comment form. If form has a 'bakecookie' member, it will be used to signal storing the anonymous commenter information to a cookie. If form has a 'armor' member, it will be used to store a token that is checked by the comment script. |
| 57 | | function mtCommentSessionVerify(app_user) // ** |
| 58 | | function mtCommentFormOnFocus() // Called when an input field on the comment form receives focus. |
| 59 | | function mtShowCaptcha() // Displays a captcha field for anonymous commenters. |
| | 47 | /* Commenting *****************************************************************/ |
| | 48 | function mtEntryOnLoad() // Called when an entry archive page is loaded. This routine controls which elements of the comment form are shown or hidden, depending on commenter type and blog configuration. |
| | 49 | function mtEntryOnUnload() // ** |
| | 50 | function mtShowGreeting() // Handles the display of the greeting message, depending on what kind of user is logged in and blog comment policy. |
| | 51 | function mtUserOnLoad() // Function to hide/show/prepopulate fields based upon type of user that has authenticated |
| | 52 | function mtRememberMeOnClick(b) // Called when the 'Remember me' checkbox is changed. If the checkbox is cleared, the cached user cookie is immediately cleared. |
| | 53 | function mtReplyCommentOnClick(parent_id, author) // Handles the action of the 'Reply' links. |
| | 54 | function mtSetCommentParentID() // Sets the parent comment ID when replying to a comment. |
| | 55 | function mtCommentOnSubmit(f) // Called when comment form is sent. Required parameter: Form DOM object of comment form. If form has a 'bakecookie' member, it will be used to signal storing the anonymous commenter information to a cookie. If form has a 'armor' member, it will be used to store a token that is checked by the comment script. |
| | 56 | function mtCommentSessionVerify(app_user) // ** |
| | 57 | function mtCommentFormOnFocus() // Called when an input field on the comment form receives focus. |
| | 58 | function mtShowCaptcha() // Displays a captcha field for anonymous commenters. |