Plugins  LAST
 All Data Structures Files Functions Variables Pages
template_show.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of PhpCompta.
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 (2016) Author Dany De Bontridder <dany@alchimerys.be>
21 
22 if (!defined('ALLOWED'))
23  die('Appel direct ne sont pas permis');
24 
25 /**
26  * @file
27  * @brief
28  * @param type $name Descriptionara
29  */
30 ?>
31 
32 <div id="template_format" style="display:none">
33  <?php
34  echo _("Choix modèle"),$select_template->input();
35  ?>
36  <ul class="aligned-block">
37  <li><?php echo HtmlInput::button("close", _("Fermer"),'onclick="$(\'template_format\').hide();$(\'show_template\').show()"');?></li>
38  <li><?php echo HtmlInput::button("template_use", _("Utiliser"),'onclick="$(\'template_format\').hide();Format.apply();$(\'show_template\').show()"');?></li>
39 
40  </ul>
41 </div>
42 <p>
43  <?php
44  $button = new IButton ("show_template",_("Utiliser un modèle d'import"));
45  $button->javascript="$('template_format').show();$('show_template').hide()";
46  echo $button->input()
47  ?>
48 
49 
50 </p>
$note style
$button