Subversion Repositories wimsdev

Rev

Rev 7325 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

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