Rev 12411 | Rev 12880 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 12411 | Rev 12879 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | !!!### language independant |
1 | !!!### language independant |
2 | !set wims_form_method=file |
2 | !set wims_form_method=file |
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 | - | ||
14 | !!why is it different ??? |
- | |
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) |
- | |
21 | 3 | ||
22 | !form reply |
4 | !form reply |
23 | <input type="hidden" name="up_job" value="present" /> |
5 | <input type="hidden" name="up_job" value="present" /> |
24 | <fieldset class="property_fields blockcenter"> |
6 | <fieldset class="property_fields blockcenter"> |
25 | <legend>$title</legend> |
7 | <legend>$title</legend> |
26 | 8 | ||
27 | <div class="field box halfwidth"> |
9 | <div class="field box halfwidth"> |
28 | <label for="pr_logo">$name_logo</label> |
10 | <label for="pr_logo">$name_logo</label> |
29 | !set wims_ref_class=wims_button_help float_right |
11 | !set wims_ref_class=wims_button_help float_right |
30 | !href cmd=help&special_parm=config&special_parm2=logo $wims_name_help |
12 | !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" /> |
13 | <input size="35" name="pr_logo" id="pr_logo" value="$class_logo" /> |
32 | </div> |
14 | </div> |
33 | 15 | ||
34 | <div class="field box halfwidth"> |
16 | <div class="field box halfwidth"> |
35 | <label for="pr_logoside">$name_position_logo</label> |
17 | <label for="pr_logoside">$name_position_logo</label> |
36 | !set wims_ref_class=wims_button_help float_right |
18 | !set wims_ref_class=wims_button_help float_right |
37 | !href cmd=help&special_parm=config&special_parm2=logo $wims_name_help |
19 | !href cmd=help&special_parm=config&special_parm2=logo $wims_name_help |
38 | !set pr_logoside=$class_logoside |
20 | !set pr_logoside=$class_logoside |
39 | !formselect pr_logoside list left,right prompt $name_logo_side |
21 | !formselect pr_logoside list left,right prompt $name_logo_side |
Line 53... | Line 35... | ||
53 | <input size="35" name="pr_bgimg" id="pr_bgimg" value="$class_bgimg" /> |
35 | <input size="35" name="pr_bgimg" id="pr_bgimg" value="$class_bgimg" /> |
54 | </div> |
36 | </div> |
55 | 37 | ||
56 | <div class="field box halfwidth"> |
38 | <div class="field box halfwidth"> |
57 | <label for="pr_refcolor">$name_menu_color</label> |
39 | <label for="pr_refcolor">$name_menu_color</label> |
58 | !set wims_ref_class=wims_button_help float_right |
40 | !set wims_ref_class=wims_button_help float_right |
59 | !href cmd=help&special_parm=config&special_parm2=bgcolor $wims_name_help |
41 | !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" /> |
42 | <input size="10" name="pr_refcolor" id="pr_refcolor" value="$class_refcolor" type="color" /> |
61 | </div> |
43 | </div> |
62 | 44 | ||
63 | <div class="field box halfwidth"> |
45 | <div class="field box halfwidth"> |
64 | <label for="pr_ref_menucolor">$name_refmenu_color</label> |
46 | <label for="pr_ref_menucolor">$name_refmenu_color</label> |
65 | !set wims_ref_class=wims_button_help float_right |
47 | !set wims_ref_class=wims_button_help float_right |
66 | !href cmd=help&special_parm=config&special_parm2=bgcolor $wims_name_help |
48 | !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" /> |
49 | <input size="10" name="pr_ref_menucolor" id="pr_ref_menucolor" value="$class_ref_menucolor" type="color" /> |
68 | </div> |
50 | </div> |
69 | 51 | ||
70 | <div class="field box halfwidth"> |
52 | <div class="field box halfwidth"> |
71 | <label for="pr_ref_button_bgcolor">$name_button_bgcolor</label> |
53 | <label for="pr_ref_button_bgcolor">$name_button_bgcolor</label> |
72 | !set wims_ref_class=wims_button_help float_right |
54 | !set wims_ref_class=wims_button_help float_right |
73 | !href cmd=help&special_parm=config&special_parm2=bgcolor $wims_name_help |
55 | !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" /> |
56 | <input size="10" name="pr_ref_button_bgcolor" id="pr_ref_button_bgcolor" value="$class_ref_button_bgcolor" type="color" /> |
75 | </div> |
57 | </div> |
76 | 58 | ||
77 | <div class="field box halfwidth"> |
59 | <div class="field box halfwidth"> |
78 | <label for="pr_ref_button_color">$name_button_color</label> |
60 | <label for="pr_ref_button_color">$name_button_color</label> |
79 | !set wims_ref_class=wims_button_help float_right |
61 | !set wims_ref_class=wims_button_help float_right |
80 | !href cmd=help&special_parm=config&special_parm2=bgcolor $wims_name_help |
62 | !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" /> |
63 | <input size="10" name="pr_ref_button_color" id="pr_ref_button_color" value="$class_ref_button_color" type="color" /> |
82 | </div> |
64 | </div> |
83 | 65 | ||
84 | <div class="field box halfwidth"> |
66 | <div class="field box halfwidth"> |
85 | <label for="pr_ref_button_help_bgcolor">$name_button_help_bgcolor</label> |
67 | <label for="pr_ref_button_help_bgcolor">$name_button_help_bgcolor</label> |
86 | !set wims_ref_class=wims_button_help float_right |
68 | !set wims_ref_class=wims_button_help float_right |
87 | !href cmd=help&special_parm=config&special_parm2=bgcolor $wims_name_help |
69 | !href cmd=help&special_parm=config&special_parm2=bgcolor $wims_name_help |
Line 101... | Line 83... | ||
101 | !read adm/class/colors |
83 | !read adm/class/colors |
102 | <input size="5" id="pr_sccolor12" name="pr_sccolor12" value="$(class_scorecolor[12])" type="color" /> |
84 | <input size="5" id="pr_sccolor12" name="pr_sccolor12" value="$(class_scorecolor[12])" type="color" /> |
103 | !for col=1 to 11 |
85 | !for col=1 to 11 |
104 | <label for="pr_sccolor$col" class="show-for-sr">$[$col-1]</label> |
86 | <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" /> |
87 | <input size="5" id="pr_sccolor$col" name="pr_sccolor$col" value="$(class_scorecolor[$col])" type="color" /> |
106 | !next col |
88 | !next col |
107 | </p> |
89 | </p> |
108 | <div class="formHelp">$name_helpcolor</div> |
90 | <div class="formHelp">$name_helpcolor</div> |
109 | </div> |
91 | </div> |
110 | 92 | ||
111 | <div class="field box"> |
93 | <div class="field box"> |
112 | <strong>$name_coloract</strong> |
94 | <strong>$name_coloract</strong> |
113 | < |
95 | <div> |
114 | !set actcolor_list=color,sheet,exam,doc,vote,exo,tool |
96 | !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 |
97 | !set name_actcolor=$name_act_color,$name_sheets,$name_exam, $wims_name_docs,$name_vote,$wims_name_exercises,$wims_name_tools |
116 | !set actcolor_cnt=!itemcnt $actcolor_list |
98 | !set actcolor_cnt=!itemcnt $actcolor_list |
117 | !default class_actcolor=#000000,#CCCCFF,#99CCFF,#9999FF,#6666FF,#FFFFFF,#99CCDD |
99 | !default class_actcolor=#000000,#CCCCFF,#99CCFF,#9999FF,#6666FF,#FFFFFF,#99CCDD |
118 | !for col=1 to $actcolor_cnt |
100 | !for col=1 to $actcolor_cnt |
119 | < |
101 | <div class="inline" style="margin-right:1em;"> |
120 | <label for="pr_actcolor |
102 | <label for="pr_actcolor$col">$(name_actcolor[$col])</label> <input |
- | 103 | size="5" id="pr_actcolor$col" name="pr_actcolor$col" value="$(class_actcolor[$col])" type="color" /> |
|
- | 104 | </div> |
|
121 | !next col |
105 | !next col |
122 | </ |
106 | </div> |
123 | </div> |
107 | </div> |
124 | 108 | ||
125 | <div class="field box halfwidth"> |
109 | <div class="field box halfwidth"> |
126 | <label for="pr_theme">$name_theme</label> |
110 | <label for="pr_theme">$name_theme</label> |
127 | !set wims_ref_class=wims_button_help float_right |
111 | !set wims_ref_class=wims_button_help float_right |