Changeset 253 for trunk/root/templates/admin/includes/poll_settings.tt
- Timestamp:
- 12/05/09 16:14:30 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/root/templates/admin/includes/poll_settings.tt
r229 r253 1 1 <!-- $Id$ --> 2 2 [% poll = c.model('Vote').poll(voteid) %] 3 <DIV ID="testdiv1" STYLE="position:absolute;visibility:hidden;background-color:white;layer-background-color:white;"></DIV>4 3 5 4 [% IF poll.status == 'BEFORE' %] … … 16 15 <br> 17 16 <hr> 18 <!-- http://www.mattkruse.com/javascript/calendarpopup/ --> 19 <i>Les dates sont au format JJ/MM/AAAA HH:MM:SS</i><br> 20 [% IF dateerror %]<p class="alert">[% dateerror | html %]</p>[% END %] 21 22 <SCRIPT LANGUAGE="JavaScript" ID="js13"> 23 var cal13 = new CalendarPopup(); 24 </SCRIPT> 25 26 Debut du vote:<br> 27 Date: <input type="text" name="dstart" value="[% c.req.param('dstart') || poll.info('dstart') | html %]"> 28 <A HREF="#" onClick="cal13.select(document.forms[0].dstart,'anchor13','dd/MM/yyyy'); return false;" TITLE="cal13.select(document.forms[0].dstart,'anchor13','dd/MM/yyyy'); return false;" NAME="anchor13" ID="anchor13">select</A> 29 Heure: <input type="text" size=9 name="hstart" value="[% c.req.param('hstart') || poll.info('hstart') | html %]"> 30 <br> 31 Fin du vote:<br> 32 Date: <input type="text" name="dend" value="[% c.req.param('dend') || poll.info('dend') | html %]"> 33 <A HREF="#" onClick="cal13.select(document.forms[0].dend,'anchor14','dd/MM/yyyy',(document.forms[0].dend.value=='')?document.forms[0].dstart.value:null); return false;" TITLE="cal13.select(document.forms[0].dend,'anchor14','dd/MM/yyyy',(document.forms[0].dend.value=='')?document.forms[0].dstart.value:null); return false;" NAME="anchor14" ID="anchor14">select</A> 34 Heure: <input type="text" size=9 name="hend" value="[% c.req.param('hend') || poll.info('hend') | html %]"> 35 <br> 36 <hr> 37 <input type="submit" name="pollparam" value="Enregistrer"> 17 <input type="submit"> 38 18 </form> 39 19 </div>
Note: See TracChangeset
for help on using the changeset viewer.