Rev 17180 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
7521 | obado | 1 | !!read adm/title.phtml 1 |
23 | reyssat | 2 | |
3 | !if $save!=$empty |
||
12705 | bpr | 4 | !if $error!=$empty |
5 | <div class="wims_msg alert"> |
||
6 | !read lang/msg.phtml.$modu_lang |
||
7 | </div> |
||
2827 | bpr | 8 | !else |
12705 | bpr | 9 | !if $changed<1 |
10 | $name_config |
||
11 | !else |
||
12 | $name_updated |
||
13 | !endif |
||
2827 | bpr | 14 | !endif |
23 | reyssat | 15 | !endif |
16 | |||
17 | !form reply |
||
7521 | obado | 18 | <fieldset class="property_fields blockcenter"> |
7486 | bpr | 19 | <legend>$title</legend> |
7888 | obado | 20 | <ul class="flex_box"> |
12705 | bpr | 21 | !for i=1 to $confcnt |
22 | !set r_=!record $i of lang/confdata.$modu_lang |
||
23 | !set t_=!word 1 of $r_ |
||
24 | !if $catname isitemof $t_ |
||
25 | <li class="field box halfwidth"> |
||
11980 | obado | 26 | !distribute lines $r_ into a_,b_,c_,e_,f_ |
27 | !distribute words $a_ into t_,n_,N_ |
||
28 | !set D_=$($n_) |
||
13321 | bpr | 29 | !if $c_ notwordof checkbox |
30 | <label for="conf_$i">$b_</label> |
||
31 | !else |
||
32 | <strong>$b_</strong> |
||
33 | !endif |
||
11980 | obado | 34 | !set wims_ref_class=wims_button_help float_right |
35 | !href cmd=help&help_subject=conf&help_conf=$i $wims_name_help |
||
7521 | obado | 36 | |
11980 | obado | 37 | !if $c_=free |
17180 | bpr | 38 | <input size="40" name="conf_$i" id="conf_$i" value="$D_" aria-describedby="formHelp_$i"> |
11980 | obado | 39 | !endif |
18098 | reyssat | 40 | !if $c_=char |
41 | <input size="1" name="conf_$i" id="conf_$i" value="$D_" aria-describedby="formHelp_$i"> |
||
42 | !endif |
||
11980 | obado | 43 | !if $c_=int |
17180 | bpr | 44 | <input size="10" name="conf_$i" id="conf_$i" value="$D_" aria-describedby="formHelp_$i"> |
11980 | obado | 45 | !endif |
46 | !if $c_=color |
||
17180 | bpr | 47 | <input size="10" name="conf_$i" id="conf_$i" value="$D_" type="color" aria-describedby="formHelp_$i"> |
11980 | obado | 48 | !endif |
49 | !if $c_=choice |
||
12705 | bpr | 50 | !set conf_$i=$D_ |
51 | !set e_=!translate ; to $\ |
||
11980 | obado | 52 | $ in $e_ |
12705 | bpr | 53 | !distribute lines $e_ into x_,y_ |
54 | !formselect conf_$i list $x_ prompt $y_ |
||
11980 | obado | 55 | !endif |
56 | !if $c_=checkbox |
||
12705 | bpr | 57 | !set conf_$i=$D_ |
58 | !set e_=!translate ; to $\ |
||
11980 | obado | 59 | $ in $e_ |
12705 | bpr | 60 | !distribute lines $e_ into x_,y_ |
61 | !set wims_ref_class=wims_formradio |
||
62 | !formcheckbox conf_$i list $x_ prompt $y_ |
||
11980 | obado | 63 | !endif |
18098 | reyssat | 64 | !if $c_ iswordof free char int color |
11980 | obado | 65 | !set tmp=!replace internal ' by \' in $(DF_$n_) |
17180 | bpr | 66 | <input type="button" onclick="document.forms[0].conf_$i.value='$tmp'" value="$name_default" class="wims_button wims_secondary_button small"> |
11980 | obado | 67 | !endif |
68 | !set g_=!trim $g_ |
||
12724 | obado | 69 | <div class="formHelp" id="formHelp_$i"> |
11980 | obado | 70 | $f_ |
71 | </div> |
||
72 | </li> |
||
12705 | bpr | 73 | !endif |
74 | !next i |
||
11980 | obado | 75 | </ul> |
7521 | obado | 76 | <div class="wimscenter actions"> |
17180 | bpr | 77 | <input type="submit" name="save" value="$wims_name_tosave"> |
12705 | bpr | 78 | !set wims_ref_class=wims_button wims_secondary_button |
79 | !href cmd=reply&job=list $wims_name_giveup |
||
7486 | bpr | 80 | </div> |
81 | </fieldset> |
||
5927 | bpr | 82 | |
83 | !formend |
||
11980 | obado | 84 | <div class="wims_msg info">$name_warning</div> |
2781 | bpr | 85 | |
23 | reyssat | 86 | !read conf/$catname.phtml |