Révision 97e94661
plugins/anet_epacks/front/plugin_anet_epacks.generate_odt_activated.form.php | ||
---|---|---|
48 | 48 |
$odf->setVars('code', $data['code']); |
49 | 49 |
$odf->setVars('password', $data['password']); |
50 | 50 |
|
51 |
setlocale(LC_TIME, "fr_FR");
|
|
51 |
setlocale(LC_TIME, 'fr_FR.UTF8', 'fr.UTF8', 'fr_FR.UTF-8', 'fr.UTF-8');
|
|
52 | 52 |
$odf->setVars('date', strftime("%A %e %B %Y"),'true', 'UTF-8'); |
53 | 53 |
|
54 | 54 |
//Les coordonnées du client de ryxeo |
... | ... | |
80 | 80 |
$odf->setVars('globalcname', $data2['name'], true, 'UTF-8'); |
81 | 81 |
|
82 | 82 |
$odf->setVars('epack', $data['code'], true, 'UTF-8'); |
83 |
setlocale(LC_TIME, "fr_FR");
|
|
83 |
setlocale(LC_TIME, 'fr_FR.UTF8', 'fr.UTF8', 'fr_FR.UTF-8', 'fr.UTF-8');
|
|
84 | 84 |
$timestamp = strtotime($_GET['date']); |
85 | 85 |
$odf->setVars('datedebut', strftime("%A %e %B %Y",$timestamp),'true', 'UTF-8'); |
86 | 86 |
|
plugins/anet_epacks/front/plugin_anet_epacks.generate_odt_client2.form.php | ||
---|---|---|
76 | 76 |
$odf->setVars('code', $data['code']); |
77 | 77 |
$odf->setVars('password', $data['password']); |
78 | 78 |
|
79 |
setlocale(LC_TIME, "fr_FR");
|
|
79 |
setlocale(LC_TIME, 'fr_FR.UTF8', 'fr.UTF8', 'fr_FR.UTF-8', 'fr.UTF-8');
|
|
80 | 80 |
$odf->setVars('date', strftime("%A %e %B %Y"), true, 'UTF-8'); |
81 | 81 |
|
82 | 82 |
$query2="SELECT * FROM glpi_entities, glpi_entities_data WHERE glpi_entities.ID=FK_entities AND glpi_entities.ID='$fk_entitee';"; |
plugins/anet_epacks/front/plugin_anet_epacks.generate_odt_courrier_end_contract.form.php | ||
---|---|---|
64 | 64 |
} |
65 | 65 |
|
66 | 66 |
$odf = new odf("abuledu-courrier_fin_maintenance_cette_annee.odt"); |
67 |
setlocale(LC_TIME, "fr_FR");
|
|
67 |
setlocale(LC_TIME, 'fr_FR.UTF8', 'fr.UTF8', 'fr_FR.UTF-8', 'fr.UTF-8');
|
|
68 | 68 |
error_reporting(E_ALL); |
69 | 69 |
|
70 | 70 |
$odf->setVars('date', strftime("%A %e %B %Y"), true, 'UTF-8'); |
plugins/anet_epacks/front/plugin_anet_epacks.generate_odt_maintenance3.form.php | ||
---|---|---|
47 | 47 |
$niveau = "-" . $_GET['niveau']; |
48 | 48 |
|
49 | 49 |
$odf = new odf("abuledu" . $niveau . ".odt"); |
50 |
setlocale(LC_TIME, "fr_FR");
|
|
50 |
setlocale(LC_TIME, 'fr_FR.UTF8', 'fr.UTF8', 'fr_FR.UTF-8', 'fr.UTF-8');
|
|
51 | 51 |
error_reporting(E_ALL); |
52 | 52 |
$odf->setVars('date', strftime("%A %e %B %Y"), true, 'UTF-8'); |
53 | 53 |
|
plugins/anet_epacks/front/plugin_anet_epacks.generate_odt_revendeur2.form.php | ||
---|---|---|
46 | 46 |
$odf->setVars('password', $data['password']); |
47 | 47 |
|
48 | 48 |
|
49 |
setlocale(LC_TIME, "fr_FR");
|
|
49 |
setlocale(LC_TIME, 'fr_FR.UTF8', 'fr.UTF8', 'fr_FR.UTF-8', 'fr.UTF-8');
|
|
50 | 50 |
$odf->setVars('date', strftime("%A %e %B %Y"), true, 'UTF-8'); |
51 | 51 |
|
52 | 52 |
//Les coordonnées du client |
plugins/anet_epacks/front/plugin_anet_epacks.view_recap_mensuel_rvd.php | ||
---|---|---|
8 | 8 |
include_once (GLPI_ROOT . "/inc/includes.php"); |
9 | 9 |
|
10 | 10 |
//Les dates en francais svp |
11 |
setlocale(LC_TIME, "fr_FR");
|
|
11 |
setlocale(LC_TIME, 'fr_FR.UTF8', 'fr.UTF8', 'fr_FR.UTF-8', 'fr.UTF-8');
|
|
12 | 12 |
|
13 | 13 |
checkRight("config","w"); |
14 | 14 |
//checkSeveralRightsOr(array("config" => "w", "profile" => "w")); |
Formats disponibles : Unified diff