Plugins  LAST
 All Data Structures Files Functions Variables Pages
input_file.php
Go to the documentation of this file.
1 <h2>
2 <?php
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 echo _('Importation de données');
21 ?>
22 </h2>
23 
24 <p><?php
25 echo _("Pour importer des données, c'est-à-dire transformer des fichiers CSV (Valeur séparé par des virgules) en des fiches. Vous devez choisir, un fichier et donner une catégorie de fiche existante. Ensuite, il suffit d'indiquer quelles colonnes correspondent à quelle attribut. ")?>
26 </p>
27 <p>
28  <?php
29  echo _("Par défaut, correspond à un export CSV depuis Calc (OpenOffice.org ou libreoffice)");?>
30 </p>
31 
32 <form method="POST" enctype="multipart/form-data">
33 <?php echo $hidden?>
34 
35 <?php echo _("Fichier à charger");?></td><TD> <?php echo $file->input()?>
36 <?php echo _("Catégorie de fiche");?></td><TD> <?php echo $fd->input();?>
37 <?php echo HtmlInput::submit('import_file',_('Valider'));?>
38 
39 </form>
$file
Definition: import_bank.php:60