Subversion Repositories ALCASAR

Rev

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

Rev 2817 Rev 2841
Line 1... Line 1...
1
<?php
1
<?php
2
# $Id: user_edit.php 2817 2020-05-09 09:35:56Z rexy $
2
# $Id: user_edit.php 2841 2020-06-28 21:49:00Z rexy $
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 309... Line 309...
309
				case 'WISPr-Redirection-URL' :
309
				case 'WISPr-Redirection-URL' :
310
					$grp_redir = $val;
310
					$grp_redir = $val;
311
					break;
311
					break;
312
				case 'Alcasar-Filter' :
312
				case 'Alcasar-Filter' :
313
					if ($val === '4') {
313
					if ($val === '4') {
314
						$grp_filter = $l_filtering_havp_wl;
314
						$grp_filter = $l_filtering_av_wl;
315
					} else if ($val === '3') {
315
					} else if ($val === '3') {
316
						$grp_filter = $l_filtering_havp_bl;
316
						$grp_filter = $l_filtering_av_bl;
317
					} else if ($val === '2') {
317
					} else if ($val === '2') {
318
						$grp_filter = $l_filtering_havp;
318
						$grp_filter = $l_filtering_av;
319
					} else if ($val === '1') {
319
					} else if ($val === '1') {
320
						$grp_filter = $l_filtering_none;
320
						$grp_filter = $l_filtering_none;
321
					} else {
321
					} else {
322
						$grp_filter = '';
322
						$grp_filter = '';
323
					}
323
					}
Line 778... Line 778...
778
					break;
778
					break;
779
				case 'Alcasar-Filter' :
779
				case 'Alcasar-Filter' :
780
					echo "<select name=\"$name1\">";
780
					echo "<select name=\"$name1\">";
781
					echo "<option value=\"\"".(($val === '') ? ' selected' : '')."></option>";
781
					echo "<option value=\"\"".(($val === '') ? ' selected' : '')."></option>";
782
					echo "<option value=\"1\"".(($val === '1') ? ' selected' : '').">$l_filtering_none</option>";
782
					echo "<option value=\"1\"".(($val === '1') ? ' selected' : '').">$l_filtering_none</option>";
783
					echo "<option value=\"2\"".(($val === '2') ? ' selected' : '').">$l_filtering_havp</option>";
783
					echo "<option value=\"2\"".(($val === '2') ? ' selected' : '').">$l_filtering_av</option>";
784
					echo "<option value=\"3\"".(($val === '3') ? ' selected' : '').">$l_filtering_havp_bl</option>";
784
					echo "<option value=\"3\"".(($val === '3') ? ' selected' : '').">$l_filtering_av_bl</option>";
785
					echo "<option value=\"4\"".(($val === '4') ? ' selected' : '').">$l_filtering_havp_wl</option>";
785
					echo "<option value=\"4\"".(($val === '4') ? ' selected' : '').">$l_filtering_av_wl</option>";
786
					echo "</select>";
786
					echo "</select>";
787
					break;
787
					break;
788
				case 'Alcasar-Protocols-Filter' :
788
				case 'Alcasar-Protocols-Filter' :
789
					echo "<select name=\"$name1\">";
789
					echo "<select name=\"$name1\">";
790
					echo "<option value=\"\"".(($val === '') ? ' selected' : '')."></option>";
790
					echo "<option value=\"\"".(($val === '') ? ' selected' : '')."></option>";