noalyss  Version-6.7.2
 All Data Structures Namespaces Files Functions Variables Enumerations
tag_list.php
Go to the documentation of this file.
00001 <?php
00002 //This file is part of NOALYSS and is under GPL 
00003 //see licence.txt
00004 ?><?php
00005 $max=$this->cn->count($ret);
00006 echo HtmlInput::filter_table("tag_tb", '0,1', '1');
00007 ?>
00008 <table id="tag_tb">
00009     <tr>
00010         <th>
00011             <?php echo _("Tag")?>
00012         </th>
00013         <th>
00014             <?php echo _("Description")?>
00015         </th>
00016     </tr>
00017 <?php
00018 $gDossier=Dossier::id();
00019 $ac=$_REQUEST['ac'];
00020     for ($i=0;$i<$max;$i++):
00021         $row=Database::fetch_array($ret, $i);
00022 ?>
00023     <tr class="<?php echo (($i%2==0)?'even':'odd');?>">
00024         <td>
00025             <?php
00026             $js=sprintf("show_tag('%s','%s','%s','p')",$gDossier,$ac,$row['t_id']);
00027             echo HtmlInput::anchor($row['t_tag'], "", "onclick=\"$js\"");
00028             ?>
00029         </td>
00030         <td>
00031             <?php
00032             echo $row['t_description'];
00033             ?>
00034         </td>
00035     </tr>
00036 <?php
00037  endfor;
00038  ?>
00039 </table>
 All Data Structures Namespaces Files Functions Variables Enumerations