Subversion Repositories wimsdev

Rev

Rev 12411 | Rev 12879 | Go to most recent revision | 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
11707 bpr 11
iconlist=!sh cd gifs/themes; ls -d */ | sort
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
 
29
!read adm/du $wims_home/log/classes/$wims_class
12425 obado 30
 
31
!defread wimshome/public_html/bases/sys/defaults.conf
32
 
33
!default wims_ref_bgcolor=!defof DF_ref_bgcolor in wimshome/public_html/bases/sys/defaults.conf
34
!default wims_ref_bgcolor=!defof DF_ref_bgcolor in wimshome/public_html/bases/sys/defaults.conf
35
 
36
 
37
!for cl in bgcolor,ref_menucolor,ref_button_bgcolor,ref_menucolor,\
38
  ref_button_bgcolor,ref_button_color,ref_button_help_color,\
39
  ref_button_help_bgolor,refcolor,pr_bgcolor
40
  !default class_$cl=$(wims_$cl)
41
  !!set class_$cl=red
42
 
43
  !!for compatibility
44
  !set class_$cl=!replace internal white by #FFFFFF in $(class_$cl)
45
  !set class_$cl=!replace internal red by #FF0000 in $(class_$cl)
46
  !set class_$cl=!replace internal orange by #FFA500 in $(class_$cl)
47
  !set class_$cl=!replace internal yellow by #FFFF00 in $(class_$cl)
48
  !set class_$cl=!replace internal green by #00FF00 in $(class_$cl)
49
!next
50
 
51
!default class_refcolor=$(wims_ref_bgcolor)