Rev 16176 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
16173 | guerimand | 1 | !! change motd supervisor and server in log directory |
2 | max_motdchar=4000 |
||
3 | |||
4 | !bound motd_type within 1,2 default 1 |
||
5 | list_lang=!words2items $wims_site_languages |
||
6 | !bound motd_lang within $list_lang default $(list_lang[1]) |
||
7 | !let listfile=motd.phtml,manager_msg.phtml |
||
8 | motdfile=$(listfile[$motd_type]).$motd_lang |
||
9 | |||
10 | !if $save!=$empty |
||
11 | motd_desc=!word 1 to $max_motdchar of $motd_desc |
||
16176 | obado | 12 | !if $motd_desc=$empty |
16173 | guerimand | 13 | !sh rm $wims_home/log/$motdfile |
14 | !else |
||
15 | !writefile wimshome/log/$motdfile $motd_desc |
||
16 | !endif |
||
17 | !reset save,motd_desc |
||
18 | !endif |
||
19 | |||
16267 | guerimand | 20 | !!!bound motd_option within 1,2 default 1 |
21 | !reset save |