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