Subversion Repositories wimsdev

Rev

Rev 12411 | Rev 12879 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed


tmp_themelist=!sh find themes -name visitor.phtml | sed 's!^themes/!!;s!/visitor.phtml$!!'
tmp_themelist=!words2items $tmp_themelist
themelist=$empty
!for i in $tmp_themelist
  test=!defof theme_hide in wimshome/public_html/themes/$i/.def
  !if yes notin $test
    themelist=!append item $i to $themelist
  !endif
!next i
iconlist=!sh cd gifs/themes; ls -d */ | sort
iconlist=!replace internal / by in $iconlist
iconlist=!words2items $iconlist
!for icon_theme in $iconlist
  !set icon_title=!defof title in wimshome/public_html/gifs/themes/$icon_theme/INDEX
  !set iconpromptlist=!append item $icon_title to $iconpromptlist
!next
csslist=!words2items -theme- class ----
cssfile=!record 0 of wimshome/log/classes/$wims_class/css
bgimgs=!filelist gifs/bg

!if $save!=$empty
  !read scripts/setdefr.proc
  !defread wimshome/log/classes/$wims_class/.def
  cssfile=$pr_cssfile
  wims_class_log=Modify class presentation by $wims_realuser
!endif

!read adm/du $wims_home/log/classes/$wims_class

!defread wimshome/public_html/bases/sys/defaults.conf

!default wims_ref_bgcolor=!defof DF_ref_bgcolor in wimshome/public_html/bases/sys/defaults.conf
!default wims_ref_bgcolor=!defof DF_ref_bgcolor in wimshome/public_html/bases/sys/defaults.conf


!for cl in bgcolor,ref_menucolor,ref_button_bgcolor,ref_menucolor,\
  ref_button_bgcolor,ref_button_color,ref_button_help_color,\
  ref_button_help_bgolor,refcolor,pr_bgcolor
  !default class_$cl=$(wims_$cl)
  !!set class_$cl=red

  !!for compatibility
  !set class_$cl=!replace internal white by #FFFFFF in $(class_$cl)
  !set class_$cl=!replace internal red by #FF0000 in $(class_$cl)
  !set class_$cl=!replace internal orange by #FFA500 in $(class_$cl)
  !set class_$cl=!replace internal yellow by #FFFF00 in $(class_$cl)
  !set class_$cl=!replace internal green by #00FF00 in $(class_$cl)
!next

!default class_refcolor=$(wims_ref_bgcolor)