Subversion Repositories wimsdev

Rev

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

  1.  
  2. !if $datacnt<1
  3.   $name_warning_update
  4.   !exit
  5. !endif
  6.  
  7. !set table_id=TABLE_new_modules
  8. !set table_class=sortable
  9. !reset table_center
  10. $table_header
  11. <caption>$name_updatemodule
  12.   <a href="$w_/rss/modif.xml"><img src="gifs/rss.png" alt="rss" /></a></caption>
  13. <thead>
  14.   $table_hdtr<th>$wims_name_date</th><th>$wims_name_Language</th>
  15.   <th>$wims_name_title</th><th>$wims_name_Description</th>
  16.   <th>$name_new</th></tr>
  17. </thead>
  18. <tbody>
  19. !for i=1 to $datacnt
  20.   !set l=!line $i of $data
  21.   !distribute words $l into d_,a_,v_
  22.   !set la=!module language $a_
  23.   !set tit=!module title_$lang $a_
  24.   !set desc=!module description_$lang $a_
  25.   !if $tit=
  26.     !set tit=!module title $a_
  27.   !endif
  28.   !set cat=!module category $a_
  29.   !read category $cat
  30.   !if $desc=
  31.     !set desc=!module description $a_
  32.   !endif
  33.   $table_tr
  34.     <td class="wimscenter small">
  35.       !char 1 to 8 of $d_
  36.     </td><td class="wimscenter">$la
  37.       !module translation_language $a_
  38.     </td><td>
  39.       !set wims_ref_class=wims_$(cat)_item
  40.       !href target=wims_test module=$a_ $tit
  41.     </td><td>
  42.       $desc
  43.     </td><td class="wimscenter">$v_</td>
  44.   </tr>
  45.   !reset desc tit
  46. !next i
  47. </tbody>
  48. $table_end
  49. !read tablesort.phtml
  50.