Line 1... |
Line 1... |
1 |
<?php
|
1 |
<?php
|
2 |
# $Id: group_new.php 2626 2018-09-06 17:36:16Z lucas.echard $
|
2 |
# $Id: group_new.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 457... |
Line 457... |
457 |
case 'Alcasar-Status-Page-Must-Stay-Open' :
|
457 |
case 'Alcasar-Status-Page-Must-Stay-Open' :
|
458 |
echo "<label><input type=\"radio\" name=\"$name\" value=\"\" checked>$l_yes</label>
|
458 |
echo "<label><input type=\"radio\" name=\"$name\" value=\"\" checked>$l_yes</label>
|
459 |
<label><input type=\"radio\" name=\"$name\" value=\"2\">$l_no</label>";
|
459 |
<label><input type=\"radio\" name=\"$name\" value=\"2\">$l_no</label>";
|
460 |
break;
|
460 |
break;
|
461 |
case 'Login-Time':
|
461 |
case 'Login-Time':
|
462 |
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})?$\">";
|
462 |
echo "<input type=\"text\" name=\"$name\" id=\"$name\" value=\"$val\" size=\"20\">";
|
463 |
echo "<a id=\"login-time-calendar\" href=\"#\"><img alt=\"schedule\" src=\"images/calendar.png\"/></a>";
|
463 |
echo "<a id=\"login-time-calendar\" href=\"#\"><img alt=\"schedule\" src=\"images/calendar.png\"/></a>";
|
464 |
echo '<div id="login-time-dialog" title="Weekly period"><div id="login-time-schedule"></div></div>';
|
464 |
echo '<div id="login-time-dialog" title="Weekly period"><div id="login-time-schedule"></div></div>';
|
465 |
break;
|
465 |
break;
|
466 |
default :
|
466 |
default :
|
467 |
echo "<input type=\"text\" name=\"$name\" value=\"$val\" size=\"20\">";
|
467 |
echo "<input type=\"text\" name=\"$name\" value=\"$val\" size=\"20\">";
|