Rev 5496 | Rev 5756 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | |
2 | !set wims_form_method=post |
||
3 | !form reply |
||
3256 | guerimand | 4 | <b> |
23 | reyssat | 5 | !if $vote_title=$empty |
5369 | bpr | 6 | $name_creation |
23 | reyssat | 7 | !else |
5369 | bpr | 8 | $name_edition |
23 | reyssat | 9 | !endif |
3256 | guerimand | 10 | </b> |
4253 | bpr | 11 | !set wims_ref_class=wims_button_help |
4250 | guerimand | 12 | !href cmd=help&helpname=generalinfo $wims_name_help |
23 | reyssat | 13 | <br> |
5235 | czzmrn | 14 | |
5369 | bpr | 15 | !if $gstep= or $gstep=0 or $vote_title=$empty |
16 | !read votesetup.phtml |
||
5235 | czzmrn | 17 | !endif |
5369 | bpr | 18 | !if $error!=$empty |
19 | !goto endform |
||
20 | !exit |
||
5340 | czzmrn | 21 | !endif |
5369 | bpr | 22 | !if $gstep>0 |
23 | !read models/$reg_model.phtml |
||
5235 | czzmrn | 24 | !endif |
5369 | bpr | 25 | :endform |
5235 | czzmrn | 26 | |
5369 | bpr | 27 | !! this should probably best be defined in models/_______.phtml |
28 | !! (and similar checks are probably needed in order to !reset gstep, cfr. reg.proc) |
||
29 | !! |
||
30 | !! if ok, analogous should be done for previous step - $wims_name_givup |
||
4142 | guerimand | 31 | |
5369 | bpr | 32 | !set submit_name=$name_nextstep |
33 | !set abandon_name=$wims_name_back2 |
||
34 | !if $vote_model=free and $gstep>0 |
||
35 | !set submit_name=$wims_name_tosave |
||
36 | !set abandon_name=$wims_name_giveup |
||
1538 | bpr | 37 | !else |
5369 | bpr | 38 | !if $gstep>2 |
39 | !set submit_name=$wims_name_tosave |
||
4142 | guerimand | 40 | !endif |
41 | !endif |
||
5369 | bpr | 42 | !if $gstep <1 |
43 | !set abandon_name=$wims_name_giveup |
||
44 | !endif |
||
45 | <center> |
||
5734 | bpr | 46 | <input type="submit" name="rEg" value="$submit_name" $wims_on_click/> |
47 | <input type="submit" name="abandon" value="$abandon_name"/> |
||
5369 | bpr | 48 | </center> |
49 | !reset reg_option reg_status reg_show reg_whovoteshow up_bday[10] up_bmonth[10] up_byear[10] \ |
||
50 | up_bhour[10] up_bmin[10] up_ehour[10] up_emin[10] up_nstud[10]\ |
||
51 | up_testoextra[10] up_exconnip[10] up_testointro up_namevar,up_defconnip |