Rev 7899 | Rev 9636 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1972 | bpr | 1 | !!!### language independant |
565 | bpr | 2 | !set wims_form_method=file |
7770 | bpr | 3 | !for cl in bgcolor,ref_menucolor,ref_button_bgcolor,ref_menucolor,\ |
4 | ref_button_bgcolor,ref_button_color,ref_button_help_color,ref_button_help_bgolor |
||
5 | !default class_$cl=$(wims_$cl) |
||
6 | !!for compatibility |
||
7 | !set class_$cl=!replace internal white by #FFFFFF in $(class_$cl) |
||
8 | !set class_$cl=!replace internal red by #FF0000 in $(class_$cl) |
||
9 | !set class_$cl=!replace internal orange by #FFA500 in $(class_$cl) |
||
10 | !set class_$cl=!replace internal yellow by #FFFF00 in $(class_$cl) |
||
11 | !set class_$cl=!replace internal green by #00FF00 in $(class_$cl) |
||
12 | !next |
||
13 | !!why is it different ??? |
||
14 | !default class_refcolor=$(wims_ref_bgcolor) |
||
15 | !set class_refcolor=!replace internal white by #FFFFFF in $(class_refcolor) |
||
16 | !set class_refcolor=!replace internal red by #FF0000 in $(class_refcolor) |
||
17 | !set class_refcolor=!replace internal orange by #FFA500 in $(class_refcolor) |
||
18 | !set class_refcolor=!replace internal yellow by #FFFF00 in $(class_refcolor) |
||
19 | !set class_refcolor=!replace internal green by #00FF00 in $(class_refcolor) |
||
23 | reyssat | 20 | !form reply |
6235 | bpr | 21 | <input type="hidden" name="up_job" value="present" /> |
7489 | bpr | 22 | <fieldset class="property_fields blockcenter"> |
23 | <legend>$wims_class</legend> |
||
7530 | bpr | 24 | <div class="field box halfwidth"> |
7489 | bpr | 25 | <label for="pr_logo">$name_logo</label> |
26 | !set wims_ref_class=wims_button_help float_right |
||
1307 | bpr | 27 | !href cmd=help&special_parm=config&special_parm2=logo $wims_name_help |
7489 | bpr | 28 | <input size="35" name="pr_logo" id="pr_logo" value="$class_logo" /> |
29 | </div> |
||
7530 | bpr | 30 | <div class="field box halfwidth"> |
7489 | bpr | 31 | <label for="pr_logoside">$name_position_logo</label> |
32 | !set wims_ref_class=wims_button_help float_right |
||
1307 | bpr | 33 | !href cmd=help&special_parm=config&special_parm2=logo $wims_name_help |
23 | reyssat | 34 | !set pr_logoside=$class_logoside |
7489 | bpr | 35 | !formselect pr_logoside list left,right prompt $name_logo_side |
36 | </div> |
||
7530 | bpr | 37 | <div class="field box halfwidth"> |
7489 | bpr | 38 | <label for="pr_bgcolor">$name_background_color</label> |
39 | !set wims_ref_class=wims_button_help float_right |
||
7770 | bpr | 40 | |
1307 | bpr | 41 | !href cmd=help&special_parm=config&special_parm2=bgcolor $wims_name_help |
7770 | bpr | 42 | <input size="10" name="pr_bgcolor" id="pr_bgcolor" value="$class_bgcolor" type="color" /> |
7489 | bpr | 43 | </div> |
7530 | bpr | 44 | <div class="field box halfwidth"> |
7489 | bpr | 45 | <label for="pr_bgimg">$name_image</label> |
46 | !set wims_ref_class=wims_button_help float_right |
||
3064 | bpr | 47 | !href cmd=help&special_parm=config&special_parm2=bgimg $wims_name_help |
7489 | bpr | 48 | <input size="35" name="pr_bgimg" id="pr_bgimg" value="$class_bgimg" /> |
49 | </div> |
||
3064 | bpr | 50 | |
7530 | bpr | 51 | <div class="field box halfwidth"> |
7489 | bpr | 52 | <label for="pr_refcolor">$name_menu_color</label> |
53 | !set wims_ref_class=wims_button_help float_right |
||
1307 | bpr | 54 | !href cmd=help&special_parm=config&special_parm2=bgcolor $wims_name_help |
7770 | bpr | 55 | <input size="10" name="pr_refcolor" id="pr_refcolor" value="$class_refcolor" type="color" /> |
7489 | bpr | 56 | </div> |
7530 | bpr | 57 | <div class="field box halfwidth"> |
7489 | bpr | 58 | <label for="pr_ref_menucolor">$name_refmenu_color</label> |
59 | !set wims_ref_class=wims_button_help float_right |
||
2069 | bpr | 60 | !href cmd=help&special_parm=config&special_parm2=bgcolor $wims_name_help |
7770 | bpr | 61 | <input size="10" name="pr_ref_menucolor" id="pr_ref_menucolor" value="$class_ref_menucolor" type="color" /> |
7489 | bpr | 62 | </div> |
3064 | bpr | 63 | |
7530 | bpr | 64 | <div class="field box halfwidth"> |
7489 | bpr | 65 | <label for="pr_ref_button_bgcolor">$name_button_bgcolor</label> |
66 | !set wims_ref_class=wims_button_help float_right |
||
3064 | bpr | 67 | !href cmd=help&special_parm=config&special_parm2=bgcolor $wims_name_help |
7770 | bpr | 68 | <input size="10" name="pr_ref_button_bgcolor" id="pr_ref_button_bgcolor" value="$class_ref_button_bgcolor" type="color" /> |
7489 | bpr | 69 | </div> |
7530 | bpr | 70 | <div class="field box halfwidth"> |
7489 | bpr | 71 | <label for="pr_ref_button_color">$name_button_color</label> |
72 | !set wims_ref_class=wims_button_help float_right |
||
3064 | bpr | 73 | !href cmd=help&special_parm=config&special_parm2=bgcolor $wims_name_help |
7770 | bpr | 74 | <input size="10" name="pr_ref_button_color" id="pr_ref_button_color" value="$class_ref_button_color" type="color" /> |
7489 | bpr | 75 | </div> |
3064 | bpr | 76 | |
7530 | bpr | 77 | <div class="field box halfwidth"> |
7489 | bpr | 78 | <label for="pr_ref_button_help_bgcolor">$name_button_help_bgcolor</label> |
79 | !set wims_ref_class=wims_button_help float_right |
||
3064 | bpr | 80 | !href cmd=help&special_parm=config&special_parm2=bgcolor $wims_name_help |
7770 | bpr | 81 | <input size="10" name="pr_ref_button_help_bgcolor" id="pr_ref_button_help_bgcolor" value="$class_ref_button_help_bgcolor" type="color" /> |
7530 | bpr | 82 | </div> |
83 | <div class="field box halfwidth"> |
||
7489 | bpr | 84 | <label for="pr_ref_button_help_color">$name_button_help_color</label> |
85 | !set wims_ref_class=wims_button_help float_right |
||
3064 | bpr | 86 | !href cmd=help&special_parm=config&special_parm2=bgcolor $wims_name_help |
7770 | bpr | 87 | <input size="10" name="pr_ref_button_help_color" id="pr_ref_button_help_color" value="$class_ref_button_help_color" type="color" /> |
7489 | bpr | 88 | </div> |
3064 | bpr | 89 | |
7489 | bpr | 90 | <div class="field box"> |
91 | <label for="">$name_colorscore</label> |
||
92 | <br /> |
||
7770 | bpr | 93 | !read adm/class/colors |
1322 | guerimand | 94 | !for col=1 to 11 |
7770 | bpr | 95 | <input size="5" name="pr_sccolor$col" value="$(class_scorecolor[$col])" type="color" /> |
1322 | guerimand | 96 | !next col |
7489 | bpr | 97 | </div> |
7836 | bpr | 98 | <div class="field box"> |
99 | <label for="">$name_coloract</label> |
||
100 | <br /> |
||
7899 | bpr | 101 | !set actcolor_list=color,sheet,exam,doc,vote,exo |
102 | !set name_actcolor=$name_act_color,$name_sheets,$name_exam, $wims_name_docs,$name_vote,$wims_name_exercises |
||
7836 | bpr | 103 | !set actcolor_cnt=!itemcnt $actcolor_list |
7899 | bpr | 104 | !default class_actcolor=#000000,#CCCCFF,#99CCFF,#9999FF,#6666FF,#FFFFFF |
7836 | bpr | 105 | !for col=1 to $actcolor_cnt |
7899 | bpr | 106 | <input size="5" id="pr_actcolor$col" name="pr_actcolor$col" value="$(class_actcolor[$col])" type="color" /> |
107 | <label for="pr_actcolor$col">$(name_actcolor[$col])</label> |
||
7836 | bpr | 108 | !next col |
109 | </div> |
||
7530 | bpr | 110 | <div class="field box halfwidth"> |
7489 | bpr | 111 | <label for="pr_theme">$name_theme</label> |
112 | !set wims_ref_class=wims_button_help float_right |
||
1307 | bpr | 113 | !href cmd=help&special_parm=config&special_parm2=theme $wims_name_help |
7489 | bpr | 114 | |
23 | reyssat | 115 | !set pr_theme=$class_theme |
116 | !formselect pr_theme list $themelist |
||
7489 | bpr | 117 | </div> |
7530 | bpr | 118 | <div class="field box halfwidth"> |
7489 | bpr | 119 | <label for="pr_theme_icon">$name_theme_icon</label> |
120 | !set wims_ref_class=wims_button_help float_right |
||
1364 | bpr | 121 | !href cmd=help&special_parm=config&special_parm2=icon $wims_name_help |
122 | !set pr_theme_icon=$class_theme_icon |
||
123 | !formselect pr_theme_icon list $iconlist |
||
7489 | bpr | 124 | </div> |
125 | |||
7530 | bpr | 126 | <div class="field box halfwidth"> |
7489 | bpr | 127 | <label for="pr_css">$name_css (css)</label> |
128 | !set wims_ref_class=wims_button_help float_right |
||
1307 | bpr | 129 | !href cmd=help&special_parm=config&special_parm2=css $wims_name_help |
3064 | bpr | 130 | |
23 | reyssat | 131 | !set pr_css=$class_css |
132 | !formselect pr_css list $csslist |
||
7489 | bpr | 133 | </div> |
7530 | bpr | 134 | <div class="field box halfwidth"> |
7489 | bpr | 135 | <label for="">$name_css_transfer ($name_content_style) |
136 | <input type="file" name="wims_deposit" /> |
||
8054 | obado | 137 | <br /> |
7489 | bpr | 138 | <label for="">$name_content_style2</label> |
139 | <textarea rows="6" cols="45" name="pr_cssfile" id="pr_cssfile"> |
||
140 | $cssfile |
||
141 | </textarea> |
||
142 | </div> |
||
7530 | bpr | 143 | <div class="field box halfwidth"> |
8054 | obado | 144 | <label for="pr_homepage">$wims_name_class_home</label> |
145 | !set wims_ref_class=wims_button_help float_right |
||
146 | !href cmd=help&special_parm=config&special_parm2=homepage $wims_name_help |
||
7530 | bpr | 147 | <input size="35" name="pr_homepage" id="pr_homepage" value="$class_homepage" /> |
8054 | obado | 148 | </div> |
149 | <div class="wimscenter wimsform"> |
||
150 | <input type="submit" name="save" value="$wims_name_tosave" /> |
||
151 | |
||
152 | <input type="submit" name="abandon" value="$wims_name_giveup" class="wims_secondary_button" /> |
||
7530 | bpr | 153 | </div> |
8054 | obado | 154 | </fieldset> |
5926 | bpr | 155 | !formend |
23 | reyssat | 156 | |
5926 | bpr | 157 | |
3064 | bpr | 158 | !reset pr_logo, pr_logoside, pr_bgcolor,pr_refcolor, pr_ref_menucolor,\ |
159 | pr_ref_button_color,pr_ref_button_bgcolor,pr_ref_button_help_color,pr_ref_button_help_bgcolor, \ |
||
160 | pr_bgimg, pr_theme, pr_css, pr_theme_icon, pr_homepage, pr_cssfile |
||
23 | reyssat | 161 |