Rev 13377 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | |
2 | tmp_themelist=!sh find themes -name visitor.phtml | sed 's!^themes/!!;s!/visitor.phtml$!!' |
||
3 | tmp_themelist=!words2items $tmp_themelist |
||
4 | themelist=$empty |
||
5 | !for i in $tmp_themelist |
||
12411 | bpr | 6 | test=!defof theme_hide in wimshome/public_html/themes/$i/.def |
7 | !if yes notin $test |
||
8 | themelist=!append item $i to $themelist |
||
9 | !endif |
||
23 | reyssat | 10 | !next i |
13377 | obado | 11 | iconlist=!sh cd gifs/themes; ls -d */ | sort -f |
11707 | bpr | 12 | iconlist=!replace internal / by in $iconlist |
1364 | bpr | 13 | iconlist=!words2items $iconlist |
10483 | obado | 14 | !for icon_theme in $iconlist |
15 | !set icon_title=!defof title in wimshome/public_html/gifs/themes/$icon_theme/INDEX |
||
16 | !set iconpromptlist=!append item $icon_title to $iconpromptlist |
||
17 | !next |
||
12425 | obado | 18 | csslist=!words2items -theme- class ---- |
23 | reyssat | 19 | cssfile=!record 0 of wimshome/log/classes/$wims_class/css |
20 | bgimgs=!filelist gifs/bg |
||
21 | |||
22 | !if $save!=$empty |
||
12411 | bpr | 23 | !read scripts/setdefr.proc |
24 | !defread wimshome/log/classes/$wims_class/.def |
||
25 | cssfile=$pr_cssfile |
||
26 | wims_class_log=Modify class presentation by $wims_realuser |
||
23 | reyssat | 27 | !endif |
28 | |||
14316 | guerimand | 29 | !!read adm/du $wims_home/log/classes/$wims_class |
12425 | obado | 30 | |
31 | !for cl in bgcolor,ref_menucolor,ref_button_bgcolor,ref_menucolor,\ |
||
32 | ref_button_bgcolor,ref_button_color,ref_button_help_color,\ |
||
12879 | obado | 33 | ref_button_help_bgcolor,pr_bgcolor |
34 | |||
12425 | obado | 35 | !default class_$cl=$(wims_$cl) |
12879 | obado | 36 | !default class_$cl=!defof DF_$cl in wimshome/public_html/bases/sys/defaults.conf |
12425 | obado | 37 | |
38 | !!for compatibility |
||
39 | !set class_$cl=!replace internal white by #FFFFFF in $(class_$cl) |
||
40 | !set class_$cl=!replace internal red by #FF0000 in $(class_$cl) |
||
41 | !set class_$cl=!replace internal orange by #FFA500 in $(class_$cl) |
||
42 | !set class_$cl=!replace internal yellow by #FFFF00 in $(class_$cl) |
||
43 | !set class_$cl=!replace internal green by #00FF00 in $(class_$cl) |
||
44 | !next |
||
45 | |||
12879 | obado | 46 | !! Sadly, wims_refcolor does not exist : it is wims_ref_bgcolor |
47 | !default class_refcolor=$wims_ref_bgcolor |