Ignore:
Timestamp:
05/21/10 18:19:22 (14 years ago)
Author:
nanardon
Message:
  • add a new config option making poll creation limit by admin password instead mail confirmation (from branche/1)
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/root/templates/newpoll/index.tt

    r285 r307  
    77<table border="0"> 
    88<tbody align="center"> 
    9 <tr><th>[% l('Your mail:') %]</th><td><input type="text" name="mail" tabindex="1" size="45" maxlength="150"></td></tr> 
    10 <tr><th>[% l('Poll name:') %]</th><td><input type="text" name="label" tabindex="2" size="45" maxlength="150"></td></tr> 
     9<tr><th>[% l('Your mail:') %]</th><td> 
     10  <input type="text" name="mail" value="[% c.req.param('mail') | html %]" tabindex="1" size="45" maxlength="150"> 
     11</td></tr> 
     12<tr><th>[% l('Poll name:') %]</th><td> 
     13  <input type="text" name="label" value="[% c.req.param('label') | html %]" tabindex="2" size="45" maxlength="150"> 
     14</td></tr> 
     15[% IF c.config.newpollpasswd %] 
     16<tr><th>[% l('Password of this poll:') %]</th><td> 
     17  <input type="password" name="vpasswd" value="[% c.req.param('vpasswd') | html %]"  tabindex="3"> 
     18</td></tr> 
     19[% IF passwderror %] 
     20<tr><td colspan="2" class="alert"> 
     21    [% l('Invalid site password:') %] 
     22</td></tr> 
     23[% END %] 
     24<tr><th>[% l('Site password:') %]</th><td><input type="password" name="passwd" tabindex="4"></td></tr> 
     25[% END %] 
    1126<!-- Cf http://forge.ipsl.jussieu.fr/epoll/ticket/1 
    1227<tr><th>[% l('Password') %]</th><td><input type="password" name="vpasswd"></td></tr> 
Note: See TracChangeset for help on using the changeset viewer.