Rev 17170 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
5261 | czzmrn | 1 | !! might want to share code with edit.phtml |
7443 | bpr | 2 | |
3 | <fieldset class="property_fields blockcenter"> |
||
7454 | bpr | 4 | <legend>$name_create_or_edit</legend> |
7443 | bpr | 5 | <div class="field box"> |
6 | <label for="reg_title">$wims_name_title</label> |
||
17170 | bpr | 7 | <input size="50" name="reg_title" value="$vote_title" id="reg_title"> |
12479 | bpr | 8 | !set wims_ref_class=wims_button_help float_right |
9 | !href cmd=help&helpname=generalinfo $wims_name_help |
||
7443 | bpr | 10 | </div> |
11 | <div class="field box"> |
||
12 | <label for="reg_option">$wims_name_Type</label> |
||
12479 | bpr | 13 | !default vote_status=0 |
14 | !! !default reg_model=free |
||
15 | !set reg_status=$vote_status |
||
16 | !set reg_option=$vote_option |
||
17 | !set reg_show=$vote_show |
||
18 | !set reg_whovoteshow=$vote_whovoteshow |
||
19 | !if $vote_status=0 |
||
20 | !formselect reg_option list anonymous,trace,nominative prompt $name_anonymous,$name_trace,$name_nominative |
||
21 | !else |
||
22 | $(name_$(vote_option)) |
||
23 | !endif |
||
24 | </div> |
||
25 | <div class="field box"> |
||
26 | <label for="reg_status">$wims_name_Status</label> |
||
27 | !if $vote_status=0 or $vcnt=0 or $vcnt=$empty or $vote_src$reg_src=$empty |
||
28 | !formselect reg_status from 0 to 3 prompt $name_0,$name_1,$name_2,$name_3 |
||
29 | !else |
||
30 | !formselect reg_status from 1 to 3 prompt $name_1,$name_2,$name_3 |
||
31 | !endif |
||
32 | </div> |
||
33 | <div class="field box"> |
||
34 | !if $gstep= $empty or $gstep=0 |
||
17170 | bpr | 35 | <input type="hidden" name="gstep" value="1"> |
12479 | bpr | 36 | !endif |
37 | <label for="reg_show">$name_result</label> |
||
38 | !formselect reg_show list 1,0 prompt $name_publish,$name_hide |
||
39 | </div> |
||
40 | <div class="field box"> |
||
41 | <label for="reg_whovoteshow">$name_whovote</label> |
||
42 | !formselect reg_whovoteshow list 1,0 prompt $name_publish2,$name_hide2 |
||
43 | </div> |
||
44 | <div class="field box"> |
||
45 | <label for="reg_model">$name_model</label> |
||
46 | !set wims_ref_class=wims_button_help float_right |
||
47 | !href cmd=help&helpname=guidedmode $wims_name_help |
||
5756 | bpr | 48 | !!bad conditions !!! |
17180 | bpr | 49 | !if $vote_status=0 and ($vote_src=$empty or $vote_src=<br> or $vote_src=<br> or $vote_src=<br>) |
12479 | bpr | 50 | !formselect reg_model list free,$vmodellist prompt $name_free,$name_vmodellist |
51 | !else |
||
52 | $(name_$vote_model) |
||
53 | !! why do I need the following? --> questo era in "riserva" lo provo |
||
54 | !! a togliere per -svn |
||
17170 | bpr | 55 | !! <input type="hidden" name="reg_model" value="$vote_model"> |
12479 | bpr | 56 | !endif |
7443 | bpr | 57 | </div> |
7530 | bpr | 58 | |
59 | </fieldset> |