Subversion Repositories ALCASAR

Rev

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

Rev 2618 Rev 2626
Line 1... Line 1...
1
<?php
1
<?php
2
# $Id: user_new.php 2618 2018-08-22 21:52:19Z tom.houdayer $
2
# $Id: user_new.php 2626 2018-09-06 17:36:16Z 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 526... Line 526...
526
				case 'Alcasar-Status-Page-Must-Stay-Open' :
526
				case 'Alcasar-Status-Page-Must-Stay-Open' :
527
					echo "<label><input type=\"radio\" name=\"$name\" value=\"\" checked>$l_yes</label>
527
					echo "<label><input type=\"radio\" name=\"$name\" value=\"\" checked>$l_yes</label>
528
						<label><input type=\"radio\" name=\"$name\" value=\"2\">$l_no</label>";
528
						<label><input type=\"radio\" name=\"$name\" value=\"2\">$l_no</label>";
529
					break;
529
					break;
530
				case 'Login-Time':
530
				case 'Login-Time':
531
					echo "<input type=\"text\" name=\"$name\" id=\"$name\" value=\"$val\" size=\"20\" pattern=\"^((Mo|Tu|We|Th|Fr|Sa|Su|Wk|Any)[0-9]{4}-[0-9]{4},){0,}(Mo|Tu|We|Th|Fr|Sa|Su|Wk|Any)[0-9]{4}-[0-9]{4}$\">";
531
					echo "<input type=\"text\" name=\"$name\" 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})?$\">";
532
					echo "<a id=\"login-time-calendar\" href=\"#\"><img alt=\"schedule\" src=\"images/calendar.png\"/></a>";
532
					echo "<a id=\"login-time-calendar\" href=\"#\"><img alt=\"schedule\" src=\"images/calendar.png\"/></a>";
533
					echo '<div id="login-time-dialog" title="Weekly period"><div id="login-time-schedule"></div></div>';
533
					echo '<div id="login-time-dialog" title="Weekly period"><div id="login-time-schedule"></div></div>';
534
					break;
534
					break;
535
				default :
535
				default :
536
					echo "<input type=\"text\" name=\"$name\" value=\"$val\" size=\"20\">";
536
					echo "<input type=\"text\" name=\"$name\" value=\"$val\" size=\"20\">";