Projet

Général

Profil

Paste
Statistiques
| Branche: | Révision:

ryxeo-glpi-git / plugins / anet_epacks / front / plugin_anet_epacks.generate_odt_client.form.php @ f7d8650d

Historique | Voir | Annoter | Télécharger (1,22 ko)

1
<?php
2

    
3
// Génère le fichier ODT/PDF pour le revendeur avec son numéro de pack à utiliser. Ce fichier doit contenir un certain nombre d'informations (url pour enregistrer son pack etc.)
4

    
5
if(!defined('GLPI_ROOT')){
6
  define('GLPI_ROOT', '../../..');
7
}
8
include_once (GLPI_ROOT . "/inc/includes.php");
9

    
10
checkRight("config","w");
11
//checkRight("anet_epack","r");
12
//checkSeveralRightsOr(array("config" => "w", "profile" => "w"));
13

    
14
commonHeader("anet_epacks",$_SERVER['PHP_SELF'],"config","plugins");
15

    
16
print "<p>Choisissez le nom du client ... Par exemple la mairie de pessac. Ce pack permettra d'installer le serveur de l'école aristide briand et fabriquera tout seul le compte aristide briand au passage lors de l'activation du pack.</p>";
17
print "<form name=\"gencertif\" action=\"plugin_anet_epacks.generate_odt_client2.form.php\" method=\"post\">";
18
print "<input type=\"hidden\" name=\"clientdirect\" value=\"1\" >";
19
dropdownValue("glpi_entities", "FK_entitee", '');
20
print "&nbsp;<input type=\"submit\" name=\"massiveaction\" class=\"submit\" value=\"".$LANG["buttons"][2]."\" >";
21
print "</form>";
22

    
23
print "<p><a href=\"plugin_anet_epacks.generate_odt_client2.form.php\">Client inconu ou génération d'un pack anonyme</a> ...</p>";
24

    
25

    
26
commonFooter();
27
?>
Redmine Appliance - Powered by TurnKey Linux