noalyss Version-9
anc_key_display_choice.php
Go to the documentation of this file.
1<?php
2/* * *
3 Copyright (C) 2014 dany
4
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public License
7 as published by the Free Software Foundation; either version 2
8 of the License, or (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 */
19/* * *
20 * @file
21 * @brief display a table with the list of available keys
22 * @see Anc_Key::display_choice
23 */
24
25
26?>
27<table class="result">
28 <?php for ($i = 0; $i < count($a_key); $i++):
29 $onclick=sprintf(' onclick="anc_key_compute(%s,\'%s\',%s,%s)"',
31 $p_target,
32 $p_amount,
33 $a_key[$i]['kd_id']);
34 ?>
35 <tr>
36 <td>
37 <a class="line" <?php echo $onclick; ?> >
38 <?php echo h($a_key[$i]['kd_name']); ?>
39 </a>
40 </td>
41 <td>
42 <?php echo h($a_key[$i]['kd_description']) ?>
43 </td>
44
45 </tr>
46 <?php endfor; ?>
47</table>
tr($p_string, $p_extra='')
Definition: ac_common.php:88
td($p_string='', $p_extra='')
surround the string with td
Definition: ac_common.php:83
h( $row[ 'oa_description'])
static id()
return the 'gDossier' value after a check
$all table
endfor