Subversion Repositories ALCASAR

Rev

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

Rev 2990 Rev 2991
Line 1... Line 1...
1
<?php
1
<?php
2
# $Id: menu.php 2990 2022-02-21 23:20:55Z rexy $
2
# $Id: menu.php 2991 2022-02-22 23:34:11Z 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_mail			= "Mail";
-
 
77
	$l_access_nb		= "Nb d'accès à l'ACC";
76
	$l_access_nb		= "Nb d'accès à l'ACC";
78
	$l_create_user		= "Créer des utilisateurs";
77
	$l_create_user		= "Créer des utilisateurs";
79
	$l_edit_user		= "Gérer les utilisateurs";
78
	$l_edit_user		= "Gérer les utilisateurs";
80
	$l_create_group		= "Créer un groupe";
79
	$l_create_group		= "Créer un groupe";
81
	$l_edit_group		= "Gérer les groupes";
80
	$l_edit_group		= "Gérer les groupes";
Line 86... Line 85...
86
	$l_stat_daily		= "Usage quotidien";
85
	$l_stat_daily		= "Usage quotidien";
87
	$l_stat_global_network	= "Trafic global";
86
	$l_stat_global_network	= "Trafic global";
88
	$l_stat_detail_network	= "Trafic détaillé";
87
	$l_stat_detail_network	= "Trafic détaillé";
89
	$l_security		= "Sécurité";
88
	$l_security		= "Sécurité";
90
	$l_menu			= "Menu";
89
	$l_menu			= "Menu";
91
	$l_gammu		= "Auto enregistrement (SMS)";
90
	$l_sms			= "Utilisateurs par SMS";
-
 
91
	$l_mail			= "Utilisateurs 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
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_mail			= "Mail";
-
 
109
	$l_access_nb		= "Registros de accesos ACC";
108
	$l_access_nb		= "Registros de accesos ACC";
110
	$l_create_user		= "Crear usuarios";
109
	$l_create_user		= "Crear usuarios";
111
	$l_edit_user		= "Administrar usuarios";
110
	$l_edit_user		= "Administrar usuarios";
112
	$l_create_group		= "Crear un grupo";
111
	$l_create_group		= "Crear un grupo";
113
	$l_edit_group		= "Administrar grupos";
112
	$l_edit_group		= "Administrar grupos";
Line 118... Line 117...
118
	$l_stat_daily		= "Uso diario";
117
	$l_stat_daily		= "Uso diario";
119
	$l_stat_global_network	= "Tráfico global";
118
	$l_stat_global_network	= "Tráfico global";
120
	$l_stat_detail_network	= "Tráfico detallado";
119
	$l_stat_detail_network	= "Tráfico detallado";
121
	$l_security		= "Seguridad";
120
	$l_security		= "Seguridad";
122
	$l_menu			= "Principal";
121
	$l_menu			= "Principal";
-
 
122
	$l_sms			= "usuarios por sms";
123
	$l_gammu		= "Auto-registro (SMS)";
123
	$l_mail			= "usuarios 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
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_mail			= "Mail";
-
 
142
	$l_access_nb		= "ACC access Nbr";
141
	$l_access_nb		= "ACC access Nbr";
143
	$l_create_user		= "Create users";
142
	$l_create_user		= "Create users";
144
	$l_edit_user		= "Manage users";
143
	$l_edit_user		= "Manage users";
145
	$l_create_group		= "Create a group";
144
	$l_create_group		= "Create a group";
146
	$l_edit_group		= "Manage groups";
145
	$l_edit_group		= "Manage groups";
Line 151... Line 150...
151
	$l_stat_daily		= "Daily use";
150
	$l_stat_daily		= "Daily use";
152
	$l_stat_global_network	= "Global traffic";
151
	$l_stat_global_network	= "Global traffic";
153
	$l_stat_detail_network	= "Detailed traffic";
152
	$l_stat_detail_network	= "Detailed traffic";
154
	$l_security		= "Security";
153
	$l_security		= "Security";
