1,5 → 1,15 |
<?php |
|
//update Filter-Id for protocol filtering |
if (isset($_POST['Filter-Proto']) && isset($_POST['Filter-Id'])) |
{ |
$upId = (int)$_POST['Filter-Proto']; |
$downId = (int)$_POST['Filter-Id']; |
$upId = $upId+$downId; |
$upId = str_pad($upId, 8, '0', STR_PAD_LEFT); |
$_POST['Filter-Id'] = $upId; |
} |
|
if (!isset ($create)) $create=0; |
if (!isset ($show)) $show=0; |
// ticket d'impression (thank's to Geoffroy MUSITELLI) |
380,9 → 390,27 |
} |
} |
} |
|
/*protocole filter*/ |
print <<<EOM |
<tr> |
<td class="etiquette" colspan=$colspan> |
<a href="help/protocols_help.html" target=help onclick=window.open("help/protocols_help.html","help","width=600,height=250,toolbar=no,scrollbars=no,resizable=yes") title="$l_click_for_help"><font color="blue">$l_proto</font></a> |
</td> |
<td width=20> |
EOM; |
/*Choix de la langue du ticket d'impression*/ |
echo" <select name='Filter-Proto'> |
<option value=\"00000000\" selected>$l_proto_0</option> |
<option value=\"10000000\" >$l_proto_1</option> |
<option value=\"01000000\" >$l_proto_2</option> |
<option value=\"00100000\" >$l_proto_3</option> |
</select></td></tr>"; |
|
|
print <<<EOM |
<tr> |
<td class="etiquette" colspan=$colspan> |
$l_lang_ticket |
</td> |
<td width=20> |