Changeset 304 for branches/1/root


Ignore:
Timestamp:
05/19/10 23:38:22 (14 years ago)
Author:
nanardon
Message:
  • add a new config option making poll creation limit by admin password instead mail confirmation
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1/root/templates/newpoll/index.tt

    r73 r304  
    88<tr><th>votre mail:</th><td><input type="text" name="mail" tabindex="1" size="45" maxlength="150"></td></tr> 
    99<tr><th>nom du vote:</th><td><input type="text" name="label" tabindex="2" size="45" maxlength="150"></td></tr> 
     10[% IF c.config.newpollpasswd %] 
     11<tr><th>mot de passe pour ce vote:</th><td><input type="password" name="vpasswd" tabindex="3"></td></tr> 
     12[% IF passwderror %] 
     13<tr><td colspan="2" class="alert"> 
     14    Mot de passe site invalide 
     15</td></tr> 
     16[% END %] 
     17<tr><th>mot de passe site:</th><td><input type="password" name="passwd" tabindex="4"></td></tr> 
     18[% END %] 
    1019<!-- Cf http://forge.ipsl.jussieu.fr/epoll/ticket/1 
    1120<tr><th>mot de passe:</th><td><input type="password" name="vpasswd"></td></tr> 
Note: See TracChangeset for help on using the changeset viewer.