155
	$l_menu			= "Main";
154
	$l_menu			= "Main";
156
	$l_gammu		= "Auto registration (SMS)";
155
	$l_sms			= "Users by SMS";
-
 
156
	$l_mail			= "Users by e-mail";
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
}
Line 202... Line 202...
202
							<div class="caret"></div><a href="#"><?= $l_system ?></a>
202
							<div class="caret"></div><a href="#"><?= $l_system ?></a>
203
							<ul>
203
							<ul>
204
								<li><div class="caret"></div><a href="admin/network.php" target="REXY2"><?= $l_network ?></a></li>
204
								<li><div class="caret"></div><a href="admin/network.php" target="REXY2"><?= $l_network ?></a></li>
205
								<li><div class="caret"></div><a href="admin/services.php" target="REXY2">Services</a></li>
205
								<li><div class="caret"></div><a href="admin/services.php" target="REXY2">Services</a></li>
206
								<li><div class="caret"></div><a href="admin/ldap.php" target="REXY2"><?= $l_ldap ?></a></li>
206
								<li><div class="caret"></div><a href="admin/ldap.php" target="REXY2"><?= $l_ldap ?></a></li>
207
								<li><div class="caret"></div><a href="admin/mail.php" target="REXY2"><?= $l_mail ?></a></li>
-
 
208
							</ul>
207
							</ul>
209
						</li>
208
						</li>
210
					<?php endif; ?>
209
					<?php endif; ?>
211
					<?php if ($right === 0 || $right === 2):	// admin, manager ?>
210
					<?php if ($right === 0 || $right === 2):	// admin, manager ?>
212
						<li>
211
						<li>
Line 217... Line 216...
217
								<li><div class="caret"></div><a href="manager/htdocs/find.php" target="REXY2"><?= $l_edit_user ?></a></li>
216
								<li><div class="caret"></div><a href="manager/htdocs/find.php" target="REXY2"><?= $l_edit_user ?></a></li>
218
								<li><div class="caret"></div><a href="manager/htdocs/group_new.php" target="REXY2"><?= $l_create_group ?></a></li>
217
								<li><div class="caret"></div><a href="manager/htdocs/group_new.php" target="REXY2"><?= $l_create_group ?></a></li>
219
								<li><div class="caret"></div><a href="manager/htdocs/show_groups.php" target="REXY2"><?= $l_edit_group ?></a></li>
218
								<li><div class="caret"></div><a href="manager/htdocs/show_groups.php" target="REXY2"><?= $l_edit_group ?></a></li>
220
								<li><div class="caret"></div><a href="manager/htdocs/import_user.php" target="REXY2"><?= $l_import_empty ?></a></li>
219
								<li><div class="caret"></div><a href="manager/htdocs/import_user.php" target="REXY2"><?= $l_import_empty ?></a></li>
221
								<li><div class="caret"></div><a href="manager/auth_exceptions.php" target="REXY2">Exceptions</a></li>
220
								<li><div class="caret"></div><a href="manager/auth_exceptions.php" target="REXY2">Exceptions</a></li>
-
 
221
								<li><div class="caret"></div><a href="manager/htdocs/user_by_sms.php" target="REXY2"><?= $l_sms ?></a></li>
222
								<li><div class="caret"></div><a href="manager/htdocs/autoregistration.php" target="REXY2"><?= $l_gammu ?></a></li>
222
								<li><div class="caret"></div><a href="manager/htdocs/user_by_email.php" target="REXY2"><?= $l_mail ?></a></li>
-
 
223
								<li><div class="caret"></div><a href="manager/htdocs/user_by_email_V2.php" target="REXY2"> mail-V2 </a></li>
-
 
224
 
223
							</ul>
225
							</ul>
224
						</li>
226
						</li>
225
					<?php endif; ?>
227
					<?php endif; ?>
226
					<?php if ($right === 0):			// admin ?>
228
					<?php if ($right === 0):			// admin ?>
227
						<li>
229
						<li>