Subversion Repositories wimsdev

Rev

Rev 11229 | Rev 12705 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11229 Rev 11980
Line 16... Line 16...
16
 
16
 
17
!form reply
17
!form reply
18
<fieldset class="property_fields blockcenter">
18
<fieldset class="property_fields blockcenter">
19
 <legend>$title</legend>
19
 <legend>$title</legend>
20
 <ul class="flex_box">
20
 <ul class="flex_box">
21
!for i=1 to $confcnt
21
  !for i=1 to $confcnt
22
 !set r_=!record $i of lang/confdata.$modu_lang
22
   !set r_=!record $i of lang/confdata.$modu_lang
23
 !set t_=!word 1 of $r_
23
   !set t_=!word 1 of $r_
24
 !if $catname isitemof $t_
24
   !if $catname isitemof $t_
25
   <li class="field box halfwidth">
25
     <li class="field box halfwidth">
26
  !distribute lines $r_ into a_,b_,c_,e_,f_
26
    !distribute lines $r_ into a_,b_,c_,e_,f_
27
  !distribute words $a_ into t_,n_,N_
27
    !distribute words $a_ into t_,n_,N_
28
  !set D_=$($n_)
28
    !set D_=$($n_)
29
  <label for="conf_$i">$b_</label>
29
    <label for="conf_$i">$b_</label>
30
  !set wims_ref_class=wims_button_help float_right
30
    !set wims_ref_class=wims_button_help float_right
31
  !href cmd=help&help_subject=conf&help_conf=$i $wims_name_help
31
    !href cmd=help&help_subject=conf&help_conf=$i $wims_name_help
32
 
32
 
33
  !if $c_=free
33
    !if $c_=free
34
    <input size="40" name="conf_$i" id="conf_$i" value="$D_" />
34
      <input size="40" name="conf_$i" id="conf_$i" value="$D_" />
35
  !endif
35
    !endif
36
  !if $c_=int
36
    !if $c_=int
37
    <input size="10" name="conf_$i" id="conf_$i" value="$D_" />
37
      <input size="10" name="conf_$i" id="conf_$i" value="$D_" />
38
  !endif
38
    !endif
39
  !if $c_=color
39
    !if $c_=color
40
    <input size="10" name="conf_$i" id="conf_$i" value="$D_" type="color" />
40
      <input size="10" name="conf_$i" id="conf_$i" value="$D_" type="color" />
41
  !endif
41
    !endif
42
  !if $c_=choice
42
    !if $c_=choice
43
   !set conf_$i=$D_
43
     !set conf_$i=$D_
44
   !set e_=!translate ; to $\
44
     !set e_=!translate ; to $\
45
$ in $e_
45
  $ in $e_
46
   !distribute lines $e_ into x_,y_
46
     !distribute lines $e_ into x_,y_
47
   !formselect conf_$i list $x_ prompt $y_
47
     !formselect conf_$i list $x_ prompt $y_
48
  !endif
48
    !endif
49
  !if $c_=checkbox
49
    !if $c_=checkbox
50
   !set conf_$i=$D_
50
     !set conf_$i=$D_
51
   !set e_=!translate ; to $\
51
     !set e_=!translate ; to $\
52
$ in $e_
52
  $ in $e_
53
   !distribute lines $e_ into x_,y_
53
     !distribute lines $e_ into x_,y_
54
   !set wims_ref_class=wims_formradio
54
     !set wims_ref_class=wims_formradio
55
   !formcheckbox conf_$i list $x_ prompt $y_
55
     !formcheckbox conf_$i list $x_ prompt $y_
56
  !endif
56
    !endif
57
  !if $c_ iswordof free int color
57
    !if $c_ iswordof free int color
58
    !set tmp=!replace internal ' by \' in $(DF_$n_)
58
      !set tmp=!replace internal ' by \' in $(DF_$n_)
59
   <span class="small">
59
     <span class="small">
60
     <input type="button" onclick="document.forms[0].conf_$i.value='$tmp'" value="$name_default" class="wims_button"/>
60
       <input type="button" onclick="document.forms[0].conf_$i.value='$tmp'" value="$name_default" class="wims_button"/>
61
   </span>
61
     </span>
62
  !endif
62
    !endif
63
  !set g_=!trim $g_
63
    !set g_=!trim $g_
64
  <div class="formHelp">
64
    <div class="formHelp">
65
    $f_
65
      $f_
66
  </div>
66
    </div>
67
  </li>
67
    </li>
68
 !endif
68
   !endif
69
!next i
69
  !next i
70
</ul>
70
 </ul>
71
 <div class="wimscenter actions">
71
 <div class="wimscenter actions">
72
   <input type="submit" name="save" value="$wims_name_tosave" />
72
   <input type="submit" name="save" value="$wims_name_tosave" />
73
   !set wims_ref_class=wims_button wims_secondary_button
73
   !set wims_ref_class=wims_button wims_secondary_button
74
   !href cmd=reply&job=list $wims_name_giveup
74
   !href cmd=reply&job=list $wims_name_giveup
75
 </div>
75
 </div>
76
</fieldset>
76
</fieldset>
77
 
77
 
78
!formend
78
!formend
79
<span class="wims_warning">$wims_name_warning</span>. $name_warning
79
<div class="wims_msg info">$name_warning</div>
80
 
80
 
81
!read conf/$catname.phtml
81
!read conf/$catname.phtml