Subversion Repositories wimsdev

Rev

Rev 3715 | Rev 4145 | 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
2137 bpr 6
 $name_creation
23 reyssat 7
!else
1538 bpr 8
 $name_edition
23 reyssat 9
!endif
3256 guerimand 10
</b>
23 reyssat 11
<br>
3256 guerimand 12
$table_header
13
 $table_hdtr
14
  <th>$name_option</th><th>$name_value</th>
15
 </tr>
3258 bpr 16
 $table_tr<td>$wims_name_title</td><td><input size="50" name="reg_title" value="$vote_title"> </td></tr>
17
 $table_tr<td>$wims_name_Type</td>
4142 guerimand 18
  !default vote_status=0
3256 guerimand 19
  !set reg_status=$vote_status
20
  !set reg_option=$vote_option
21
  !set reg_show=$vote_show
22
  !set reg_whovoteshow=$vote_whovoteshow
23
  <td>
4142 guerimand 24
  !if $vote_status=0
25
    !formselect reg_option list anonymous,trace,nominative prompt $name_anonymous,$name_trace,$name_nominative
26
  !else
27
    $(name_$(vote_option))
28
  !endif
3256 guerimand 29
  </td>
30
 </tr>
31
 $table_tr
3258 bpr 32
  <td>$wims_name_Status</td>
3256 guerimand 33
  <td>
4142 guerimand 34
  !if $vote_status=0 or $vcnt=0
3256 guerimand 35
   !formselect reg_status from 0 to 3 prompt $name_0,$name_1,$name_2,$name_3
4142 guerimand 36
  !else
37
   !formselect reg_status from 1 to 3 prompt $name_1,$name_2,$name_3
38
  !endif
3256 guerimand 39
  </td>
40
 </tr>
41
 $table_tr
3258 bpr 42
  <td>$name_result</td>
3256 guerimand 43
  <td>
44
   !formselect reg_show list 1,0 prompt $name_publish,$name_hide
45
  </td>
46
 </tr>
47
 $table_tr
3258 bpr 48
  <td>$name_whovote</td>
3256 guerimand 49
  <td>
50
   !formselect reg_whovoteshow list 1,0 prompt $name_publish2,$name_hide2
51
  </td>
52
 </tr>
53
 $table_tr
54
  <td colspan="2" align="center">
3715 bpr 55
   <input type="submit" name="rEg" value="$wims_name_tosave" $wims_on_click>
3256 guerimand 56
   &nbsp;<input type=submit name="abandon" value="$wims_name_giveup">
57
  </td>
58
 </tr>
59
$table_end
60
<p><b> $name_content </b>:
4142 guerimand 61
 
62
!if $vote_status>0
63
  <br>$name_nowritable
1538 bpr 64
!else
4142 guerimand 65
 &nbsp;
66
 !set wims_ref_class=wims_button
67
 !href cmd=help $wims_name_help
68
 </p>
69
 <center>(
70
 !if $speckedit=no
71
    !set msgsrc1=<textarea id="src" name="reg_src" cols="80" rows="20">$src</textarea>
72
    !href cmd=reply&job=edit&speckedit=yes  $wims_name_active
73
 !else
74
   !set msgsrc1=<textarea class="iEdit" id="src" name="reg_src" cols="80" rows="20">$src</textarea>
75
   !href cmd=reply&job=edit&speckedit=no $wims_name_desactive
76
 !endif
77
 - <small>$wims_name_speck_warning</small>)
1538 bpr 78
 
4142 guerimand 79
 $msgsrc1
3256 guerimand 80
 
4142 guerimand 81
 <input type=submit name="rEg" value="$wims_name_tosave" $wims_on_click>
82
 <input type=submit name="abandon" value="$wims_name_giveup">
83
 </center>
84
 </form>
85
!endif
23 reyssat 86
 
2150 guerimand 87
!reset reg_option reg_status reg_show reg_whovoteshow