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