Projet

Général

Profil

Paste
Statistiques
| Branche: | Révision:

ryxeo-glpi-git / plugins / anet_epacks / front / plugin_anet_epacks.generate_odt_client_8_to_9.form.php @ d5cf95c7

Historique | Voir | Annoter | Télécharger (1,33 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 de l'entité qui utilise le serveur (utilisateur final) ... Par exemple l'école aristide briand. Ce pack permettra de réinstaller le serveur 8.08 en 9.08 sans re-créer de compte client automatiquement au passage (un peu comme un pack préactivé).</p>\n";
17

    
18
print "<form name=\"gencertif\" action=\"plugin_anet_epacks.generate_odt_client2_8_to_9.form.php\" method=\"post\">\n";
19
print "<input type=\"hidden\" name=\"clientdirect\" value=\"1\" >\n";
20
print "Client qu'on facture (mairie): ";
21
dropdownValue("glpi_entities", "FK_entitee_client", '');
22
print "<br />\n";
23
print "Utilisateur final (école); ";
24
dropdownValue("glpi_entities", "FK_entitee_enduser", '');
25
print "<br />\n";
26
print "&nbsp;<input type=\"submit\" name=\"massiveaction\" class=\"submit\" value=\"".$LANG["buttons"][2]."\" >\n";
27
print "</form>\n";
28

    
29
commonFooter();
30
?>
Redmine Appliance - Powered by TurnKey Linux