[ Index ]
 

Code source de Serendipity 1.2

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

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

   1  <p>
   2    <p><a href='{$serendipityBaseURL}/rss.php?version=2.0&amp;type=comments&amp;cid={$commentform_id}'><abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.</a></p>
   3    <h2 id="postcomment">Leave a comment</h2>
   4  
   5    <form action="{$commentform_action}#feedback" method="post" id="commentform">
   6      <p>
   7        {serendipity_hookPlugin hook="frontend_comment" data=$commentform_entry}
   8      </p>
   9      <p>
  10        <input id="name" type="text" name="serendipity[name]" value="{$commentform_name}" size="28" tabindex="1" />
  11        <label for="author">{$CONST.NAME}</label>
  12      </p>
  13  
  14      <p>
  15        <input type="text" id="email" name="serendipity[email]" value="{$commentform_email}" size="28" tabindex="2" />
  16        <label for="email">{$CONST.EMAIL}</label>
  17      </p>
  18  
  19      <p>
  20        <input id="url" type="text" name="serendipity[url]" value="{$commentform_url}" size="28" tabindex="3" />
  21        <label for="url">{$CONST.HOMEPAGE}</label>
  22      </p>
  23  
  24      <p>
  25        <label for="comment">{$CONST.COMMENT}</label><br />
  26        <textarea id="comment" rows="4" cols="40" name="serendipity[comment]">{$commentform_data}</textarea>
  27      </p>
  28  
  29      {if $is_commentform_showToolbar}
  30        <p>
  31          <input id="checkbox_remember" type="checkbox" name="serendipity[remember]" {$commentform_remember} />
  32          <label for="checkbox_remember">{$CONST.REMEMBER_INFO}</label>
  33        </p>
  34        {if $is_allowSubscriptions}
  35          <p>
  36            <input id="checkbox_subscribe" type="checkbox" name="serendipity[subscribe]" {$commentform_subscribe} />
  37            <label for="checkbox_subscribe">{$CONST.SUBSCRIBE_TO_THIS_ENTRY}</label>
  38          </p>
  39        {/if}
  40      {/if}
  41  
  42      {if $is_moderate_comments}
  43        <p>{$CONST.COMMENTS_WILL_BE_MODERATED}</p>
  44      {/if}
  45  
  46      <p>
  47        <input type="hidden" name="serendipity[entry_id]" value="{$commentform_id}" />
  48        <input type="submit" name="serendipity[submit]" value="{$CONST.SUBMIT_COMMENT}" />
  49        <input type="submit" name="serendipity[preview]" value="{$CONST.PREVIEW}" />
  50      </p>
  51    </form>
  52  </p>


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