Subversion Repositories ALCASAR

Rev

Rev 2513 | Rev 2571 | 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_new.php 2513 2018-03-11 16:13:17Z tom.houdayer $
2
# $Id: user_new.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 34... Line 34...
34
} else {
34
} else {
35
	$show_ops = 0;
35
	$show_ops = 0;
36
	$colspan = 1;
36
	$colspan = 1;
37
}
37
}
38
?>
38
?>
39
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
39
<!DOCTYPE html>
40
<html>
40
<html>
41
<head>
41
<head>
42
<title>User creation</title>
42
<title>User creation</title>
43
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config['general_charset']?>">
43
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config['general_charset']?>">
-
 
44
<link rel="stylesheet" href="/css/jquery-ui.min.css">
44
<link rel="stylesheet" href="/css/style.css">
45
<link rel="stylesheet" href="/css/style.css">
45
<link rel="stylesheet" type="text/css" href="/css/epoch_styles.css">
46
<link rel="stylesheet" type="text/css" href="/css/epoch_styles.css">
46
<script type="text/javascript" src="/js/epoch_classes.js"></script>
47
<script type="text/javascript" src="/js/epoch_classes.js"></script>
47
<script type="text/javascript" src="/js/fonctions.js"></script>
48
<script type="text/javascript" src="/js/fonctions.js"></script>
48
<script language="javascript" type="text/javascript">
49
<script language="javascript" type="text/javascript">
Line 71... Line 72...
71
			form.className = form.className.replace(' hide-advanced-fields', '');
72
			form.className = form.className.replace(' hide-advanced-fields', '');
72
 
73
 
73
		}
74
		}
74
	}
75
	}
75
</script>
76
</script>
76
<style type="text/css">
-
 
77
	.hide-advanced-fields .advanced-field {
-
 
78
		display: none;
-
 
79
	}
-
 
80
</style>
-
 
81
</head>
77
</head>
82
<body>
78
<body>
83
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
79
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
84
	<tr><th><?php echo "$l_users_managment"; ?></th></tr>
80
	<tr><th><?php echo "$l_users_managment"; ?></th></tr>
85
	<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr>
81
	<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr>
Line 529... Line 525...
529
					break;
525
					break;
530
				case 'Alcasar-Status-Page-Must-Stay-Open' :
526
				case 'Alcasar-Status-Page-Must-Stay-Open' :
531
					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>
532
						<label><input type=\"radio\" name=\"$name\" value=\"2\">$l_no</label>";
528
						<label><input type=\"radio\" name=\"$name\" value=\"2\">$l_no</label>";
533
					break;
529
					break;
-
 
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}$\">";
-
 
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>';
-
 
534
					break;
534
				default :
535
				default :
535
					echo "<input type=\"text\" name=\"$name\" value=\"$val\" size=\"20\">";
536
					echo "<input type=\"text\" name=\"$name\" value=\"$val\" size=\"20\">";
536
					break;
537
					break;
537
			}
538
			}
538
		}
539
		}
Line 583... Line 584...
583
</center>
584
</center>
584
</TD></TR>
585
</TD></TR>
585
</TABLE>
586
</TABLE>
586
</td></tr>
587
</td></tr>
587
</TABLE>
588
</TABLE>
-
 
589
<script type="text/javascript" src="/js/jquery.min.js"></script>
-
 
590
<script type="text/javascript" src="/js/jquery-ui.min.js"></script>
-
 
591
<script type="text/javascript" src="/js/schedule.js"></script>
-
 
592
<script type="text/javascript" src="/js/login-time.js"></script>
588
</body>
593
</body>
589
</html>
594
</html>