noalyss Version-9
periode-form_exercice_label.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-2021) 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 Form to modify an existing label
28 */
29?>
30<?=HtmlInput::title_box(_("Modifie un libellé d'exercice"),'exercice_label_div','hide')?>
31<form method="POST" id="exercice_label_frm" >
32 <?php
33 echo HtmlInput::array_to_hidden(["ac","gDossier"], $_REQUEST);
34 ?>
35 <p>
36 <?=_("Exercice")?>
37 <?php
39 echo $ex->select("p_exercice")->input();
40 ?>
41 </p>
42
43 <p>
44 <label for="p_exercice_label">
45 <?=_("Libellé")?>
46 </label>
47 <?php
48 $exercice_label=new IText("p_exercice_label");
49 echo $exercice_label->input();
50 ?>
51 </p>
52 <ul class="aligned-block">
53 <li>
54 <?php
55 echo HtmlInput::submit("mod_exercice_label_bt", _("Modifie"));
56 ?>
57 </li>
58 <li>
59 <?php
60 echo HtmlInput::button_hide('exercice_label_div');
61 ?>
62 </li>
63 </ul>
64</form>
p($p_string)
Definition: ac_common.php:39
$ret label
$_REQUEST['ac']
about the accountancy period (usually 1 year starting in January until december) = exercice
static button_hide($div_name)
Hide the HTML popup.
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".
static array_to_hidden($array, $global_array)
transform request data to hidden
static submit($p_name, $p_value, $p_javascript="", $p_class="smallbutton")
Html Input.
Definition: itext.class.php:30