Ignore:
Timestamp:
Jun 11, 2011, 3:01:45 PM (13 years ago)
Author:
mistic100
Message:

activate captcha on comment form

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/CryptograPHP/admin.tpl

    r11023 r11316  
    55<form method="post" class="properties">
    66<fieldset>
    7   <legend>{'Captcha theme'|@translate}</legend>
     7  <legend>{'Configuration'|@translate}</legend>
    88 
    9   {foreach from=$available_themes item=theme}
    10   <div style="display:inline-block;margin-top:5px;">
    11    <label for="{$theme}-example"><img src="{$CRYPTO_PATH}cryptographp/images/{$theme}.png" alt="{$theme}"/></label> <br/>
    12     <input type="radio" name="cryptographp_theme" id="{$theme}-example" value="{$theme}" {if $theme == $cryptographp_theme}checked="checked"{/if}/>
    13   </div>
    14   {/foreach}
     9  <ul>                 
     10    <li style="text-align:center;">
     11      <b>{'Captcha theme'|@translate}</b><br/>
     12      {foreach from=$available_themes item=theme}
     13      <div style="display:inline-block;margin-top:5px;">
     14       <label for="{$theme}-example"><img src="{$CRYPTO_PATH}cryptographp/images/{$theme}.png" alt="{$theme}"/></label> <br/>
     15        <input type="radio" name="cryptographp_theme" id="{$theme}-example" value="{$theme}" {if $theme == $cryptographp_theme}checked="checked"{/if}/>
     16      </div>
     17      {/foreach}
     18    </li>
     19
     20    <li>
     21      <span class="property">{'Comments action'|@translate}</span>
     22      <label><input type="radio" name="comments_action" value="inactive" {if $comments_action == 'inactive'}checked="checked"{/if}/> {'No captcha'|@translate}</label>
     23      <label><input type="radio" name="comments_action" value="reject" {if $comments_action == 'reject'}checked="checked"{/if}/> {'Reject'|@translate}</label>
     24      <label><input type="radio" name="comments_action" value="moderate" {if $comments_action == 'moderate'}checked="checked"{/if}/> {'Moderate'|@translate}</label>
     25    </li>
     26  </ul>
    1527 
    1628  <p class="bottomButtons">
Note: See TracChangeset for help on using the changeset viewer.