Subversion Repositories ALCASAR

Rev

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

Rev 2993 Rev 3143
Line 1... Line 1...
1
<?php
1
<?php
2
# $Id: menu.php 2993 2022-03-06 23:02:08Z rexy $
2
# $Id: menu.php 3143 2023-08-11 08:56:43Z rexy $
3
// written by Rexy & Tom HOUDAYER
3
// written by Rexy & Tom HOUDAYER
4
 
4
 
5
/****************************************************************
5
/****************************************************************
6
*			GLOBAL FILE PATHS			*
6
*			GLOBAL FILE PATHS			*
7
*****************************************************************/
7
*****************************************************************/
Line 71... Line 71...
71
	$l_activity		= "Activité";
71
	$l_activity		= "Activité";
72
	$l_blacklist		= "Liste noire";
72
	$l_blacklist		= "Liste noire";
73
	$l_whitelist		= "Liste blanche";
73
	$l_whitelist		= "Liste blanche";
74
	$l_network		= "Réseau";
74
	$l_network		= "Réseau";
75
	$l_ldap			= "LDAP/A.D.";
75
	$l_ldap			= "LDAP/A.D.";
76
	$l_access_nb		= "Nb d'accès à l'ACC";
76
	$l_access_nb		= "accès à l'ACC";
77
	$l_create_user		= "Créer des utilisateurs";
77
	$l_create_user		= "Créer des utilisateurs";
78
	$l_edit_user		= "Gérer les utilisateurs";
78
	$l_edit_user		= "Gérer les utilisateurs";
79
	$l_create_group		= "Créer un groupe";
79
	$l_create_group		= "Créer un groupe";
80
	$l_edit_group		= "Gérer les groupes";
80
	$l_edit_group		= "Gérer les groupes";
81
	$l_import_empty		= "Importer / Vider";
81
	$l_import_empty		= "Importer / Vider";
Line 89... Line 89...
89
	$l_menu			= "Menu";
89
	$l_menu			= "Menu";
90
	$l_sms			= "Inscription par SMS";
90
	$l_sms			= "Inscription par SMS";
91
	$l_mail			= "Inscription par E-mail";
91
	$l_mail			= "Inscription par E-mail";
92
	$l_backup_archive	= "Archives";
92
	$l_backup_archive	= "Archives";
93
	$l_accountability_logs		= "Journaux d'imputabilité";
93
	$l_accountability_logs		= "Journaux d'imputabilité";
94
	$l_since		= "depuis le :";
94
	$l_since		= "depuis le";
95
	$l_doc_language = "fr";
95
	$l_doc_language = "fr";
