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