Subversion Repositories wimsdev

Rev

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

Rev 16173 Rev 16176
Line 7... Line 7...
7
!let listfile=motd.phtml,manager_msg.phtml
7
!let listfile=motd.phtml,manager_msg.phtml
8
motdfile=$(listfile[$motd_type]).$motd_lang
8
motdfile=$(listfile[$motd_type]).$motd_lang
9
 
9
 
10
!if $save!=$empty
10
!if $save!=$empty
11
  motd_desc=!word 1 to $max_motdchar of $motd_desc
11
  motd_desc=!word 1 to $max_motdchar of $motd_desc
12
  !if $motd_desc= 
12
  !if $motd_desc=$empty
13
    !sh rm $wims_home/log/$motdfile
13
    !sh rm $wims_home/log/$motdfile
14
  !else
14
  !else
15
    !writefile wimshome/log/$motdfile $motd_desc
15
    !writefile wimshome/log/$motdfile $motd_desc
16
  !endif
16
  !endif
17
  !reset save,motd_desc
17
  !reset save,motd_desc