96
} else if ($Language === 'es') {	// Spanish
96
} else if ($Language === 'es') {	// Spanish
97
	$l_home			= "INICIO";
97
	$l_home			= "INICIO";
98
	$l_system		= "SISTEMA";
98
	$l_system		= "SISTEMA";
99
	$l_auth			= "GESTIONAR";
99
	$l_auth			= "GESTIONAR";
Line 103... Line 103...
103
	$l_activity		= "Actividad";
103
	$l_activity		= "Actividad";
104
	$l_blacklist		= "Lista Negra";
104
	$l_blacklist		= "Lista Negra";
105
	$l_whitelist		= "Lista Blanca";
105
	$l_whitelist		= "Lista Blanca";
106
	$l_network		= "Red";
106
	$l_network		= "Red";
107
	$l_ldap			= "LDAP/A.D.";
107
	$l_ldap			= "LDAP/A.D.";
108
	$l_access_nb		= "Registros de accesos ACC";
108
	$l_access_nb		= "accesos a la ACC";
109
	$l_create_user		= "Crear usuarios";
109
	$l_create_user		= "Crear usuarios";
110
	$l_edit_user		= "Administrar usuarios";
110
	$l_edit_user		= "Administrar usuarios";
111
	$l_create_group		= "Crear un grupo";
111
	$l_create_group		= "Crear un grupo";
112
	$l_edit_group		= "Administrar grupos";
112
	$l_edit_group		= "Administrar grupos";
113
	$l_import_empty		= "Importar / Purgar";
113
	$l_import_empty		= "Importar / Purgar";
Line 121... Line 121...
121
	$l_menu			= "Principal";
121
	$l_menu			= "Principal";
122
	$l_sms			= "Registro por sms";
122
	$l_sms			= "Registro por sms";
123
	$l_mail			= "Registro por E-mail";
123
	$l_mail			= "Registro por E-mail";
124
	$l_backup_archive	= "Archivos";
124
	$l_backup_archive	= "Archivos";
125
	$l_accountability_logs		= "registros de responsabilidad";
125
	$l_accountability_logs		= "registros de responsabilidad";
126
	$l_since		= "desde: ";
126
	$l_since		= "desde";
127
	$l_doc_language = "en";
127
	$l_doc_language = "en";
128
} else {			// English
128
} else {			// English
129
	$Language		= 'en';
129
	$Language		= 'en';
130
	$l_home			= "HOME";
130
	$l_home			= "HOME";
131
	$l_system		= "SYSTEM";
131
	$l_system		= "SYSTEM";
Line 136... Line 136...
136
	$l_activity		= "Activity";
136
	$l_activity		= "Activity";
137
	$l_blacklist		= "Blacklist";
137
	$l_blacklist		= "Blacklist";
138
	$l_whitelist		= "Whitelist";
138
	$l_whitelist		= "Whitelist";
139
	$l_network		= "Network";
139
	$l_network		= "Network";
140
	$l_ldap			= "LDAP/A.D.";
140
	$l_ldap			= "LDAP/A.D.";
141
	$l_access_nb		= "ACC access Nbr";
141
	$l_access_nb		= "accesses to ACC";
142
	$l_create_user		= "Create users";
142
	$l_create_user		= "Create users";
143
	$l_edit_user		= "Manage users";
143
	$l_edit_user		= "Manage users";
144
	$l_create_group		= "Create a group";
144
	$l_create_group		= "Create a group";
145
	$l_edit_group		= "Manage groups";
145
	$l_edit_group		= "Manage groups";
146
	$l_import_empty		= "Import / Empty";
146
	$l_import_empty		= "Import / Empty";
Line 154... Line 154...
154
	$l_menu			= "Main";
154
	$l_menu			= "Main";
155
	$l_sms			= "SMS registration";
155
	$l_sms			= "SMS registration";
156
	$l_mail			= "E-mail registration";
156
	$l_mail			= "E-mail registration";
157
	$l_backup_archive	= "Archives";
157
	$l_backup_archive	= "Archives";
158
	$l_accountability_logs		= "accountability logs";
158
	$l_accountability_logs		= "accountability logs";
159
	$l_since		= "since:";
159
	$l_since		= "since";
160
	$l_doc_language = "en";
160
	$l_doc_language = "en";
161
}
161
}
162
 
162
 
163
// Get access log count
163
// Get access log count
164
$tab = file(ACC_ACCESS_LOG);
164
$tab = file(ACC_ACCESS_LOG);
Line 276... Line 276...
276
		</div>
276
		</div>
277
	</div>
277
	</div>
278
	<br>
278
	<br>
279
	<div class="panel">
279
	<div class="panel">
280
		<div class="panel-header">
280
		<div class="panel-header">
281
			<?= $l_access_nb ?>
281
			<?= $conf['ORGANISM'] ?>
282
		</div>
282
		</div>
283
		<div class="panel-row" style="text-align: center;">
283
		<div class="panel-row" style="text-align: center;">
284
			<a href="admin_log.php" target="REXY2"><?= $accAccessCounter ?></a><br>
284
		<a href="admin_log.php" target="REXY2"><?= $accAccessCounter.' '.$l_access_nb ?></a><br>
285
			<?= $l_since ?> <?= $accAccessFirstDate ?>
285
			<?= $l_since ?> <?= $accAccessFirstDate ?>
286
		</div>
286
		</div>
287
	</div>
287
	</div>
288
</body>
288
</body>
289
</html>
289
</html>