Subversion Repositories wimsdev

Rev

Rev 17800 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 17800 Rev 17847
Line 2... Line 2...
2
 
2
 
3
!readproc wimshome/log/classes/$wims_class/.users/$wims_user
3
!readproc wimshome/log/classes/$wims_class/.users/$wims_user
4
!set mot_=!record 0 of wimshome/log/classes/$wims_class/.motd
4
!set mot_=!record 0 of wimshome/log/classes/$wims_class/.motd
5
!set mot_=!replace internal \var_ by $$user__ in $mot_
5
!set mot_=!replace internal \var_ by $$user__ in $mot_
6
!if $mot_!=$empty and $mot_ notsametext <br>
6
!if $mot_!=$empty and $mot_ notsametext <br>
7
 <div class="wims_class_motd">
7
 <div id="wims_class_motd" class="wims_msg info">
8
   $mot_
8
   $mot_
9
!! !read ./wimshome/log/classes/$wims_class/.motd
9
   !! !read ./wimshome/log/classes/$wims_class/.motd
10
 </div><!--end of wims_class_motd-->
10
 </div>
11
!endif
11
!endif
12
!if anonymous isin $wims_user
12
!if anonymous isin $wims_user
13
  !let test2=!record 0 of wimshome/log/classes/$wims_class/motd/anonymous
13
  !let test2=!record 0 of wimshome/log/classes/$wims_class/motd/anonymous
14
  !let test=
14
  !let test=
15
!else
15
!else
16
  !let test2=!record 0 of wimshome/log/classes/$wims_class/motd/$wims_user
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
17
  !let test=!record 0 of wimshome/log/classes/$wims_class/motd/.$wims_user
18
!endif
18
!endif
19
!if # notin $test and $test2!=$empty
19
!if # notin $test and $test2!=$empty
20
  <div class="wims_class_pmotd">
20
  <div id="wims_class_pmotd" class="wims_msg info">
21
   !set mot_=!replace internal \var_ by $$user__ in $test2
21
    !set mot_=!replace internal \var_ by $$user__ in $test2
22
   $mot_
22
    $mot_
23
  !if anonymous notin $wims_user
23
    !if anonymous notin $wims_user
24
    !!  !read ./wimshome/log/classes/$wims_class/motd/$wims_user
24
      !!  !read ./wimshome/log/classes/$wims_class/motd/$wims_user
25
    &nbsp; [
25
      &nbsp; [
26
    !href module=adm/class/motd $(wims_name_actionlist[4])
26
      !href module=adm/class/motd $(wims_name_actionlist[4])
27
    ]
27
      ]
28
  !endif
28
    !endif
29
  </div><!-- end of wims_class_pmotd-->
29
  </div>
30
!endif
30
!endif
31
<!-- end _widgets/motd.phtml -->
31
<!-- end _widgets/motd.phtml -->