Subversion Repositories ALCASAR

Rev

Rev 1881 | Rev 2113 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1881 Rev 2006
Line 1... Line 1...
1
<?php
1
<?php
2
 
2
 
-
 
3
//update Filter-Id for protocol filtering
-
 
4
if (isset($_POST['Filter-Proto']) && isset($_POST['Filter-Id']))
-
 
5
{
-
 
6
	$upId = (int)$_POST['Filter-Proto'];
-
 
7
	$downId = (int)$_POST['Filter-Id'];
-
 
8
	$upId = $upId+$downId;
-
 
9
	$upId = str_pad($upId, 8, '0', STR_PAD_LEFT);
-
 
10
	$_POST['Filter-Id'] = $upId;
-
 
11
}
-
 
12
 
3
if (!isset ($create)) $create=0;
13
if (!isset ($create)) $create=0;
4
if (!isset ($show)) $show=0;
14
if (!isset ($show)) $show=0;
5
// ticket d'impression (thank's to Geoffroy MUSITELLI)
15
// ticket d'impression (thank's to Geoffroy MUSITELLI)
6
//gestion de la langue
16
//gestion de la langue
7
if (is_file("../lib/langues.php"))
17
if (is_file("../lib/langues.php"))
Line 378... Line 388...
378
					if ($advanced) echo"<input type=text name=\"$name\" value=\"$val\" size=20>";
388
					if ($advanced) echo"<input type=text name=\"$name\" value=\"$val\" size=20>";
379
					break;
389
					break;
380
			}
390
			}
381
		}
391
		}
382
	}
392
	}
-
 
393
	
-
 
394
	/*protocole filter*/
-
 
395
	print <<<EOM
-
 
396
	<tr>
-
 
397
		<td class="etiquette" colspan=$colspan>
-
 
398
		<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>
-
 
399
		</td>
-
 
400
		<td width=20>
-
 
401
EOM;
-
 
402
/*Choix de la langue du ticket d'impression*/
-
 
403
	echo" <select name='Filter-Proto'>
-
 
404
			<option value=\"00000000\" selected>$l_proto_0</option>
-
 
405
			<option value=\"10000000\" >$l_proto_1</option>
-
 
406
			<option value=\"01000000\" >$l_proto_2</option>
-
 
407
			<option value=\"00100000\" >$l_proto_3</option>
-
 
408
		</select></td></tr>";
-
 
409
	
-
 
410
	
383
	print <<<EOM
411
	print <<<EOM
384
	<tr>
412
	<tr>
385
		<td class="etiquette" colspan=$colspan>
413
		<td class="etiquette" colspan=$colspan>
386
			$l_lang_ticket
414
			$l_lang_ticket
387
		</td>
415
		</td>