[ Index ]
 

Code source de Serendipity 1.2

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/templates/default/ -> commentform.tpl (source)

   1  <div id="serendipityCommentFormC" class="serendipityCommentForm">
   2      <div id="serendipity_replyform_0"></div>
   3      <a id="serendipity_CommentForm"></a>
   4      <form id="serendipity_comment" action="{$commentform_action}#feedback" method="post">
   5      <div><input type="hidden" name="serendipity[entry_id]" value="{$commentform_id}" /></div>
   6      <table border="0" width="100%" cellpadding="3">
   7          <tr>
   8              <td class="serendipity_commentsLabel"><label for="serendipity_commentform_name">{$CONST.NAME}</label></td>
   9              <td class="serendipity_commentsValue"><input type="text" id="serendipity_commentform_name" name="serendipity[name]" value="{$commentform_name}" size="30" /></td>
  10          </tr>
  11  
  12          <tr>
  13              <td class="serendipity_commentsLabel"><label for="serendipity_commentform_email">{$CONST.EMAIL}</label></td>
  14              <td class="serendipity_commentsValue"><input type="text" id="serendipity_commentform_email" name="serendipity[email]" value="{$commentform_email}" /></td>
  15          </tr>
  16  
  17          <tr>
  18              <td class="serendipity_commentsLabel"><label for="serendipity_commentform_url">{$CONST.HOMEPAGE}</label></td>
  19              <td class="serendipity_commentsValue"><input type="text" id="serendipity_commentform_url" name="serendipity[url]" value="{$commentform_url}" /></td>
  20          </tr>
  21  
  22          <tr>
  23              <td class="serendipity_commentsLabel"><label for="serendipity_replyTo">{$CONST.IN_REPLY_TO}</label></td>
  24              <td class="serendipity_commentsValue">{$commentform_replyTo}</td>
  25          </tr>
  26  
  27          <tr>
  28              <td class="serendipity_commentsLabel"><label for="serendipity_commentform_comment">{$CONST.COMMENT}</label></td>
  29              <td class="serendipity_commentsValue">
  30                  <textarea rows="10" cols="40" id="serendipity_commentform_comment" name="serendipity[comment]">{$commentform_data}</textarea><br />
  31                  {serendipity_hookPlugin hook="frontend_comment" data=$commentform_entry}
  32              </td>
  33          </tr>
  34  
  35  {if $is_commentform_showToolbar}
  36          <tr>
  37              <td>&#160;</td>
  38              <td class="serendipity_commentsLabel">
  39                  <input id="checkbox_remember" type="checkbox" name="serendipity[remember]" {$commentform_remember} /><label for="checkbox_remember">{$CONST.REMEMBER_INFO}</label>
  40      {if $is_allowSubscriptions}
  41                  <br />
  42                  <input id="checkbox_subscribe" type="checkbox" name="serendipity[subscribe]" {$commentform_subscribe} /><label for="checkbox_subscribe">{$CONST.SUBSCRIBE_TO_THIS_ENTRY}</label>
  43      {/if}
  44              </td>
  45         </tr>
  46  {/if}
  47  
  48  {if $is_moderate_comments}
  49         <tr>
  50              <td class="serendipity_commentsValue serendipity_msg_important" colspan="2">{$CONST.COMMENTS_WILL_BE_MODERATED}</td>
  51         </tr>
  52  {/if}
  53  
  54         <tr>
  55              <td>&#160;</td>
  56              <td><input type="submit" name="serendipity[submit]" value="{$CONST.SUBMIT_COMMENT}" /> <input type="submit" id="serendipity_preview" name="serendipity[preview]" value="{$CONST.PREVIEW}" /></td>
  57          </tr>
  58      </table>
  59      </form>
  60  </div>


Généré le : Sat Nov 24 09:00:37 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics