!if $datacnt<1
  $name_warning_new
  !exit
!endif

!set table_id=TABLE_new_modules
!set table_class=sortable
!reset table_center
$table_header
<caption>$name_newmodule
  <a href="$w_/rss/new.xml"><img src="gifs/rss.png" alt="rss"></a></caption>
<thead>
  $table_hdtr<th>$wims_name_date</th><th>$wims_name_Language</th>
   <th>$wims_name_title</th><th>$wims_name_Description</th>
  </tr>
</thead>
<tbody>
!for i=1 to $datacnt
  !set l=!line $i of $data
  !distribute words $l into d_,a_,v_
  !set la=!module language $a_
  !set tit=!module title_$lang $a_
  !set desc=!module description_$lang $a_
  !set cat=!module category $a_
  !read category $cat
  !if $tit=
    !set tit=!module title $a_
  !endif
  !if $desc=
    !set desc=!module description $a_
  !endif
  $table_tr
    <td class="small">
      !char 1 to 8 of $d_
    </td><td class="wimscenter small">$la
      !module translation_language $a_
    </td><td>
      !set wims_ref_class=wims_$(cat)_item
      !href target=wims_test module=$a_ $tit
    </td><td>$desc</td>
  </tr>
  !reset desc tit
!next i
</tbody>
$table_end
!read tablesort.phtml
