Subversion Repositories wimsdev

Rev

Rev 1127 | Rev 1176 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1127 Rev 1170
Line -... Line 1...
-
 
1
!!## load the css file of a class by a link in the header
1
!distribute words $wims_read_parm into css_file
2
!!distribute words $wims_read_parm into css_file
2
!default module_title2=$module_title
3
!default module_title2=$module_title
-
 
4
 
3
!if $wims_css=----
5
!set css_file=!sh cat $wims_home/log/classes/$wims_class/css
-
 
6
 
4
  !set css_file=$wims_theme/css.css
7
!if $css_file=$empty
5
!else
8
!exit
6
  !set css_file=html/css/$lang/$(wims_css)_color.css
-
 
7
!endif
9
!endif
8
!default css_file=$wims_theme/css.css
-
 
9
!set css_file=!record 0 of wimshome/public_html/$css_file
-
 
10
!set css_file=!replace internal $$$wims_bgcolor by $$wims_bgcolor in $css_file
10
!set css_file=!replace internal $$$wims_bgcolor by $$wims_bgcolor in $css_file
11
!set css_file=!replace internal $$$wims_ref_bgcolor by $$wims_ref_bgcolor in $css_file
11
!set css_file=!replace internal $$$wims_ref_bgcolor by $$wims_ref_bgcolor in $css_file
12
!writefile getfile/css.css $css_file
12
!writefile getfile/css.css $css_file
13
 
13
 
14
!set wims_html_header=!append line <link href="$wims_ref_name?session=$session&+cmd=getfile&+special_parm=css.css" rel="stylesheet" title="$module_title2" type="text/css">\
14
!set wims_html_header=!append line <link href="$wims_ref_name?session=$session&+cmd=getfile&+special_parm=css.css" rel="stylesheet" title="$module_title2" type="text/css">\