Subversion Repositories ALCASAR

Rev

Rev 2394 | Rev 2424 | 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: group_new.php 2394 2017-08-27 13:28:59Z tom.houdayer $
2
# $Id: group_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 450... Line 450...
450
	<td class="etiquette" colspan="$colspan">
450
	<td class="etiquette" colspan="$colspan">
451
		<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>
451
		<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>
452
	</td>
452
	</td>
453
EOM;
453
EOM;
454
	echo "<td width=20>
454
	echo "<td width=20>
455
		<label><input type=\"radio\" name=\"Status-Open-Required\" value=\"1\" checked>$l_yes</label>
455
		<label><input type=\"radio\" name=\"Status-Open-Required\" value=\"0\" checked>$l_yes</label>
456
		<label><input type=\"radio\" name=\"Status-Open-Required\" value=\"0\">$l_no</label>
456
		<label><input type=\"radio\" name=\"Status-Open-Required\" value=\"1\">$l_no</label>
457
		</select></td>
457
		</select></td>
458
	</tr>";
458
	</tr>";
459
echo "</table><BR>";
459
echo "</table><BR>";
460
 
460
 
461
}
461
}