Subversion Repositories ALCASAR

Rev

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

Rev 2339 Rev 2340
Line 1... Line 1...
1
<?php
1
<?php
2
# $Id: user_edit.php 2339 2017-07-21 17:52:51Z tom.houdayer $
2
# $Id: user_edit.php 2340 2017-07-21 18:15:24Z 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 267... Line 267...
267
					break;
267
					break;
268
				case 'WISPr-Redirection-URL' :
268
				case 'WISPr-Redirection-URL' :
269
					$grp_redir = $val;
269
					$grp_redir = $val;
270
					break;
270
					break;
271
				case 'Filter-Id' :
271
				case 'Filter-Id' :
-
 
272
					if (empty($val)) {
-
 
273
						$val = '00000000'; // Set no filters if value is not set
-
 
274
					}
-
 
275
 
272
					if ($val[5] === '1') {
276
					if ($val[5] === '1') {
273
						$grp_filter = $l_filtering_havp_wl;
277
						$grp_filter = $l_filtering_havp_wl;
274
					} else if ($val[6] === '1') {
278
					} else if ($val[6] === '1') {
275
						$grp_filter = $l_filtering_havp_bl;
279
						$grp_filter = $l_filtering_havp_bl;
276
					} else if ($val[7] === '1') {
280
					} else if ($val[7] === '1') {
Line 666... Line 670...
666
				case 'Expiration' :
670
				case 'Expiration' :
667
					/*Ajout du calendrier pour choisir la date*/
671
					/*Ajout du calendrier pour choisir la date*/
668
					echo"<input id=\"popup_container\" type=\"text\" name=\"$name\" value=\"$val\" size=\"20\">";
672
					echo"<input id=\"popup_container\" type=\"text\" name=\"$name\" value=\"$val\" size=\"20\">";
669
					break;
673
					break;
670
				case 'Filter-Id' :
674
				case 'Filter-Id' :
-
 
675
					if (empty($val)) {
-
 
676
						$val = '00000000'; // Set no filters if value is not set
-
 
677
					}
-
 
678
 
671
					if ($val[5] === '1') {
679
					if ($val[5] === '1') {
672
						$selected = 'havp_wl';
680
						$selected = 'havp_wl';
673
					} else if ($val[6] === '1') {
681
					} else if ($val[6] === '1') {
674
						$selected = 'havp_bl';
682
						$selected = 'havp_bl';
675
					} else if ($val[7] === '1') {
683
					} else if ($val[7] === '1') {