noalyss Version-9
ajax_display_card_option.php
Go to the documentation of this file.
1<?php
2
3/*
4 * This file is part of NOALYSS.
5 *
6 * PhpCompta is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * PhpCompta is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with PhpCompta; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 */
20// Copyright (2002-2020) Author Dany De Bontridder <danydb@noalyss.eu>
21
22if (!defined('ALLOWED'))
23 die('Appel direct ne sont pas permis');
24
25/**
26 * @file
27 * @brief display the options of a card
28 */
29
31try
32{
33 $ap_id=$http->get("ap_id");
34}
35catch (Exception $exc)
36{
37 echo $exc->getMessage();
38 record_log($exc->getMessage().$exc->getTraceAsString());
39}
40
41echo HtmlInput::title_box(_("Options contact"), "d_linked_card_option","close","","y");
42// display existing option
43$card_multiple->display_option($ap_id);
record_log($p_message)
Record an error message into the log file of the server.
Definition: ac_common.php:1342
in follow-up , add multiple cards to an event, an action
static title_box($p_name, $p_div, $p_mod="close", $p_js="", $p_draggable="n", $p_enlarge='n')
Title for boxes, you can customize the symbol thanks symbol with the mode "custom".