Subversion Repositories ALCASAR

Rev

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

Rev 2513 Rev 2565
Line 1... Line 1...
1
<?php
1
<?php
2
# $Id: user_edit.php 2513 2018-03-11 16:13:17Z tom.houdayer $
2
# $Id: user_edit.php 2565 2018-07-08 10:49:31Z 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 47... Line 47...
47
}
47
}
48
?>
48
?>
49
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
49
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
50
<html>
50
<html>
51
<head>
51
<head>
52
<title>Users & groups edition</title>
52
<title>Users &amp; groups edition</title>
53
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config['general_charset']?>">
53
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config['general_charset']?>">
-
 
54
<link rel="stylesheet" href="/css/jquery-ui.min.css">
54
<link rel="stylesheet" href="/css/style.css">
55
<link rel="stylesheet" href="/css/style.css">
-
 
56
<link rel="stylesheet" type="text/css" href="/css/epoch_styles.css">
55
<script type="text/javascript" src="/js/fonctions.js"></script>
57
<script type="text/javascript" src="/js/fonctions.js"></script>
56
<script language="javascript" type="text/javascript">
58
<script language="javascript" type="text/javascript">
57
var chars='0123456789abcdefghijkmnopqrstuvwxyzABCDEFGHIJKLMNPQRSTUVWXYZ'
59
var chars='0123456789abcdefghijkmnopqrstuvwxyzABCDEFGHIJKLMNPQRSTUVWXYZ'
58
function password(size)
60
function password(size)
59
  {
61
  {
Line 770... Line 772...
770
					break;
772
					break;
771
				case 'Alcasar-Status-Page-Must-Stay-Open' :
773
				case 'Alcasar-Status-Page-Must-Stay-Open' :
772
					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>
773
						<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>";
774
					break;
776
					break;
-
 
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)[0-9]{4}-[0-9]{4},){0,}(Mo|Tu|We|Th|Fr|Sa|Su|Wk|Any)[0-9]{4}-[0-9]{4}$\">";
-
 
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>';
-
 
781
					break;
775
				default :
782
				default :
776
					echo "<input type=\"text\" name=\"$name1\" value=\"$val\" size=\"20\">";
783
					echo "<input type=\"text\" name=\"$name1\" value=\"$val\" size=\"20\">";
777
					break;
784
					break;
778
			}
785
			}
779
			echo '</td>';
786
			echo '</td>';
Line 835... Line 842...
835
</td></tr>
842
</td></tr>
836
</table>
843
</table>
837
</center>
844
</center>
838
</td></tr>
845
</td></tr>
839
</TABLE>
846
</TABLE>
-
 
847
<script type="text/javascript" src="/js/jquery.min.js"></script>
-
 
848
<script type="text/javascript" src="/js/jquery-ui.min.js"></script>
-
 
849
<script type="text/javascript" src="/js/schedule.js"></script>
-
 
850
<script type="text/javascript" src="/js/login-time.js"></script>
840
</body>
851
</body>
841
</html>
852
</html>