Subversion Repositories ALCASAR

Rev

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

Rev 2626 Rev 2628
Line 1... Line 1...
1
<?php
1
<?php
2
# $Id: user_edit.php 2626 2018-09-06 17:36:16Z lucas.echard $
2
# $Id: user_edit.php 2628 2018-09-09 07:49:50Z lucas.echard $
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 773... Line 773...
773
				case 'Alcasar-Status-Page-Must-Stay-Open' :
773
				case 'Alcasar-Status-Page-Must-Stay-Open' :
774
					echo "<label><input type=\"radio\" name=\"$name1\" value=\"\"".(($val !== '2') ? ' checked' : '').">$l_yes</label>
774
					echo "<label><input type=\"radio\" name=\"$name1\" value=\"\"".(($val !== '2') ? ' checked' : '').">$l_yes</label>
775
						<label><input type=\"radio\" name=\"$name1\" value=\"2\"".(($val === '2') ? ' checked' : '').">$l_no</label>";
775
						<label><input type=\"radio\" name=\"$name1\" value=\"2\"".(($val === '2') ? ' checked' : '').">$l_no</label>";
776
					break;
776
					break;
777
				case 'Login-Time':
777
				case 'Login-Time':
778
					echo "<input type=\"text\" name=\"$name1\" id=\"$name\" value=\"$val\" size=\"20\" pattern=\"^((Mo|Tu|We|Th|Fr|Sa|Su|Wk|Any|Al)([0-9]{4}-[0-9]{4})?(,|\|)){0,}(Mo|Tu|We|Th|Fr|Sa|Su|Wk|Any|Al)([0-9]{4}-[0-9]{4})?$\">";
778
					echo "<input type=\"text\" name=\"$name1\" id=\"$name\" value=\"$val\" size=\"20\">";
779
					echo "<a id=\"login-time-calendar\" href=\"#\"><img alt=\"schedule\" src=\"images/calendar.png\"/></a>";
779
					echo "<a id=\"login-time-calendar\" href=\"#\"><img alt=\"schedule\" src=\"images/calendar.png\"/></a>";
780
					echo '<div id="login-time-dialog" title="Weekly period"><div id="login-time-schedule"></div></div>';
780
					echo '<div id="login-time-dialog" title="Weekly period"><div id="login-time-schedule"></div></div>';
781
					break;
781
					break;
782
				default :
782
				default :
783
					echo "<input type=\"text\" name=\"$name1\" value=\"$val\" size=\"20\">";
783
					echo "<input type=\"text\" name=\"$name1\" value=\"$val\" size=\"20\">";