Subversion Repositories ALCASAR

Rev

Rev 2898 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log

<?php
// Language choice
$Language = 'en';
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){
  $Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
  $Language = strtolower(substr(chop($Langue[0]),0,2)); }
switch ($Language){
        case 'fr':
                $l_monday="lundi"; $l_tuesday="mardi"; $l_wednesday="mercredi"; $l_thursday="jeudi"; $l_friday="vendredi"; $l_saturday="samedi"; $l_sunday="dimanche";
                $l_monthly="mensuelle";$l_weekly="hebdomadaire";$l_daily="journalière";$l_by_session="par session";
                $l_day = "Jour";
                $l_limit="limite";
                $l_daily_limit="limite journalière";
                $l_used_time = "Temps utilisé";
                $l_last7days_status = "&Eacute;tat sur les 7 derniers jours";
                $l_connections_number = "Nombre de connexions";
                $l_download = "Données téléchargées";
                $l_upload = "Données envoyées";
                $l_average = "moyenne";
                $l_already_exist = "existe déjà";
                $l_search_filter = "Filtre de recherche";
                $l_search_criteria = "Critère de recherche";
                $l_search = "Lancer la recherche";
                $l_no_user_found = "Aucun utilisateur trouvé";
                $l_special_attribute = "Attribut particulier";
                $l_attribute = "Attribut";
                $l_value = "Valeur<br>(vide = tous)";
                $l_user = "L'utilisateur";
                $l_users_managment = "Gestion des utilisateurs";
                $l_groups_managment = "Gestion des groupes";
                $l_login = "Identifiant";
                $l_password = "Mot de passe";
                $l_new_password = "Nouveau mot de passe";
                $l_passwd_gen = "générer";
                $l_user_create = "Créer un utilisateur";                       
                $l_nb_users = "Nombre d'utilisateurs";                  
                $l_group_create = "Créer un groupe";                   
                $l_group_select = "Sélectionnez un groupe";                    
                $l_group = "Groupe";
                $l_created_groups = "Groupe(s) déjà créé(s)";
                $l_group_name = "Nom du groupe";
                $l_group_members = "Membres du groupe :<br>(séparé par un espace ou un 'retour chariot')";
                $l_group_members_remove = "Supprimer tous les membres de ce groupe";
                $l_group_members_to_remove = "<b>Membres à effacer :</b><br>Les membres sélectionnés seront effacés du groupe.<br>Utilisez 'shift' ou 'Ctrl' pour une sélection multiple.";
                $l_group_members_to_add = "<b>Membres à ajouter :</b><br>Separez les membres avec un 'espace' ou un 'retour chariot'.";
                $l_manage_selected_user= "Gérer l'utilisateur sélectionné";
                $l_group_member = "Membre du groupe";
                $l_group_empty = "La liste des groupes est vide";
                $l_main_group = "Le groupe de l'utilisateur est surligné en bleu";
                $l_no_group = "Aucun groupe";
                $l_no_open_session = "Aucune session ouverte";
                $l_opened_sessions = "session(s) ouverte(s)";
                $l_active_accounting = "comptabilité(s) active(s)";
                $l_want_to_close ="Voulez-vous les fermer ?";
                $l_yes_close ="Oui, fermer";
                $l_status ="&Eacute;TAT";
                $l_personal_info ="INFORMATIONS PERSONNELLES";
                $l_connections ="CONNEXIONS";
                $l_open_sessions ="SESSIONS OUVERTES";
                $l_members ="MEMBRES";
                $l_attributes ="ATTRIBUTS";
                $l_remove ="SUPPRIMER";
                $l_locked_user ="Le compte utilisateur est verrouillé";
                $l_user_remain_login ="L'utilisateur peut se connecter pendant ";
                $l_user_expired ="Le compte utilisateur a expiré";
                $l_connected ="Connecté depuis";
                $l_connection_time ="Durée de connexion";
                $l_total_connections_time ="Durée cumulée des connexions";
                $l_user_never_login ="Cet utilisateur ne s'est jamais connecté";
                $l_user_not_login_yet ="Cet utilisateur n'est pas connecté actuellement";
                $l_last_login ="Dernière connexion";
                $l_remain_time ="Temps de connexion restant";
                $l_description ="Description";
                $l_name = "Nom et prénom";
                $l_email = "Adresse de courriel";
                $l_homephone = "Numéro de téléphone privé";
                $l_telephonenumber = "Numéro de téléphone de bureau";
                $l_mobile = "Numéro de téléphone portable";
                $l_lang_ticket = "Langue du ticket";
                $l_simultaneous_use = "Nombre de sessions simultanées";
                $l_max_all_session = "Durée de connexion maximale<br>(en secondes)";
                $l_expire_after = "Période autorisée après la première connexion<br>(en secondes)";
                $l_expiration = "Date d'expiration";
                $l_session_timeout = "Durée maximale d'une session<br>(en secondes)";
                $l_daily_timeout = "Durée de connexion maximale journalière<br>(en secondes)";
                $l_monthly_timeout = "Durée de connexion maximale mensuelle<br>(en secondes)";
                $l_login_time = "Période hebdomadaire";
                $l_max_input_octets = "Maximum de données émises<br>(en octets)";
                $l_max_output_octets = "Maximum de données reçues<br>(en octets)";
                $l_max_total_octets = "Maximum de données échangées<br>(en octets)";
                $l_max_total_octets_daily = "Maximum de données échangées par jour<br>(en octets)";
                $l_max_total_octets_monthly = "Maximum de données échangées par mois<br>(en octets)";
                $l_max_bandwidth_up = "Limite de débit montant<br>(en kbits/seconde)";
                $l_max_bandwidth_down = "Limite de débit descendant<br>(en kbits/seconde)";
                $l_wispr_redirection = "URL de redirection";
                $l_click_for_help = "Cliquez pour afficher l'aide sur cet attribut";    
                $l_show_profile = "Afficher le profil";
                $l_are_you_sure = "Êtes-vous sûr de vouloir supprimer";
                $l_yes_remove = "Oui, supprimer";
                $l_create = "Créer";
                $l_advanced_menu = "Menu avancé";
                $l_simple_menu = "Menu simple";
                $l_change = "Modifier";
                $l_or = "Ou";
                $l_create_ticket = "Créer un ticket (voucher)";
                $l_create_multiple = "Créer plusieurs tickets";
                $l_create_multiple_comment = "<br>Remarques : lors de la création de plusieurs tickets simultanement :<br>
                - l'identifiant et le mot de passe sont générés aléatoirement,<br>
                - les champs \"Nom et prénom\" et \"Adresse de courriel\" ne sont pas pris en compte.<br> ";
                $l_createTicketsMSG = "Saisissez le nombre d\'utilisateurs à créer";
                $l_filtering = "Filtrage de domaines et antiviral ";
                $l_filtering_none = "Aucun";
                $l_filtering_av = "Antivirus web";
                $l_filtering_av_bl = "Antivirus web + Blacklist";
                $l_filtering_av_wl = "Antivirus web + Whitelist";
                $l_user_exists = "existe déjà !";
                $l_created = "a été correctement créé";
                $l_removed = "a été supprimé";
                $l_group_desc = "<h2>Attributs Groupe</h2>";
                $l_user_desc = "<h2>Attributs Utilisateur</h2>";
                $l_proto="Filtrage de protocoles réseau";
                $l_proto_0="Aucun filtre";
                $l_proto_1="Navigation Web (HTTP & HTTPS)";
                $l_proto_2="Navigation Web + Messagerie + Accès distant";
                $l_proto_3="Personnalisé";
                $l_empty="Vide";
                $l_ipAddress="Adresse IP";
                $l_rule="Règle";
                $l_statusOpenRequired="Maintien des sessions";
                $l_yes="Oui";
                $l_no="Non";
        break;
        case 'es':
                $l_monday="lunes"; $l_tuesday="martes"; $l_wednesday="miercoles"; $l_thursday="jueves"; $l_friday="viernes"; $l_saturday="sábado"; $l_sunday="domingo";
                $l_monthly="monthly";$l_weekly="weekly";$l_daily="daily";$l_by_session="by session";
                $l_day = "día";
                $l_limit = "límite";
                $l_daily_limit="límite diario";
                $l_used_time = "Tiempo usado";
                $l_last7days_status = "Estado de los últimos 7 días";
                $l_already_exist = "ya existen";
                $l_connections_number = "Número de conexiones";
                $l_download = "Datos descargados";
                $l_upload = "Datos cargados";
                $l_average = "promedio";
                $l_user = "Usuario";
                $l_users_managment = "Gestión de usuarios";
                $l_groups_managment = "Gestión de grupos";
                $l_search_filter = "Filtro de búsqueda";
                $l_search_criteria = "Criterios de búsqueda";
                $l_search = "Iniciar la búsqueda";
                $l_no_user_found = "No se ha encontrado ningún usuario";
                $l_special_attribute = "Atributo especial";
                $l_attribute = "Atributo";
                $l_value = "Valor<br>(vacío = todo)";
                $l_login = "Ingresa en";
                $l_password = "Contraseña";
                $l_new_password = "Nueva contraseña";
                $l_passwd_gen = "generar";
                $l_user_create = "Crear un usuario";
                $l_nb_users = "Número de usuarios";
                $l_group_create = "Crear un grupo";
                $l_group_select = "Seleccione un grupo";
                $l_group = "Grupo";
                $l_created_groups = "Grupo(s) ya creado(s)";
                $l_group_name = "Nombre del grupo";
                $l_group_members = "Miembros del grupo :<br>(separado por un 'espacio' o un 'retorno de carro')";
                $l_group_members_remove = "Eliminar todos los miembros de este grupo";
                $l_group_members_to_remove = "<b>Miembros para eliminar :</b><br>Los miembros seleccionados serán eliminados del grupo.<br>Use 'shift' o 'Ctrl' para la selección múltiple.";
                $l_group_members_to_add = "<b>Miembros para añadir :</b><br>Separar los miembros con un 'espacio' o un 'retorno de carro'.";
                $l_manage_selected_user= "Gestionar el usuario seleccionado";
                $l_group_member = "Miembro del grupo";
                $l_group_empty = "La lista de grupos está vacía";
                $l_main_group = "El grupo de usuarios actual está resaltado en azul";
                $l_no_group = "No hay grupo";
                $l_no_open_session = "No hay sesión abierta";
                $l_opened_sessions = "sesión(es) abierta(s)";
                $l_active_accounting = "contabilidad(s) activa(s)";
                $l_want_to_close ="¿Quieres cerrarlos?";
                $l_yes_close ="Sí, cerca.";
                $l_status ="ESTADO";
                $l_personal_info ="INFORMACIÓN PERSONAL";
                $l_connections ="CONEXIONES";
                $l_open_sessions ="SESIONES ABIERTAS";
                $l_members ="MIEMBROS";
                $l_attributes ="ATRIBUTOS";
                $l_remove ="REMOVER";
                $l_locked_user ="La cuenta de usuario está bloqueada";
                $l_user_remain_login ="La cuenta del usuario está bloqueadaEl usuario puede ingresar durante ";
                $l_user_expired ="La cuenta de usuario ha expirado";
                $l_connected ="Conectado desde";
                $l_connection_time ="Tiempo de conexión";
                $l_total_connections_time ="Tiempo total de conexiones";
                $l_user_never_login ="Este usuario nunca se ha conectado";
                $l_user_not_login_yet ="Este usuario no está conectado todavía";
                $l_last_login ="La última conexión";
                $l_remain_time ="Tiempo de conexión restante";
                $l_description ="Descripción";
                $l_name = "Nombre y apellido";
                $l_email = "Dirección de correo electrónico"; 
                $l_homephone = "Número de teléfono personal";
                $l_telephonenumber = "Número de teléfono de la oficina";
                $l_mobile = "Número de teléfono móvil";
                $l_lang_ticket = "Idioma de los vales"; 
                $l_simultaneous_use = "Número de accesos simultáneos";
                $l_max_all_session = "Tiempo máximo de conexión<br>(en segundos)";
                $l_expire_after = "Período autorizado después de la primera conexión <br>(en segundos)";
                $l_expiration = "Fecha de caducidad";
                $l_session_timeout = "Tiempo máximo para una sesión <br>(en segundos)";
                $l_daily_timeout = "Tiempo máximo de conexión por día<br>(en segundos)";
                $l_monthly_timeout = "Tiempo máximo de conexión por mes<br>(en segundos)";
                $l_login_time = "Período semanal";
                $l_max_input_octets = "Máximo de datos cargados<br>(en octetos)";
                $l_max_output_octets = "Máximo de datos descargados<br>(en octetos)";
                $l_max_total_octets = "Máximo de datos intercambiados<br>(en octetos)";
                $l_max_total_octets_daily = "Máximo de datos intercambiados diariamente<br>(en octetos)";
                $l_max_total_octets_monthly = "Máximo de datos intercambiados mensualmente<br>(en octetos)";
                $l_max_bandwidth_up = "Máximo ancho de banda de subida<br>(en kbits/segundo)";
                $l_max_bandwidth_down = "Ancho de banda máximo de descarga<br>(en kbits/segundo)";
                $l_wispr_redirection = "URL de redireccionamiento";
                $l_click_for_help = "Haz clic para mostrar la ayuda sobre este atributo";       
                $l_show_profile = "Mostrar perfil";
                $l_are_you_sure = "¿Está seguro de eliminar";
                $l_yes_remove = "sí, borrar";
                $l_create = "Crear";
                $l_advanced_menu = "Menú avanzado";
                $l_simple_menu = "Menú simple";
                $l_change = "Cambiar";
                $l_or = "O";
                $l_create_ticket = "Crear un billete (vale)";
                $l_create_multiple = "Crear varios boletos";
                $l_create_multiple_comment = "<br>Nota: cuando se crean varios boletos simultáneamente :<br>
                - el nombre de usuario y la contraseña se generan al azar,<br>
                - Los campos \"Apellido y nombre\" y \"Dirección de correo electrónico\" no se usan.<br>";
                $l_createTicketsMSG = "Introduzca el número de usuarios a crear";
                $l_filtering = "Antivirus y filtrado de dominio";
                $l_filtering_none = "Ninguno";
                $l_filtering_av = "Antivirus WEB";
                $l_filtering_av_bl = "Lista negra + antivirus WEB";
                $l_filtering_av_wl = "Lista blanca + antivirus WEB";
                $l_user_exists = "ya existe!";
                $l_created = "se ha creado correctamente";
                $l_removed = "se ha eliminado";
                $l_group_desc = "<h2>Atributos del grupo</h2>";
                $l_user_desc = "<h2>Atributos del usuario</h2>";
                $l_proto="Filtrado de protocolos de red";
                $l_proto_0="Ninguno";
                $l_proto_1="Navegación web (HTTP y HTTPS)";
                $l_proto_2="Navegación web + Correo + acceso remoto";
                $l_proto_3="Personalizado";
                $l_empty="Vacío";
                $l_ipAddress="Dirección IP";
                $l_rule="Regla";
                $l_statusOpenRequired="retención de sesión";
                $l_yes="sí";
                $l_no="No";
        break;
        default :
                $l_monday="monday"; $l_tuesday="tuesday"; $l_wednesday="wednesday"; $l_thursday="thursday"; $l_friday="friday"; $l_saturday="saturday"; $l_sunday="sunday";
                $l_monthly="monthly";$l_weekly="weekly";$l_daily="daily";$l_by_session="by session";
                $l_day = "Day";
                $l_limit = "limit";
                $l_daily_limit="daily limit";
                $l_used_time = "Used time";
                $l_last7days_status = "Last 7 days status";
                $l_already_exist = "already exist";
                $l_connections_number = "Connections number";
                $l_download = "Downloaded data";
                $l_upload = "Uploaded data";
                $l_average = "average";
                $l_user = "User";
                $l_users_managment = "Users managment";
                $l_groups_managment = "Groups managment";
                $l_search_filter = "Search filter";
                $l_search_criteria = "Search criteria";
                $l_search = "Start search";
                $l_no_user_found = "No user found";
                $l_special_attribute = "Special attribute";
                $l_attribute = "Attribute";
                $l_value = "Value<br>(empty = all)";
                $l_login = "Login";
                $l_password = "Password";
                $l_new_password = "New password";
                $l_passwd_gen = "generate";
                $l_user_create = "Create a user";
                $l_nb_users = "Number of users";
                $l_group_create = "Create a group";
                $l_group_select = "Select a group";
                $l_group = "Group";
                $l_created_groups = "Already created group(s)";
                $l_group_name = "Group name";
                $l_group_members = "Members of group :<br>(separate by a 'space' or a 'carriage return')";
                $l_group_members_remove = "Remove all members of this group";
                $l_group_members_to_remove = "<b>Members to remove :</b><br>The selected members will be remove from the group.<br>Use 'shift' or 'Ctrl' for multiple selection.";
                $l_group_members_to_add = "<b>Members to add :</b><br>Separate the members with a 'space' or a 'carriage return'.";
                $l_manage_selected_user= "Manage the selected user";
                $l_group_member = "Member of group";
                $l_group_empty = "The group list is empty";
                $l_main_group = "The current user group is highlighted in blue";
                $l_no_group = "No group";
                $l_no_open_session = "No open session";
                $l_opened_sessions = "opened session(s)";
                $l_active_accounting = "active accounting(s)";
                $l_want_to_close ="Do you want to close them ?";
                $l_yes_close ="Yes, close";
                $l_status ="STATUS";
                $l_personal_info ="PERSONAL INFORMATIONS";
                $l_connections ="CONNECTIONS";
                $l_open_sessions ="OPEN SESSIONS";
                $l_members ="MEMBERS";
                $l_attributes ="ATTRIBUTES";
                $l_remove ="REMOVE";
                $l_locked_user ="The user account is locked";
                $l_user_remain_login ="The user can log in during ";
                $l_user_expired ="The user account has expired";
                $l_connected ="Connected from";
                $l_connection_time ="Connection time";
                $l_total_connections_time ="Total connections time";
                $l_user_never_login ="This user has never logged in";
                $l_user_not_login_yet ="This user isn't connected yet";
                $l_last_login ="Last connection";
                $l_remain_time ="Remain connection time";
                $l_description ="Description";
                $l_name = "Surname and name";
                $l_email = "Email Address";     
                $l_homephone = "Personal phone number";
                $l_telephonenumber = "Office phone number";
                $l_mobile = "Mobile phone number";
                $l_lang_ticket = "Voucher language";    
                $l_simultaneous_use = "Number of concurent login";
                $l_max_all_session = "Maximum time of connection<br>(in seconds)";
                $l_expire_after = "Authorized period after the first connection<br>(in seconds)";
                $l_expiration = "Expiration date";
                $l_session_timeout = "Maximum time for a session<br>(in seconds)";
                $l_daily_timeout = "Maximum time of connection per day<br>(in seconds)";
                $l_monthly_timeout = "Maximum time of connection per month<br>(in seconds)";
                $l_login_time = "Weekly period";
                $l_max_input_octets = "Maximum of data uploaded<br>(in octets)";
                $l_max_output_octets = "Maximum of data downloaded<br>(in octets)";
                $l_max_total_octets = "Maximum of data exchanged<br>(in octets)";
                $l_max_total_octets_daily = "Maximum of data exchanged daily<br>(in octets)";
                $l_max_total_octets_monthly = "Maximum of data exchanged monthly<br>(in octets)";
                $l_max_bandwidth_up = "Maximum upload bandwidth<br>(in kbits/second)";
                $l_max_bandwidth_down = "Maximum download bandwidth<br>(in kbits/second)";
                $l_wispr_redirection = "Redirection URL";
                $l_click_for_help = "Click to show help about this attribute";  
                $l_show_profile = "Show profile";
                $l_are_you_sure = "Are you sure to remove";
                $l_yes_remove = "Yes, remove";
                $l_create = "Create";
                $l_advanced_menu = "Advanced menu";
                $l_simple_menu = "Simple menu";
                $l_change = "Change";
                $l_or = "Or";
                $l_create_ticket = "Create a ticket (voucher)";
                $l_create_multiple = "Create several tickets";
                $l_create_multiple_comment = "<br>Note: when creating multiple tickets simultaneously :<br>
                - username and password are randomly generated,<br>
                - fields \"Surname and name\" and \"Email Address\" are not use.<br> ";
                $l_createTicketsMSG = "Enter the number of users to create";
                $l_filtering = "Antivirus & domain Filtering";
                $l_filtering_none = "None";
                $l_filtering_av = "WEB Antivirus";
                $l_filtering_av_bl = "Blacklist + WEB antivirus";
                $l_filtering_av_wl = "Whitelist + WEB antivirus";
                $l_user_exists = "already exists !";
                $l_created = "has been correctly created";
                $l_removed = "has been removed";
                $l_group_desc = "<h2>Group Attributes</h2>";
                $l_user_desc = "<h2>User Attributes</h2>";
                $l_proto="Network protocols filtering";
                $l_proto_0="None";
                $l_proto_1="Web browsing (HTTP & HTTPS)";
                $l_proto_2="Web browsing + Mail + remote access";
                $l_proto_3="Customized";
                $l_empty="Empty";
                $l_ipAddress="IP address";
                $l_rule="Rule";
                $l_statusOpenRequired="Keeping sessions alive";
                $l_yes="Yes";
                $l_no="No";
        break;
        }
?>