Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
14297 guerimand 1
!!read themes/_widgets/user_varfreework.phtml
2
!if $fwcnt>0
14836 obado 3
  <!-- _widgets/usersfreework.phtml -->
14297 guerimand 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
17440 guerimand 9
    !distribute lines $sh into ac,bl,ti,d_,bl,bl,t_
14836 obado 10
    <li class="wims_freework_item">
14769 guerimand 11
      <span class="wims_user_freework_type">$wims_name_Freework $i.</span>
12
      <span class="wims_user_freework_title">
14297 guerimand 13
        !href module=adm/class/freework&freework=$i $ti
14
      </span>
14769 guerimand 15
      <ul class="wims_freework_info">
14297 guerimand 16
        !if $ac>=2
17
          <li><span class="wims_status wims_status_3">$U_expired</span></li>
18
        !else
17440 guerimand 19
!!          !if showshexpire iswordof $class_option
20
!! if a parameter is needed, a new name should be choose.
14769 guerimand 21
            <li class="wims_user_freework_expire small">
14297 guerimand 22
              !read misc/expire.phtml.$lang $t_
23
            </li>
17440 guerimand 24
!!          !endif
14297 guerimand 25
        !endif
14836 obado 26
      </ul>
14297 guerimand 27
  !next i
28
  </ul>
29
  </div>
30
<!-- end _widgets/usersfreework.phtml -->
31
!endif
32