Rev 17800 | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 5989 | bpr | 1 | <!-- _widgets/motd.phtml --> |
| 2 | |||
| 7325 | bpr | 3 | !readproc wimshome/log/classes/$wims_class/.users/$wims_user |
| 4 | !set mot_=!record 0 of wimshome/log/classes/$wims_class/.motd |
||
| 5 | !set mot_=!replace internal \var_ by $$user__ in $mot_ |
||
| 17170 | bpr | 6 | !if $mot_!=$empty and $mot_ notsametext <br> |
| 17847 | obado | 7 | <div id="wims_class_motd" class="wims_msg info"> |
| 7325 | bpr | 8 | $mot_ |
| 17847 | obado | 9 | !! !read ./wimshome/log/classes/$wims_class/.motd |
| 10 | </div> |
||
| 7325 | bpr | 11 | !endif |
| 17800 | bpr | 12 | !if anonymous isin $wims_user |
| 13 | !let test2=!record 0 of wimshome/log/classes/$wims_class/motd/anonymous |
||
| 14 | !let test= |
||
| 15 | !else |
||
| 16 | !let test2=!record 0 of wimshome/log/classes/$wims_class/motd/$wims_user |
||
| 17 | !let test=!record 0 of wimshome/log/classes/$wims_class/motd/.$wims_user |
||
| 18 | !endif |
||
| 5989 | bpr | 19 | !if # notin $test and $test2!=$empty |
| 17847 | obado | 20 | <div id="wims_class_pmotd" class="wims_msg info"> |
| 21 | !set mot_=!replace internal \var_ by $$user__ in $test2 |
||
| 22 | $mot_ |
||
| 23 | !if anonymous notin $wims_user |
||
| 24 | !! !read ./wimshome/log/classes/$wims_class/motd/$wims_user |
||
| 25 | [ |
||
| 26 | !href module=adm/class/motd $(wims_name_actionlist[4]) |
||
| 27 | ] |
||
| 28 | !endif |
||
| 29 | </div> |
||
| 5989 | bpr | 30 | !endif |
| 5990 | bpr | 31 | <!-- end _widgets/motd.phtml --> |