Subversion Repositories ALCASAR

Rev

Rev 703 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 703 Rev 720
Line 39... Line 39...
39
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
39
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
40
<!-- include default CSS -->
40
<!-- include default CSS -->
41
<link rel="stylesheet" href="<?php echo ALCASAR_ADMIN_PATH_CSS; ?>/default/default.css" type="text/css">
41
<link rel="stylesheet" href="<?php echo ALCASAR_ADMIN_PATH_CSS; ?>/default/default.css" type="text/css">
42
<!-- include JQUERY UI CSS -->
42
<!-- include JQUERY UI CSS -->
43
<link type="text/css"  rel="stylesheet" href="<?php echo ALCASAR_ADMIN_PATH_CSS; ?>/default/ui-lightness/jquery-ui-1.8.10.custom.css">
43
<link type="text/css"  rel="stylesheet" href="<?php echo ALCASAR_ADMIN_PATH_CSS; ?>/default/ui-lightness/jquery-ui-1.8.10.custom.css">
-
 
44
<!-- include tablesorter CSS -->
-
 
45
<link type="text/css"  rel="stylesheet" href="<?php echo ALCASAR_ADMIN_PATH_CSS; ?>/default/tablesorter-blue/style.css">
44
<!-- include custom page CSS -->
46
<!-- include custom page CSS -->
45
<style type="text/css">
47
<style type="text/css">
46
 
48
 
47
</style>
49
</style>
48
<!-- include JQUERY -->
50
<!-- include JQUERY -->
49
<script type="text/javascript" src="<?php echo ALCASAR_ADMIN_PATH_JS; ?>/jquery-1.5.min.js"></script>
51
<script type="text/javascript" src="<?php echo ALCASAR_ADMIN_PATH_JS; ?>/jquery-1.5.min.js"></script>
50
<!-- include JQUERY UI -->
52
<!-- include JQUERY UI -->
51
<script type="text/javascript" src="<?php echo ALCASAR_ADMIN_PATH_JS; ?>/jquery-ui-1.8.10.all.min.js"></script>
53
<script type="text/javascript" src="<?php echo ALCASAR_ADMIN_PATH_JS; ?>/jquery-ui-1.8.10.all.min.js"></script>
-
 
54
<script type="text/javascript" language="javascript" src="<?php echo ALCASAR_ADMIN_PATH_JS; ?>/jquery.tablesorter.min.js"></script>
-
 
55
<script type="text/javascript" language="javascript" src="<?php echo ALCASAR_ADMIN_PATH_JS; ?>/jquery.tablesorter.pager.js"></script>
52
<!-- include page javascript -->
56
<!-- include page javascript -->
53
<script type="text/javascript">
57
<script type="text/javascript">
-
 
58
	var table_data_lang = {
-
 
59
		"sProcessing": "Patientez...",
-
 
60
		"sLengthMenu": "Afficher _MENU_ enregistrements",
-
 
61
		"sZeroRecords": "Aucun enregistrement disponible.",
-
 
62
		"sInfo": "_START_ à _END_ sur _TOTAL_ enregistrements",
-
 
63
		"sInfoEmpty": "0 à 0 sur 0 enregistrement",
-
 
64
		"sInfoFiltered": "(Filtré à partir de _MAX_  enregistrements)",
-
 
65
		"sInfoPostFix": "",
-
 
66
		"sSearch": "Recherche : ",
-
 
67
		"sUrl": "",
-
 
68
		"oPaginate": {
-
 
69
			"sFirst":    "Première page",
-
 
70
			"sPrevious": "Page précédente",
-
 
71
			"sNext":     "Page suivante",
-
 
72
			"sLast":     "Dernière page"
-
 
73
		}
-
 
74
	};
54
 
75
	
-
 
76
	$(document).ready(function(){
-
 
77
		// buttons
-
 
78
		$( "button, input:submit, input:button, input:reset").button();
-
 
79
		// Directories table		
-
 
80
		$('#directories_table').dataTable(
-
 
81
		{
-
 
82
			// fonction suivante permet d'avoir une colone numérotée dynamiquement (non triable)
-
 
83
			"fnDrawCallback": function ( oSettings ) {
-
 
84
				/* Need to redo the counters if filtered or sorted */
-
 
85
				if ( oSettings.bSorted || oSettings.bFiltered )
-
 
86
				{
-
 
87
					for ( var i=0, iLen=oSettings.aiDisplay.length ; i<iLen ; i++ )
-
 
88
					{
-
 
89
						$('td:eq(0)', oSettings.aoData[ oSettings.aiDisplay[i] ].nTr ).html( i+1 );
-
 
90
					}
-
 
91
				}
-
 
92
			},
-
 
93
			"aoColumnDefs": [
-
 
94
				{ "bSortable": false, "aTargets": [ 0 ] }
-
 
95
			],
-
 
96
			"aaSorting": [[ 1, 'asc' ]]
-
 
97
			//fin 			
-
 
98
			,"oLanguage": table_data_lang
-
 
99
		});
-
 
100
	});
55
</script>
101
</script>
56
</head>
102
</head>
57
<body>
103
<body>
-
 
104
	<div class="ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix">
-
 
105
		<span class="ui-dialog-title" id="ui-dialog-title-dialog">DIRECTORIES PAGE</span>
-
 
106
	</div>
-
 
107
	<br />
-
 
108
	Page de configuration des annuaires de comptes (usagers/groupes). Par défaut annuaire local (MYSQL). Possibilité d'ajouter 1 ou plusieurs annuaire LDAP (LDAP standart ou AD).<br />
-
 
109
	Possibilité d'utiliser un annuaire active directorie en mode natif (samba/kerberos).<br />
-
 
110
	<font color="red">Fonctions prochainement disponibles.</font><br />
58
<h1>DIRECTORIES PAGE</h1>
111
	<div style="float:right;">
-
 
112
		<form name="newDirectorieform">
-
 
113
			<input type="button" value="Nouvel annuaire">
-
 
114
		</form>
-
 
115
	</div>
-
 
116
	<br><br><br>
-
 
117
	<div>
-
 
118
	<table id="directories_table" cellspacing="1" class="tablesorter" border="0" width="100%">
-
 
119
		<thead>
-
 
120
			<tr>
-
 
121
				<th width="20">#</th><th width="200">Nom</th><th width="100">Type</th><th>Description</th>
-
 
122
			</tr>
-
 
123
		</thead>
-
 
124
		<tfoot>
-
 
125
			<tr>
-
 
126
				<th width="20">#</th><th width="200">Nom</th><th width="100">Type</th><th>Description</th>
-
 
127
			</tr>
-
 
128
		</tfoot>
-
 
129
		<tbody>
-
 
130
		<tr><td>1</td><td>Local</td><td>Local</td><td>Annuaire de comptes par défaut</td></tr>
-
 
131
		<?php
-
 
132
		/*
-
 
133
		foreach ($groups as $group){
-
 
134
			echo "<tr><td></td><td>".$group['name']."</td><td>".$group['nb_users']."</td><td><font color=red>ND</font></td></tr>";
-
 
135
		}
-
 
136
		*/
-
 
137
		?>
-
 
138
		</tbody>
-
 
139
	</table>
-
 
140
	</div>
59
</body>
141
</body>
60
</html>
142
</html>
61
 
143