| Line 1... |
Line 1... |
| 1 |
<?php
|
1 |
<?php
|
| 2 |
// ticket d'impression (thank's to Geoffroy MUSITELLI)
|
2 |
// ticket d'impression (thank's to Geoffroy MUSITELLI)
|
| 3 |
//gestion de la langue
|
3 |
//gestion de la langue
|
| 4 |
if (is_file("../lib/langues.php"))
|
4 |
if (is_file("../lib/langues.php"))
|
| 5 |
include("../lib/langues.php");
|
5 |
include("../lib/langues.php");
|
| - |
|
6 |
|
| 6 |
require('/etc/freeradius-web/config.php');
|
7 |
require('/etc/freeradius-web/config.php');
|
| 7 |
if ($show == 1){
|
8 |
if ($show == 1){
|
| 8 |
header("Location: user_admin.php?login=$login");
|
9 |
header("Location: user_admin.php?login=$login");
|
| 9 |
exit;
|
10 |
exit;
|
| 10 |
}
|
11 |
}
|
| Line 371... |
Line 372... |
| 371 |
echo "<input type=submit class=button value=\"$l_show_profile\" OnClick=\"this.form.show.value=1\">";}
|
372 |
echo "<input type=submit class=button value=\"$l_show_profile\" OnClick=\"this.form.show.value=1\">";}
|
| 372 |
else{
|
373 |
else{
|
| 373 |
echo "<input type=submit class=button value=\"$l_create\" OnClick=\"return formControl('newuser');\">";
|
374 |
echo "<input type=submit class=button value=\"$l_create\" OnClick=\"return formControl('newuser');\">";
|
| 374 |
echo "<input type='hidden' name='nbtickets' value=''>";
|
375 |
echo "<input type='hidden' name='nbtickets' value=''>";
|
| 375 |
echo "<br>Ou :<br>";
|
376 |
echo "<br>Ou :<br>";
|
| 376 |
|
- |
|
| 377 |
$l_create_multiple = "Créer plusieurs tickets";
|
- |
|
| 378 |
echo "<input type=button class=button value=\"$l_create_multiple\" OnClick=\"return createTickets(this.form);\">";
|
377 |
echo "<input type=button class=button value=\"$l_create_multiple\" OnClick=\"return createTickets(this.form);\">";
|
| 379 |
$l_create_multiple_comment = "<br>Remarques : lors de la création plusieurs tickets sysmultanément :<br>
|
- |
|
| 380 |
- l'identifiant et le mot de passe sont générés aléatoirement,<br>
|
- |
|
| 381 |
- les champs \"Nom, prénom\" et \"Adresse de couriel\" ne sont pas pris en compte.<br> ";
|
- |
|
| 382 |
echo $l_create_multiple_comment;
|
378 |
echo $l_create_multiple_comment;
|
| 383 |
}
|
379 |
}
|
| 384 |
?>
|
380 |
?>
|
| 385 |
</form>
|
381 |
</form>
|
| 386 |
</td></tr>
|
382 |
</td></tr>
|