Subversion Repositories wimsdev

Rev

Rev 14836 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !!read themes/_widgets/user_varfreework.phtml
  2. !if $fwcnt>0
  3.   <!-- _widgets/usersfreework.phtml -->
  4.   <div class="wims_seq" id="wims_user_freework">
  5.   <ul class="wims_work_list">
  6.   !for i in $fw_list
  7.     !set s_=!item $i of $ds_list
  8.     !set sh=!record $i of wimshome/log/classes/$wims_class/freeworks/.freeworks
  9.     !distribute lines $sh into ac,bl,ti,d_,bl,bl,t_
  10.     <li class="wims_freework_item">
  11.       <span class="wims_user_freework_type">$wims_name_Freework $i.</span>
  12.       <span class="wims_user_freework_title">
  13.         !href module=adm/class/freework&freework=$i $ti
  14.       </span>
  15.       <ul class="wims_freework_info">
  16.         !if $ac>=2
  17.           <li><span class="wims_status wims_status_3">$U_expired</span></li>
  18.         !else
  19. !!          !if showshexpire iswordof $class_option
  20. !! if a parameter is needed, a new name should be choose.
  21.             <li class="wims_user_freework_expire small">
  22.               !read misc/expire.phtml.$lang $t_
  23.             </li>
  24. !!          !endif
  25.         !endif
  26.       </ul>
  27.   !next i
  28.   </ul>
  29.   </div>
  30. <!-- end _widgets/usersfreework.phtml -->
  31. !endif
  32.  
  33.