<label for="<?php echo $arg2; ?> ">网站 (选填)</label> </p> <?php } ?> <div> <textarea name="<?php echo $arg3; ?> " class="comm_input" tabindex="4" rows="8" cols="40"></textarea> <div class="alignRight"> <?php if (is_comment_mail_notify_enable()) { ?> <div class="floatL" style="padding-top:6px;"> <input type="checkbox" name="email_notify" id="email_notify" checked="checked" tabindex="5"/> <label>有人回复时邮件提醒</label> </div> <?php } ?> <input name="submit" type="submit" id="submit" tabindex="5" value="提交评论" /> <input type="hidden" name="hackerzhou_article_id" id="hackerzhou_article_id" value="<?php echo $id; ?> " /> <input type='hidden' name='hackerzhou_com_parent_id' id='hackerzhou_com_parent_id' value='0' /> </div>
function load_comment_mail_notify_module() { if ((is_single() || is_page()) && is_comment_mail_notify_enable()) { add_action('comment_post', 'comment_mail_notify'); } }