noalyss  Version-6.7.2
 All Data Structures Namespaces Files Functions Variables Enumerations
anc_key_display_choice.php
Go to the documentation of this file.
00001 <?php
00002 /* * *
00003   Copyright (C) 2014 dany
00004 
00005   This program is free software; you can redistribute it and/or
00006   modify it under the terms of the GNU General Public License
00007   as published by the Free Software Foundation; either version 2
00008   of the License, or (at your option) any later version.
00009 
00010   This program is distributed in the hope that it will be useful,
00011   but WITHOUT ANY WARRANTY; without even the implied warranty of
00012   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013   GNU General Public License for more details.
00014 
00015   You should have received a copy of the GNU General Public License
00016   along with this program; if not, write to the Free Software
00017   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00018  */
00019 /* * *
00020  * @file
00021  * @brief display a table with the list of available keys
00022  * @see Anc_Key::display_choice
00023  */
00024 
00025         
00026 ?>
00027 <table class="result">
00028     <?php for ($i = 0; $i < count($a_key); $i++):
00029     $onclick=sprintf(' onclick="anc_key_compute(%s,\'%s\',%s,%s)"',
00030             Dossier::id(),
00031             $p_target,
00032             $p_amount,
00033             $a_key[$i]['kd_id']);
00034     ?>
00035         <tr>
00036             <td>
00037                 <a class="line" <?php echo $onclick; ?> >
00038                 <?php echo h($a_key[$i]['kd_name']); ?>
00039                 </a>
00040             </td>
00041             <td>
00042                 <?php echo h($a_key[$i]['kd_description']) ?>
00043             </td>
00044 
00045         </tr>
00046     <?php endfor; ?>
00047 </table>
 All Data Structures Namespaces Files Functions Variables Enumerations