[ Index ] |
|
Code source de Serendipity 1.2 |
1 <!-- support for cocomment --> 2 {if $template_option.cocommentactive == 'active'} 3 <script type="text/javascript"> 4 // this ensures coComment gets the correct values 5 coco = 6 {ldelim} 7 tool : "Serendipity", 8 siteurl : "{$serendipityBaseURL|@escape:javascript}", 9 sitetitle : "{$blogTitle|@escape:javascript}", 10 pageurl : "{$commentform_entry.rdf_ident|@escape:javascript}", 11 pagetitle : "{$commentform_entry.title|@escape:javascript}", 12 author : "{$commentform_name}", 13 authorID : "serendipity[name]", 14 formID : "serendipity_comment", 15 textareaID : "serendipity[comment]", 16 buttonID : "serendipity[submit]" 17 {rdelim} 18 </script> 19 <script id="cocomment-fetchlet" src="http://www.cocomment.com/js/enabler.js" type="text/javascript"> 20 // this activates coComment 21 </script> 22 {/if} 23 <!-- cocomment end --> 24 <div class="serendipityCommentForm"> 25 <a id="serendipity_CommentForm"></a> 26 <!-- The actual form --> 27 <form id="serendipity_comment_CommentForm" action="{$commentform_action}#feedback" method="post"> 28 <div><input type="hidden" name="serendipity[entry_id]" value="{$commentform_id}" /></div> 29 <dl> 30 <dt class="serendipity_commentsLabel"><label for="serendipity_commentform_name">{$CONST.NAME}</label></dt> 31 <dd class="serendipity_commentsValue"><input class="frm" type="text" id="serendipity_commentform_name" name="serendipity[name]" value="{$commentform_name}" size="30" /></dd> 32 <dt class="serendipity_commentsLabel"><label for="serendipity_commentform_email">{$CONST.EMAIL}</label></dt> 33 <dd class="serendipity_commentsValue"><input class="frm" type="text" id="serendipity_commentform_email" name="serendipity[email]" value="{$commentform_email}" size="30" /></dd> 34 <dt class="serendipity_commentsLabel"><label for="serendipity_commentform_url">{$CONST.HOMEPAGE}</label></dt> 35 <dd class="serendipity_commentsValue"><input class="frm" type="text" id="serendipity_commentform_url" name="serendipity[url]" value="{$commentform_url}" size="30" /></dd> 36 <dt class="serendipity_commentsLabel"><label for="serendipity_replyTo">{$CONST.IN_REPLY_TO}</label></dt> 37 <dd class="serendipity_commentsValue">{$commentform_replyTo}</dd> 38 <dt class="serendipity_commentsLabel"><label for="serendipity_commentform_comment">{$CONST.COMMENT}</label></dt> 39 <dd class="serendipity_commentsValue"><textarea class="frm" rows="10" cols="40" id="serendipity_commentform_comment" name="serendipity[comment]">{$commentform_data}</textarea>{serendipity_hookPlugin hook="frontend_comment" data=$commentform_entry}</dd> 40 41 {if $is_commentform_showToolbar} 42 <dt> </dt> 43 <dd class="serendipity_commentsLabel"> 44 <span class="checkbox"><input id="checkbox_remember" type="checkbox" name="serendipity[remember]" {$commentform_remember} /> <label for="checkbox_remember">{$CONST.REMEMBER_INFO}</label></span> 45 {if $is_allowSubscriptions} 46 <span class="checkbox"><input id="checkbox_subscribe" type="checkbox" name="serendipity[subscribe]" {$commentform_subscribe} /> <label for="checkbox_subscribe">{$CONST.SUBSCRIBE_TO_THIS_ENTRY}</label></span> 47 {/if} 48 </dd> 49 {/if} 50 51 {if $is_moderate_comments} 52 <dt class="serendipity_commentsValue serendipity_msg_important">{$CONST.COMMENTS_WILL_BE_MODERATED}</dt> 53 <dd> </dd> 54 {/if} 55 <dt> </dt><dd class="serendipity_commentsLabel"> 56 <input type="submit" name="serendipity[submit]" value="{$CONST.SUBMIT_COMMENT}" /> 57 <input type="submit" id="serendipity_preview" name="serendipity[preview]" value="{$CONST.PREVIEW}" /></dd> 58 </dl> 59 </form> 60 </div>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sat Nov 24 09:00:37 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |