Plugins  LAST
 All Data Structures Files Functions Variables Pages
ajax_add_key.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of NOALYSS.
5  *
6  * NOALYSS 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  * NOALYSS 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 NOALYSS; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19  */
20 /* $Revision$ */
21 
22 // Copyright (c) 2002 Author Dany De Bontridder dany@alchimerys.be
23 
24 /**
25  * @file
26  * @brief ajout clef repartition
27  *
28  */
29 $note=new ITextarea('cr_note');
30 $note->heigh=6;
31 $note->width=80;
32 $note->style='style="border:solid blue 1px;vertical-align:text-top;" ';
33 $name=new IText('cr_name');
34 $name->size=60;
35 $tantieme=new INum('cr_tantieme');
36 $tantieme->javascript='onchange="format_number(this,0);compute_key();"';
37 $tantieme->value=0;
38 
39 $str_message="Ajout d'une clef de rĂ©partition";
40 $alot=$cn->get_array("select f_id,vw_name as name,quick_code as qcode, vw_description as desc, 0 as l_part
41  from vw_fiche_attr where fd_id=$1 order by 2 ",array($g_copro_parameter->categorie_lot));
43 echo '<form id="fkey" method="post">';
44 require_once 'template/key_detail.php';
45 echo HtmlInput::submit("add_key","Ajouter",' onclick="return confirm (\'Vous confirmez?\')"');
46 echo '</form>';
47 ?>
$note
global $g_copro_parameter
$str_message
$alot
$tantieme
$init_tantieme
global $cn
$name