noalyss Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
Loading...
Searching...
No Matches
fiche_def-print_existing_attribut.php
Go to the documentation of this file.
1<?php
2/*
3 * This file is part of NOALYSS.
4 *
5 * NOALYSS is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * NOALYSS 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 NOALYSS; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18*/
19// Copyright Author Dany De Bontridder danydb@aevalys.eu 7/08/24
20/*!
21 * \file
22 * \brief display existing attribut
23 */
24
25$js_remove = sprintf("categoryCardDefinition.remove_attribut('%s')", $attribut_id);
26
27?>
28<li class="hoverclass-drag" style="border:1px solid navy;margin:1px;padding:5px;"
29 id="existing_attr_<?= $attribut_id ?>">
30
31<span>
32
33 <?php
34 echo $attribut_text;
35 ?>
36</span>
37 <div style="float:right">
38 <?php if ($attribut_id != 1 && $attribut_id != 23) : ?>
39 <?= \Icon_Action::trash(uniqid(), $js_remove) ?>
40 <?php endif; ?>
41 </div>
42</li>
span($p_string, $p_extra='')
Definition ac_common.php:43
$opd_description style
static trash($p_id, $p_javascript)
Display the icon of a trashbin.