Subversion Repositories ALCASAR

Rev

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

Rev 2394 Rev 2402
Line 1... Line 1...
1
<?php
1
<?php
2
# $Id: user_new.php 2394 2017-08-27 13:28:59Z tom.houdayer $
2
# $Id: user_new.php 2402 2017-08-28 18:06:19Z tom.houdayer $
3
 
3
 
4
//gestion de la langue
4
//gestion de la langue
5
if (is_file("../lib/langues.php"))
5
if (is_file("../lib/langues.php"))
6
	include("../lib/langues.php");
6
	include("../lib/langues.php");
7
 
7
 
Line 13... Line 13...
13
	$statusOpenRequired = (int)($_POST['Status-Open-Required'].'000');
13
	$statusOpenRequired = (int)($_POST['Status-Open-Required'].'000');
14
	$filterId = $filterId+$FilterProto+$statusOpenRequired;
14
	$filterId = $filterId+$FilterProto+$statusOpenRequired;
15
	$_POST['Filter-Id'] = str_pad($filterId, 8, '0', STR_PAD_LEFT);
15
	$_POST['Filter-Id'] = str_pad($filterId, 8, '0', STR_PAD_LEFT);
16
}
16
}
17
if (isset($_POST['Status-Open-Required'])) {
17
if (isset($_POST['Status-Open-Required'])) {
18
	if ($_POST['Status-Open-Required'] === '0') {
18
	if ($_POST['Status-Open-Required'] === '1') {
19
		$_POST['Idle-Timeout'] = '600'; // 10 minutes
19
		$_POST['Idle-Timeout'] = '600'; // 10 minutes
20
	} else {
20
	} else {
21
		$_POST['Idle-Timeout'] = '';
21
		$_POST['Idle-Timeout'] = '';
22
	}
22
	}
23
	$_POST['Idle-Timeout_op'] = '=';
23
	$_POST['Idle-Timeout_op'] = '=';
Line 524... Line 524...
524
	<td class="etiquette" colspan="$colspan">
524
	<td class="etiquette" colspan="$colspan">
525
		<a href="help/statusOpenRequired_help.html" target=help onclick="window.open('help/statusOpenRequired_help.html','help','width=600,height=250,toolbar=no,scrollbars=no,resizable=yes')" title="$l_click_for_help"><font color="blue">$l_statusOpenRequired</font></a>
525
		<a href="help/statusOpenRequired_help.html" target=help onclick="window.open('help/statusOpenRequired_help.html','help','width=600,height=250,toolbar=no,scrollbars=no,resizable=yes')" title="$l_click_for_help"><font color="blue">$l_statusOpenRequired</font></a>
526
	</td>
526
	</td>
527
EOM;
527
EOM;
528
	echo "<td width=20>
528
	echo "<td width=20>
529
		<label><input type=\"radio\" name=\"Status-Open-Required\" value=\"1\" checked>$l_yes</label>
529
		<label><input type=\"radio\" name=\"Status-Open-Required\" value=\"0\" checked>$l_yes</label>
530
		<label><input type=\"radio\" name=\"Status-Open-Required\" value=\"0\">$l_no</label>
530
		<label><input type=\"radio\" name=\"Status-Open-Required\" value=\"1\">$l_no</label>
531
		</select></td>
531
		</select></td>
532
	</tr>";
532
	</tr>";
533
 
533
 
534
 
534
 
535
	print <<<EOM
535
	print <<<EOM