diff --git a/languages/en.lang b/languages/en.lang index f79eb8cd..dd98685c 100644 --- a/languages/en.lang +++ b/languages/en.lang @@ -56,8 +56,11 @@ $PALANG['add_alias'] = 'Add Forward'; $PALANG['add_alias_domain'] = 'Add Alias Domain'; $PALANG['add_mailbox'] = 'Add Mailbox'; $PALANG['pMenu_fetchmail'] = 'Fetch Email'; +$PALANG['pMenu_fetchmail_menu'] = 'Email Fetch'; $PALANG['pMenu_sendmail'] = 'Send Email'; +$PALANG['pMenu_sendmail_menu'] = 'Send'; $PALANG['pMenu_dkim'] = 'Domain Keys'; +$PALANG['pMenu_dkim_menu'] = 'DKIM'; $PALANG['pMenu_dkim_signing'] = 'Signing Table'; $PALANG['pMenu_security'] = 'Security'; $PALANG['pMenu_password'] = 'Password'; @@ -75,6 +78,10 @@ $PALANG['pMain_sendmail'] = 'Send an email to one of your newly created mailboxe $PALANG['pMain_password'] = 'Change the password for your admin account.'; $PALANG['pMain_viewlog'] = 'View the log files.'; $PALANG['pMain_logout'] = 'Logout from the system'; +$PALANG['pMain_global_search'] = 'Global Search'; +$PALANG['pMain_global_search_placeholder'] = 'Global search (mailbox, alias ...)'; +$PALANG['pMain_search_button'] = 'Search'; +$PALANG['pMain_dashboard'] = 'Dashboard'; $PALANG['pOverview_disabled'] = 'Disabled'; $PALANG['pOverview_unlimited'] = 'Unlimited'; @@ -332,8 +339,11 @@ $PALANG['pViewlog_action_delete_dkim_signing_entry'] = 'delete domain signing en $PALANG['pMain_dkim'] = 'Add a Domain Key for use with OpenDKIM.'; $PALANG['pAdminMenu_list_admin'] = 'Admin List'; +$PALANG['pAdminMenu_admin'] = 'Admins'; $PALANG['pAdminMenu_list_domain'] = 'Domain List'; +$PALANG['pAdminMenu_domain'] = 'Domains'; $PALANG['pAdminMenu_list_virtual'] = 'Virtual List'; +$PALANG['pAdminMenu_virtual'] = 'Virtual'; $PALANG['pAdminMenu_backup'] = 'Backup'; $PALANG['pAdminMenu_create_domain_admins'] = 'Domain Admins'; $PALANG['pAdminMenu_create_admin'] = 'New Admin'; diff --git a/languages/es.lang b/languages/es.lang index daa8179d..57e56026 100644 --- a/languages/es.lang +++ b/languages/es.lang @@ -1,7 +1,7 @@ "Save changes" $PALANG['confirm'] = '¿Está seguro de que desea borrarlo?\n'; $PALANG['confirm_delete_admin'] = '¿Estás seguro que deseas borrar al admin %s?'; # XXX @@ -24,7 +24,7 @@ $PALANG['confirm_delete_mailbox'] = '¿Estás seguro que deseas borrar el buzón $PALANG['confirm_delete_vacation'] = '¿Estás seguro que deseas borrar el mensaje de vacaciones para %s?'; # XXX $PALANG['no_delete_permissions'] = 'No tienes permitido borrar %s!'; # XXX $PALANG['check_update'] = 'Checar actualización'; # XXX -$PALANG['invalid_parameter'] = '¡Parámetro inválido!'; +$PALANG['invalid_parameter'] = '¡Parámetro inválido!'; $PALANG['show'] = 'Mostrar:'; # XXX $PALANG['all'] = 'Todo'; # XXX $PALANG['created'] = 'creado'; # XXX @@ -44,19 +44,19 @@ $PALANG['pLogin_username'] = 'Usuario (e-mail)'; # XXX compare with pUsersLogin_ $PALANG['password'] = 'Contraseña'; $PALANG['pLogin_language'] = 'Lenguaje'; # XXX $PALANG['pLogin_button'] = 'Usuario'; # XXX compare with pUsersLogin_button - should be "Login" -$PALANG['pLogin_failed'] = 'La cuenta de email o la contraseña no son correctas.'; +$PALANG['pLogin_failed'] = 'La cuenta de email o la contraseña no son correctas.'; $PALANG['pLogin_login_users'] = 'Login para ir a la sección de usuarios.'; -$PALANG['pMenu_main'] = 'Principal'; +$PALANG['pMenu_main'] = 'Principal'; $PALANG['pMenu_overview'] = 'Resumen'; $PALANG['add_alias'] = 'Añadir alias'; $PALANG['add_alias_domain'] = 'Añadir alias de dominio'; # XXX check text - should be 'Add Alias Domain' $PALANG['add_mailbox'] = 'Añadir buzón'; -$PALANG['pMenu_fetchmail'] = 'Obtener Emails'; -$PALANG['pMenu_sendmail'] = 'Enviar e-mail'; -$PALANG['pMenu_dkim'] = 'Claves DKIM'; # XXX -$PALANG['pMenu_dkim_signing'] = 'Tabla de firmas'; # XXX +$PALANG['pMenu_fetchmail'] = 'Recibir correo'; +$PALANG['pMenu_sendmail'] = 'Enviar correo'; +$PALANG['pMenu_dkim'] = 'Claves DKIM'; +$PALANG['pMenu_dkim_signing'] = 'Tabla de firmas'; $PALANG['pMenu_password'] = 'Contraseña'; -$PALANG['pMenu_viewlog'] = 'Ver Logs'; +$PALANG['pMenu_viewlog'] = 'Ver logs'; $PALANG['pMenu_logout'] = 'Salir'; $PALANG['pMain_welcome'] = '¡Bienvenido a Postfix Admin!'; @@ -68,51 +68,51 @@ $PALANG['pMain_password'] = 'Cambiar la contraseña para su cuenta de administra $PALANG['pMain_viewlog'] = 'Ver Logs.'; $PALANG['pMain_logout'] = 'Salir.'; -$PALANG['pOverview_disabled'] = 'Deshabilitado'; -$PALANG['pOverview_unlimited'] = 'Ilimitado'; -$PALANG['pOverview_title'] = ':: Dominios Definidos'; -$PALANG['pOverview_up_arrow'] = 'Arriba'; -$PALANG['pOverview_right_arrow'] = 'Página siguiente'; -$PALANG['pOverview_left_arrow'] = 'Página anterior'; -$PALANG['pOverview_alias_domain_title'] = ':: Alias de Dominios'; -$PALANG['pOverview_alias_title'] = ':: Alias'; -$PALANG['pOverview_mailbox_title'] = ':: Buzones'; +$PALANG['pOverview_disabled'] = 'Deshabilitado'; +$PALANG['pOverview_unlimited'] = 'Ilimitado'; +$PALANG['pOverview_title'] = ':: Dominios Definidos'; +$PALANG['pOverview_up_arrow'] = 'Arriba'; +$PALANG['pOverview_right_arrow'] = 'Página siguiente'; +$PALANG['pOverview_left_arrow'] = 'Página anterior'; +$PALANG['pOverview_alias_domain_title'] = ':: Alias de Dominios'; +$PALANG['pOverview_alias_title'] = ':: Alias'; +$PALANG['pOverview_mailbox_title'] = ':: Buzones'; $PALANG['go'] = 'Ir'; $PALANG['pOverview_welcome'] = 'Resumen de '; -$PALANG['pOverview_alias_domain_aliases'] = 'Alias de Dominios'; +$PALANG['pOverview_alias_domain_aliases'] = 'Alias de Dominios'; $PALANG['pOverview_alias_address'] = 'De'; -$PALANG['active'] = 'Activo'; +$PALANG['active'] = 'Activo'; $PALANG['smtp_active'] = 'SMTP'; -$PALANG['and_x_more'] = '[y %s más...]'; +$PALANG['and_x_more'] = '[y %s más...]'; $PALANG['pOverview_mailbox_username'] = 'E-mail'; $PALANG['name'] = 'Nombre'; $PALANG['pOverview_mailbox_quota'] = 'Cuota (MB)'; -$PALANG['pOverview_vacation_edit'] = 'VACATION ESTÁ ACTIVADO'; -$PALANG['pOverview_vacation_option'] = 'Establecer Vacation'; +$PALANG['pOverview_vacation_edit'] = 'VACATION ESTÁ ACTIVADO'; +$PALANG['pOverview_vacation_option'] = 'Establecer Vacation'; $PALANG['no_domains_for_this_admin'] = 'No tienes permisos sobre ningún dominio.'; # XXX $PALANG['no_domains_exist'] = 'Debes crear al menos un dominio antes de usar la lista virtual.'; # "virtual list" should match $PALANG['pAdminMenu_list_virtual'] # XXX $PALANG['domain'] = 'Dominio'; -$PALANG['pOverview_get_alias_domains'] = 'Alias de Dominios'; +$PALANG['pOverview_get_alias_domains'] = 'Alias de Dominios'; $PALANG['mailboxes'] = 'Buzones'; -$PALANG['pOverview_get_quota'] = 'Cuota de buzón (MB)'; +$PALANG['pOverview_get_quota'] = 'Cuota Buzón'; $PALANG['pDelete_delete_error'] = 'Imposible borrar el registro '; -$PALANG['pDelete_delete_success'] = '%s borrado.'; +$PALANG['pDelete_delete_success'] = '%s borrado.'; $PALANG['pDelete_domain_error'] = 'Este dominio no le pertenece '; -$PALANG['pDelete_alias_error'] = 'No se pudo eliminar el alias '; -$PALANG['pCreate_alias_domain_welcome'] = 'Sincronizar direcciones de un dominio a otro.'; -$PALANG['pCreate_alias_domain_alias'] = 'Alias de Dominio'; -$PALANG['pCreate_alias_domain_alias_text'] = 'El dominio al que llega el email.'; -$PALANG['pCreate_alias_domain_target'] = 'Dominio de destino'; -$PALANG['pCreate_alias_domain_target_text'] = 'El dominio al que deberían ir los emails.'; -$PALANG['pCreate_alias_domain_error1'] = 'No estás autorizado a crear la configuración que has elegido.'; -$PALANG['pCreate_alias_domain_error2'] = '¡La configuración seleccionada no es válida, por favor elige una diferente!'; +$PALANG['pDelete_alias_error'] = 'No se pudo eliminar el alias '; +$PALANG['pCreate_alias_domain_welcome'] = 'Sincronizar direcciones de un dominio a otro.'; +$PALANG['pCreate_alias_domain_alias'] = 'Alias de Dominio'; +$PALANG['pCreate_alias_domain_alias_text'] = 'El dominio al que llega el email.'; +$PALANG['pCreate_alias_domain_target'] = 'Dominio de destino'; +$PALANG['pCreate_alias_domain_target_text'] = 'El dominio al que deberían ir los emails.'; +$PALANG['pCreate_alias_domain_error1'] = 'No estás autorizado a crear la configuración que has elegido.'; +$PALANG['pCreate_alias_domain_error2'] = '¡La configuración seleccionada no es válida, por favor elige una diferente!'; $PALANG['alias_domain_already_exists'] = 'Este dominio ya existe como alias!'; # XXX $PALANG['alias_domain_does_not_exist'] = 'Este dominio no existe como alias!'; # XXX $PALANG['alias_domain_create_failed'] = 'Falló la inserción en la base de datos. (%s)'; # XXX Text changed to: Creating the alias domain %s failed! $PALANG['alias_domain_change_failed'] = 'Changing the alias domain %s failed!'; # XXX -$PALANG['pCreate_alias_domain_error4'] = 'Ya están todos los dominios asignados.'; +$PALANG['pCreate_alias_domain_error4'] = 'Ya están todos los dominios asignados.'; $PALANG['pCreate_alias_domain_success'] = '¡El alias de dominio se insertó en la tabla! (%s)'; # XXX Text changed to: The alias domain %s has been created. $PALANG['alias_domain_changed'] = 'El alias de dominio %s ha sido modificado.'; # XXX $PALANG['alias_domain_to_itsself'] = 'Un dominio no puede ser alias de si mismo!'; # XXX @@ -138,9 +138,9 @@ $PALANG['alias'] = 'Alias'; $PALANG['to'] = 'Destino'; $PALANG['pEdit_alias_goto_text_error1'] = 'No ha introducido nada en el destino'; $PALANG['pEdit_alias_goto_text_error2'] = 'La dirección de e-mail introducida no es válida: '; -$PALANG['pEdit_alias_domain_result_error'] = '¡No se pudo modificar el alias de dominio!'; -$PALANG['pEdit_alias_forward_and_store'] = 'Entregar al buzón local.'; -$PALANG['pEdit_alias_forward_only'] = 'Reenviar sólo al email especificado.'; +$PALANG['pEdit_alias_domain_result_error'] = '¡No se pudo modificar el alias de dominio!'; +$PALANG['pEdit_alias_forward_and_store'] = 'Entregar al buzón local.'; +$PALANG['pEdit_alias_forward_only'] = 'Reenviar sólo al email especificado.'; $PALANG['pEdit_alias_result_error'] = '¡Imposible modificar el alias! (%s)'; # XXX Text changed to: Modifying the alias %s failed! $PALANG['pCreate_mailbox_welcome'] = 'Crear un nuevo buzón para su dominio.'; @@ -190,8 +190,8 @@ $PALANG['pPassword_recovery_processed'] = "We processed your request. If you ent $PALANG['pPassword_password_code'] = 'Código enviado vía correo / SMS'; # XXX $PALANG['pPassword_code_text_error'] = 'Código invalido'; # XXX -$PALANG['pEdit_vacation_set'] = 'Cambiar / Establecer mensaje de ausencia'; -$PALANG['pEdit_vacation_remove'] = 'Quitar mensaje de ausencia'; +$PALANG['pEdit_vacation_set'] = 'Cambiar / Establecer mensaje de ausencia'; +$PALANG['pEdit_vacation_remove'] = 'Quitar mensaje de ausencia'; $PALANG['pVacation_result_error'] = '¡Imposible actualizar la configuracióne la respuesta automática! (%s)'; # XXX Text changed to: Updating the auto response settings for %s failed $PALANG['pVacation_result_removed'] = '¡Autorespuesta eliminada! (%s)'; # XXX Text changed to "Auto response for %s has been disabled!" $PALANG['pVacation_result_added'] = '¡Autorespuesta habilitada! (%s)'; # XXX Text changed to "Auto response for %s has been enabled!" @@ -213,19 +213,19 @@ $PALANG['pViewlog_data'] = 'Datos'; $PALANG['pViewlog_action_create_domain'] = 'crear dominio'; # XXX $PALANG['pViewlog_action_delete_domain'] = 'borrar dominio'; # XXX $PALANG['pViewlog_action_edit_domain'] = 'editar dominio'; # XXX -$PALANG['pViewlog_action_create_mailbox'] = 'crear buzón'; -$PALANG['pViewlog_action_delete_mailbox'] = 'borrar buzón'; -$PALANG['pViewlog_action_edit_mailbox'] = 'editar buzón'; -$PALANG['pViewlog_action_edit_mailbox_state'] = 'editar buzón activo'; -$PALANG['pViewlog_action_create_alias'] = 'crear alias'; -$PALANG['pViewlog_action_create_alias_domain'] = 'crear alias de dominio'; +$PALANG['pViewlog_action_create_mailbox'] = 'crear buzón'; +$PALANG['pViewlog_action_delete_mailbox'] = 'borrar buzón'; +$PALANG['pViewlog_action_edit_mailbox'] = 'editar buzón'; +$PALANG['pViewlog_action_edit_mailbox_state'] = 'editar buzón activo'; +$PALANG['pViewlog_action_create_alias'] = 'crear alias'; +$PALANG['pViewlog_action_create_alias_domain'] = 'crear alias de dominio'; $PALANG['pViewlog_action_edit_alias_domain'] = 'editar alias de dominio'; # XXX -$PALANG['pViewlog_action_delete_alias'] = 'borrar alias'; -$PALANG['pViewlog_action_delete_alias_domain'] = 'borrar alias de dominio'; -$PALANG['pViewlog_action_edit_alias'] = 'editar alias'; -$PALANG['pViewlog_action_edit_alias_state'] = 'editar alias activo'; -$PALANG['pViewlog_action_edit_alias_domain_state'] = 'editar alias de dominio activo'; -$PALANG['pViewlog_action_edit_password'] = 'cambiar contraseña'; +$PALANG['pViewlog_action_delete_alias'] = 'borrar alias'; +$PALANG['pViewlog_action_delete_alias_domain'] = 'borrar alias de dominio'; +$PALANG['pViewlog_action_edit_alias'] = 'editar alias'; +$PALANG['pViewlog_action_edit_alias_state'] = 'editar alias activo'; +$PALANG['pViewlog_action_edit_alias_domain_state'] = 'editar alias de dominio activo'; +$PALANG['pViewlog_action_edit_password'] = 'cambiar contraseña'; $PALANG['pViewlog_action_create_admin'] = 'crear un admin'; # XXX $PALANG['pViewlog_action_edit_admin'] = 'editar un admin'; # XXX $PALANG['pViewlog_action_delete_admin'] = 'borrar un admin'; # XXX @@ -246,32 +246,32 @@ $PALANG['pSendmail_body'] = 'Cuerpo'; $PALANG['pSendmail_button'] = 'Enviar mensaje'; $PALANG['pSendmail_result_error'] = '¡Imposible enviar el email! (%s)'; # XXX text change - new: Unable to send email to %s! $PALANG['pSendmail_result_success'] = '¡Email enviado! (%s)'; # XXX text change - new: Email sent to %s. -$PALANG['pDkim_new_key'] = 'Agregar clave DKIM'; # XXX -$PALANG['pDkim_new_sign'] = 'Agregar entrada de firma'; # XXX -$PALANG['pDkim_edit_key'] = 'Editar clave DKIM'; # XXX -$PALANG['pDkim_edit_sign'] = 'Editar entrada de firma'; # XXX -$PALANG['pDkim_field_selector'] = 'Selector'; # XXX -$PALANG['pDkim_field_pkey'] = 'Clave privada'; # XXX -$PALANG['pDkim_field_pub'] = 'Clave pública'; # XXX -$PALANG['pDkim_field_author'] = 'Autor'; # XXX -$PALANG['pDkim_field_dkim_id'] = 'Clave DKIM'; # XXX -$PALANG['pDkim_field_selector_desc'] = 'Define el selector usado para firmar mensajes'; # XXX -$PALANG['pDkim_field_domain_desc'] = 'Define el dominio que usará esta clave para firmar'; # XXX -$PALANG['pDkim_field_pkey_desc'] = 'Clave privada PEM usada para firmar mensajes'; # XXX -$PALANG['pDkim_field_pub_desc'] = 'Clave pública PEM'; # XXX -$PALANG['pDkim_field_author_desc'] = 'Autor que usará esta clave para firmar. Puede ser buzón o dominio; el buzón tiene prioridad.'; # XXX -$PALANG['pDkim_field_dkim_id_desc'] = 'Clave DKIM que usará este autor'; # XXX -$PALANG['dkim_already_exists'] = 'Esta clave DKIM ya existe.'; # XXX -$PALANG['dkim_does_not_exist'] = 'Esta clave DKIM no existe.'; # XXX -$PALANG['dkim_signing_already_exists'] = 'Esta entrada de firma DKIM ya existe.'; # XXX -$PALANG['dkim_signing_does_not_exist'] = 'Esta entrada de firma DKIM no existe.'; # XXX -$PALANG['pViewlog_action_create_dkim_entry'] = 'crear clave DKIM'; # XXX -$PALANG['pViewlog_action_edit_dkim_entry'] = 'editar clave DKIM'; # XXX -$PALANG['pViewlog_action_delete_dkim_entry'] = 'borrar clave DKIM'; # XXX -$PALANG['pViewlog_action_create_dkim_signing_entry'] = 'crear entrada de firma DKIM'; # XXX -$PALANG['pViewlog_action_edit_dkim_signing_entry'] = 'editar entrada de firma DKIM'; # XXX -$PALANG['pViewlog_action_delete_dkim_signing_entry'] = 'borrar entrada de firma DKIM'; # XXX -$PALANG['pMain_dkim'] = 'Agregar clave DKIM para OpenDKIM.'; # XXX +$PALANG['pDkim_new_key'] = 'Agregar clave DKIM'; +$PALANG['pDkim_new_sign'] = 'Agregar entrada de firma'; +$PALANG['pDkim_edit_key'] = 'Editar clave DKIM'; +$PALANG['pDkim_edit_sign'] = 'Editar entrada de firma'; +$PALANG['pDkim_field_selector'] = 'Selector'; +$PALANG['pDkim_field_pkey'] = 'Clave privada'; +$PALANG['pDkim_field_pub'] = 'Clave pública'; +$PALANG['pDkim_field_author'] = 'Autor'; +$PALANG['pDkim_field_dkim_id'] = 'Clave DKIM'; +$PALANG['pDkim_field_selector_desc'] = 'Define el selector usado para firmar mensajes'; +$PALANG['pDkim_field_domain_desc'] = 'Define el dominio que usará esta clave para firmar'; +$PALANG['pDkim_field_pkey_desc'] = 'Clave privada PEM usada para firmar mensajes'; +$PALANG['pDkim_field_pub_desc'] = 'Clave pública PEM'; +$PALANG['pDkim_field_author_desc'] = 'Autor que usará esta clave para firmar. Puede ser buzón o dominio; el buzón tiene prioridad.'; +$PALANG['pDkim_field_dkim_id_desc'] = 'Clave DKIM que usará este autor'; +$PALANG['dkim_already_exists'] = 'Esta clave DKIM ya existe.'; +$PALANG['dkim_does_not_exist'] = 'Esta clave DKIM no existe.'; +$PALANG['dkim_signing_already_exists'] = 'Esta entrada de firma DKIM ya existe.'; +$PALANG['dkim_signing_does_not_exist'] = 'Esta entrada de firma DKIM no existe.'; +$PALANG['pViewlog_action_create_dkim_entry'] = 'crear clave DKIM'; +$PALANG['pViewlog_action_edit_dkim_entry'] = 'editar clave DKIM'; +$PALANG['pViewlog_action_delete_dkim_entry'] = 'borrar clave DKIM'; +$PALANG['pViewlog_action_create_dkim_signing_entry'] = 'crear entrada de firma DKIM'; +$PALANG['pViewlog_action_edit_dkim_signing_entry'] = 'editar entrada de firma DKIM'; +$PALANG['pViewlog_action_delete_dkim_signing_entry'] = 'borrar entrada de firma DKIM'; +$PALANG['pMain_dkim'] = 'Agregar clave DKIM para OpenDKIM.'; $PALANG['pAdminMenu_list_admin'] = 'Lista de administradores'; $PALANG['pAdminMenu_list_domain'] = 'Lista de dominios'; @@ -285,15 +285,15 @@ $PALANG['pAdminList_admin_count'] = 'Dominios'; $PALANG['description'] = 'Descripción'; $PALANG['aliases'] = 'Alias'; -$PALANG['pAdminList_domain_quota'] = 'Cuota Total'; # XXX -$PALANG['pAdminList_domain_backupmx'] = 'Backup MX'; # XXX +$PALANG['pAdminList_domain_quota'] = 'Cuota Total'; +$PALANG['pAdminList_domain_backupmx'] = 'Backup MX'; $PALANG['last_modified'] = 'Última Modificación'; $PALANG['pAdminCreate_domain_welcome'] = 'Añadir nuevo dominio'; $PALANG['pAdminCreate_domain_domain_text_error'] = '¡El dominio ya existe!'; $PALANG['domain_does_not_exist'] = 'Este dominio no existe!'; # XXX -$PALANG['pAdminCreate_domain_domain_text_error2'] = '!El dominio no es válido!'; +$PALANG['pAdminCreate_domain_domain_text_error2'] = '!El dominio no es válido!'; $PALANG['pAdminCreate_domain_defaultaliases'] = 'Añadir alias por defecto'; $PALANG['pAdminCreate_domain_button'] = 'Añadir dominio'; $PALANG['pAdminCreate_domain_result_error'] = '¡Imposible añadir el dominio! (%s)'; # XXX Text changed to: Adding the domain %s failed! @@ -307,7 +307,7 @@ $PALANG['mailbox_postdel_failed'] = 'The mailbox postdeletion script failed, che $PALANG['mailbox_postedit_failed'] = 'The mailbox postedit script failed, check the error log for details!'; # XXX $PALANG['mailbox_postcreate_failed'] = 'The mailbox postcreate script failed, check the error log for details!'; # XXX $PALANG['mailbox_postpassword_failed'] = 'The mailbox postpassword script failed, check the error log for details!'; # XXX -$PALANG['pAdminDelete_alias_domain_error'] = '¡No se pudo eliminar el alias de dominio!'; +$PALANG['pAdminDelete_alias_domain_error'] = '¡No se pudo eliminar el alias de dominio!'; $PALANG['domain_conflict_vacation_domain'] = 'You can\'t use the vacation domain as mail domain!'; # XXX $PALANG['pAdminEdit_domain_welcome'] = 'Editar un dominio'; @@ -317,7 +317,7 @@ $PALANG['pAdminEdit_domain_maxquota_text'] = 'MB | -1 = deshabilitar | 0 = ilimi $PALANG['pAdminEdit_domain_quota'] = 'Cuota de Dominio Total (MB)'; # XXX $PALANG['transport'] = 'Transporte'; # XXX check text - should be 'Transport' $PALANG['pAdminEdit_domain_transport_text'] = 'Definir transport'; # XXX -$PALANG['pAdminEdit_domain_backupmx'] = 'El servidor de correo es backup MX'; # XXX +$PALANG['pAdminEdit_domain_backupmx'] = 'Backup MX'; $PALANG['pAdminEdit_domain_result_error'] = '¡Imposible modificar el dominio! (%s)'; # XXX Text changed to: Modifying the domain %s failed! $PALANG['pAdminCreate_admin_welcome'] = 'Añadir un nuevo administrador de dominio'; @@ -347,14 +347,14 @@ $PALANG['pUsersMenu_vacation'] = 'Respuesta automática'; $PALANG['pUsersMenu_edit_alias'] = 'Cambiar la redirección'; $PALANG['pUsersMain_vacation'] = 'Configure un mensaje de "fuera del trabajo" o una respuesta automática para su correo.'; -$PALANG['pUsersMain_vacationSet'] = $PALANG['pUsersMenu_vacation'] . ' está ACTIVADO, click \'' . $PALANG['pUsersMenu_vacation'] . '\' para ' . $PALANG['edit'] . '/eliminar'; +$PALANG['pUsersMain_vacationSet'] = $PALANG['pUsersMenu_vacation'] . ' está ACTIVADO, click \'' . $PALANG['pUsersMenu_vacation'] . '\' para ' . $PALANG['edit'] . '/eliminar'; $PALANG['pUsersMain_edit_alias'] = 'Cambie su redirección de correo.'; $PALANG['pUsersMain_password'] = 'Cambie su contraseña.'; $PALANG['pUsersVacation_welcome'] = 'Respuesta automática.'; $PALANG['pUsersVacation_welcome_text'] = '¡Ya dispone de una respuesta automática configurada! (%s)'; # XXX Text changed to: 'Auto response for %s is active!' $PALANG['pUsersVacation_subject_text'] = 'Fuera del trabajo'; -$PALANG['message'] = 'Mensaje'; +$PALANG['message'] = 'Mensaje'; $PALANG['pUsersVacation_body_text'] = << hasta <%Until_Date>. Para asuntos urgentes, puede contactar conmigo en . @@ -363,83 +363,83 @@ $PALANG['pUsersVacation_activefrom'] = 'Activar desde'; # XXX $PALANG['pUsersVacation_activeuntil'] = 'Activar hasta'; # XXX -$PALANG['pEdit_dbLog_editactive'] = 'cambiar estado activo'; +$PALANG['pEdit_dbLog_editactive'] = 'cambiar estado activo'; -$PALANG['pSearch'] = 'buscar'; -$PALANG['pSearch_welcome'] = 'Buscando: '; -$PALANG['pReturn_to'] = 'Volver a'; +$PALANG['pSearch'] = 'buscar'; +$PALANG['pSearch_welcome'] = 'Buscando: '; +$PALANG['pReturn_to'] = 'Volver a'; $PALANG['pBroadcast_title'] = 'Enviar mensaje a todos'; # XXX -$PALANG['pBroadcast_name'] = 'Tu nombre'; -$PALANG['pBroadcast_success'] = 'Se ha enviado el mensaje.'; +$PALANG['pBroadcast_name'] = 'Tu nombre'; +$PALANG['pBroadcast_success'] = 'Se ha enviado el mensaje.'; $PALANG['pAdminMenu_broadcast_message'] = 'Mensajería GLOBAL'; # XXX -$PALANG['pBroadcast_error_empty'] = '¡Los campos Nombre, Asunto y Mensaje no pueden estar vacíos!'; +$PALANG['pBroadcast_error_empty'] = '¡Los campos Nombre, Asunto y Mensaje no pueden estar vacíos!'; $PALANG['broadcast_mailboxes_only'] = 'Envíar solo a los buzones'; # XXX $PALANG['broadcast_to_domains'] = 'Envíar a los dominios:'; # XXX -$PALANG['pStatus_undeliverable'] = 'posiblemente NO SE ENTREGÓ'; +$PALANG['pStatus_undeliverable'] = 'posiblemente NO SE ENTREGÓ'; $PALANG['pStatus_disabled'] = 'Cuenta desactivada '; # XXX $PALANG['pStatus_expired'] = 'Contraseña expirada '; # XXX $PALANG['pStatus_vacation'] = 'Mensaje de vacaciones activado '; # XXX -$PALANG['pStatus_custom'] = 'Enviado a '; +$PALANG['pStatus_custom'] = 'Enviado a '; $PALANG['pStatus_popimap'] = 'POP/IMAP '; # XXX -$PALANG['password_too_short'] = "La contraseña es demasiado corta - se necesitan %s caracteres"; +$PALANG['password_too_short'] = "La contraseña es demasiado corta - se necesitan %s caracteres"; $PALANG['password_no_characters'] = "Your password must contain at least %s letters (A-Z, a-z)."; # XXX $PALANG['password_no_digits'] = "Your password must contain at least %s digit(s)."; # XXX $PALANG['password_no_special'] = "Your password must contain at least %s special character(s)."; # XXX -$PALANG['pInvalidDomainRegex'] = "El nombre de dominio %s es inválido, no se ajusta a la expresión regular"; -$PALANG['pInvalidDomainDNS'] = "El dominio %s no es válido, y/o no tiene resolución DNS"; +$PALANG['pInvalidDomainRegex'] = "El nombre de dominio %s es inválido, no se ajusta a la expresión regular"; +$PALANG['pInvalidDomainDNS'] = "El dominio %s no es válido, y/o no tiene resolución DNS"; $PALANG['pInvalidMailRegex'] = "La dirección de email no es válidas, no se ajusta a la expresión regular (%s)"; # XXX %s added - but it should be in the text, not at the end $PALANG['pFetchmail_welcome'] = 'Obtener mail para:'; -$PALANG['pFetchmail_new_entry'] = 'Nueva entrada'; +$PALANG['pFetchmail_new_entry'] = 'Nueva entrada'; $PALANG['fetchmail_already_exists'] = 'La tarea fetchmail ya existe!'; # XXX $PALANG['fetchmail_does_not_exist'] = 'La tarea fetchmail no existe!'; # XXX -$PALANG['pFetchmail_database_save_error'] = '¡No se pudo salvar la entrada en la base de datos!'; -$PALANG['pFetchmail_database_save_success'] = 'Entrada salvada en la base de datos.'; +$PALANG['pFetchmail_database_save_error'] = '¡No se pudo salvar la entrada en la base de datos!'; +$PALANG['pFetchmail_database_save_success'] = 'Entrada salvada en la base de datos.'; $PALANG['pFetchmail_error_invalid_id'] = 'Registro con ID %s no encontrado!'; # XXX -$PALANG['pFetchmail_invalid_mailbox'] = '¡Buzón inválido!'; -$PALANG['pFetchmail_server_missing'] = '¡Por favor introduzca el nombre del servidor remoto!'; -$PALANG['pFetchmail_user_missing'] = '¡Por favor introduzca el usuario remoto!'; -$PALANG['pFetchmail_password_missing'] = '¡Por favor introduzca la contraseña remota!'; +$PALANG['pFetchmail_invalid_mailbox'] = '¡Buzón inválido!'; +$PALANG['pFetchmail_server_missing'] = '¡Por favor introduzca el nombre del servidor remoto!'; +$PALANG['pFetchmail_user_missing'] = '¡Por favor introduzca el usuario remoto!'; +$PALANG['pFetchmail_password_missing'] = '¡Por favor introduzca la contraseña remota!'; $PALANG['pFetchmail_field_id'] = 'ID'; # XXX -$PALANG['pFetchmail_field_mailbox'] = 'Buzón'; -$PALANG['pFetchmail_field_src_server'] = 'Servidor'; +$PALANG['pFetchmail_field_mailbox'] = 'Buzón'; +$PALANG['pFetchmail_field_src_server'] = 'Servidor'; $PALANG['pFetchmail_field_src_port'] = 'Puerto'; # XXX -$PALANG['pFetchmail_field_src_auth'] = 'Tipo Autenticación'; -$PALANG['pFetchmail_field_src_user'] = 'Usuario'; +$PALANG['pFetchmail_field_src_auth'] = 'Tipo Autenticación'; +$PALANG['pFetchmail_field_src_user'] = 'Usuario'; $PALANG['pFetchmail_field_src_password'] = $PALANG['password']; # needed until fetchmail is migrated into FetchmailHandler -$PALANG['pFetchmail_field_src_folder'] = 'Carpeta'; +$PALANG['pFetchmail_field_src_folder'] = 'Carpeta'; $PALANG['pFetchmail_field_poll_time'] = 'Poll'; # XXX -$PALANG['pFetchmail_field_fetchall'] = 'Obtener todo'; -$PALANG['pFetchmail_field_keep'] = 'Conservar'; -$PALANG['pFetchmail_field_protocol'] = 'Protocolo'; -$PALANG['pFetchmail_field_usessl'] = 'SSL activado'; +$PALANG['pFetchmail_field_fetchall'] = 'Obtener todo'; +$PALANG['pFetchmail_field_keep'] = 'Conservar'; +$PALANG['pFetchmail_field_protocol'] = 'Protocolo'; +$PALANG['pFetchmail_field_usessl'] = 'SSL activado'; $PALANG['pFetchmail_field_sslcertck'] = 'SSL certificate check'; # XXX $PALANG['pFetchmail_field_sslcertpath'] = 'SSL path to certificates'; # XXX $PALANG['pFetchmail_field_sslfingerprint'] = 'SSL fingerprint (md5)'; # XXX -$PALANG['pFetchmail_field_extra_options'] = 'Opciones extras'; +$PALANG['pFetchmail_field_extra_options'] = 'Opciones extras'; $PALANG['pFetchmail_field_mda'] = 'MDA'; # XXX -$PALANG['pFetchmail_field_date'] = 'Fecha'; -$PALANG['pFetchmail_field_returned_text'] = 'Texto Devuelto'; +$PALANG['pFetchmail_field_date'] = 'Fecha'; +$PALANG['pFetchmail_field_returned_text'] = 'Texto Devuelto'; $PALANG['pFetchmail_desc_id'] = 'Record ID'; # XXX -$PALANG['pFetchmail_desc_mailbox'] = 'Buzón local'; -$PALANG['pFetchmail_desc_src_server'] = 'Servidor Remoto'; +$PALANG['pFetchmail_desc_mailbox'] = 'Buzón local'; +$PALANG['pFetchmail_desc_src_server'] = 'Servidor Remoto'; $PALANG['pFetchmail_desc_src_port'] = 'Remote port number, if a non-standard remote port is needed. (0: use default)'; # XXX $PALANG['pFetchmail_desc_src_auth'] = 'Mostly \'password\''; # Translators: Please do NOT translate 'password' here # XXX -$PALANG['pFetchmail_desc_src_user'] = 'Usuario Remoto'; -$PALANG['pFetchmail_desc_src_password'] = 'Contraseña Remota'; -$PALANG['pFetchmail_desc_src_folder'] = 'Carpeta Remota'; -$PALANG['pFetchmail_desc_poll_time'] = 'Obtener cada ... minutos'; -$PALANG['pFetchmail_desc_fetchall'] = 'Obtener los mensajes leídos y nuevos'; -$PALANG['pFetchmail_desc_keep'] = 'Guardar una copia de los mensajes en el servidor remoto'; -$PALANG['pFetchmail_desc_protocol'] = 'Protocolo a usar'; -$PALANG['pFetchmail_desc_usessl'] = 'Cifrado SSL'; -$PALANG['pFetchmail_desc_extra_options'] = 'Opciones extras para fetchmail'; +$PALANG['pFetchmail_desc_src_user'] = 'Usuario Remoto'; +$PALANG['pFetchmail_desc_src_password'] = 'Contraseña Remota'; +$PALANG['pFetchmail_desc_src_folder'] = 'Carpeta Remota'; +$PALANG['pFetchmail_desc_poll_time'] = 'Obtener cada ... minutos'; +$PALANG['pFetchmail_desc_fetchall'] = 'Obtener los mensajes leídos y nuevos'; +$PALANG['pFetchmail_desc_keep'] = 'Guardar una copia de los mensajes en el servidor remoto'; +$PALANG['pFetchmail_desc_protocol'] = 'Protocolo a usar'; +$PALANG['pFetchmail_desc_usessl'] = 'Cifrado SSL'; +$PALANG['pFetchmail_desc_extra_options'] = 'Opciones extras para fetchmail'; $PALANG['pFetchmail_desc_mda'] = 'Mail Delivery Agent'; # XXX $PALANG['pFetchmail_desc_date'] = 'Fecha del último sondeo/cambio en la configuración'; -$PALANG['pFetchmail_desc_returned_text'] = 'Mensaje del último sondeo'; +$PALANG['pFetchmail_desc_returned_text'] = 'Mensaje del último sondeo'; $PALANG['dateformat_pgsql'] = 'YYYY-mm-dd'; # translators: rearrange to your local date format, but make sure it's a valid PostgreSQL date format # XXX $PALANG['dateformat_mysql'] = '%Y-%m-%d'; # translators: rearrange to your local date format, but make sure it's a valid MySQL date format # XXX -$PALANG['password_expiration'] = 'Contraseña expirada'; # XXX -$PALANG['password_expiration_desc'] = 'Días cuando la o las contraseñas expiran'; # XXX +$PALANG['password_expiration'] = 'Expiración de contraseña'; +$PALANG['password_expiration_desc'] = 'Fecha en que expirará la contraseña'; $PALANG['To_Mailbox'] = 'Buzón'; # XXX # XXX $PALANG['To_Forward_Only'] = 'Solo Reenvío'; # XXX # XXX @@ -501,6 +501,18 @@ $PALANG['pApp_passwords_add'] = 'Añadir contraseña específica para aplicacion $PALANG['session_expired_title'] = 'Sesión expirada'; $PALANG['session_expired_message'] = 'El token de la página ya no es válido. Vuelve e intenta nuevamente.'; $PALANG['session_expired_button'] = 'Continuar'; +$PALANG['pMenu_fetchmail_menu'] = 'Recibir'; +$PALANG['pMenu_sendmail_menu'] = 'Enviar'; +$PALANG['pMenu_dkim_menu'] = 'DKIM'; +$PALANG['pAdminMenu_admin'] = 'Admins'; +$PALANG['pAdminMenu_domain'] = 'Dominios'; +$PALANG['pAdminMenu_virtual'] = 'Direcciones virtuales'; +$PALANG['pMain_global_search'] = 'Búsqueda global'; +$PALANG['pMain_global_search_placeholder'] = 'Buscar globalmente (buzón, alias ...)'; +$PALANG['pMain_search_button'] = 'Buscar'; +$PALANG['pMain_dashboard'] = 'Panel'; +$PALANG['pDkim_field_domain_and_selector'] = 'Dominio:Selector'; +$PALANG['pTOTP_code_text'] = 'Escanea la imagen anterior e ingresa el código actual para habilitar la autenticación TOTP en tu cuenta.'; $PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh /* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */ ?> diff --git a/model/DomainHandler.php b/model/DomainHandler.php index 36997c39..ceea78ab 100644 --- a/model/DomainHandler.php +++ b/model/DomainHandler.php @@ -94,7 +94,7 @@ class DomainHandler extends PFAHandler 'quota' => self::pacol($edit_dom_q,$edit_dom_q, 0, 'num', 'pAdminEdit_domain_quota' , 'pAdminEdit_domain_maxquota_text' , $domain_quota_default), 'total_quota' => self::pacol(0, 0, 1, 'vnum', '' , '' , '', array(), array('select' => "$query_used_domainquota AS total_quota") /*extrafrom*//* already in mailbox_count */), - 'total_quot' => self::pacol(0, 0, $dom_q, 'quot', 'pAdminEdit_domain_quota' , '' , 0, array(), + 'total_quot' => self::pacol(0, 0, $dom_q, 'quot', 'pAdminList_domain_quota' , '' , 0, array(), array('select' => db_quota_text($query_used_domainquota, 'quota', 'total_quot'))), '_total_quot_percent' => self::pacol(0, 0, $dom_q, 'vnum', '' , '' , 0, array(), array('select' => db_quota_percent($query_used_domainquota, 'quota', '_total_quot_percent'))), diff --git a/public/css/bootstrap.css b/public/css/bootstrap.css index 4176e8c0..80cd0c94 100644 --- a/public/css/bootstrap.css +++ b/public/css/bootstrap.css @@ -61,39 +61,42 @@ code { .navbar-header a.navbar-brand { padding: 0 15px; } .navbar-fixed-top .container-fluid .navbar-collapse { font-size: 14px; } .navbar-fixed-top .container-fluid .navbar-right { font-size: 12px; } -.navbar-fixed-top .container-fluid .navbar-collapse li a { padding-left: 10px; padding-right: 10px; } +.navbar-fixed-top .container-fluid .navbar-collapse li a { padding-left: 8px; padding-right: 8px; } .navbar-fixed-top .container-fluid .navbar-right { padding-right: 5px; } .navbar-fixed-top .container-fluid .navbar-right .navbar-btn { margin-right: 5px; padding: 5px 10px; } } @media (min-width: 1200px) { .navbar-fixed-top .container-fluid .navbar-right a { font-size: 14px; } -.navbar-fixed-top .container-fluid .navbar-right .navbar-btn { margin-right: 15px; } -.navbar-fixed-top .container-fluid .navbar-collapse li a { padding-left: 15px; padding-right: 15px; } +.navbar-fixed-top .container-fluid .navbar-right .navbar-btn { margin-right: 8px; } +.navbar-fixed-top .container-fluid .navbar-collapse li a { padding-left: 10px; padding-right: 10px; } } span.active { font-weight: bold; } div#login{ max-width: 35em; } -.quota { -z-index:99; -height:14px; -position: absolute; + +#main_menu .pfa-main-section { + padding: 15px; } -.quota_text { - z-index:100; +/* Unified quota bars used by the domain overview and mailbox list. */ +.quota_bar { + position: relative; + display: inline-block; + box-sizing: border-box; + min-width: 122px; + height: 16px; + overflow: hidden; + background-color: white; + border: 1px solid #999; + line-height: 14px; text-align: center; - font-size: 12px; - color: #666; - cursor: default; - position: absolute; - width:120px; - height:16px; - margin-top:-17px; - padding-top: -1px; + vertical-align: middle; + white-space: nowrap; } -.quota_bg { background-color: white; z-index:98; width:122px; height:16px;margin-top:-1px;margin-left:-1px; border: 1px solid #999;} -.quota_no_border { border:none; margin:0; } +.quota_fill { position: absolute; z-index: 1; top: 0; right: auto; bottom: 0; left: 0; max-width: 100%; } +.quota_label { position: relative; z-index: 2; display: block; height: 14px; padding: 0 4px; font-size: 12px; color: #666; cursor: default; } +.quota_no_border { min-width: 0; background: transparent; border: none; } .quota_high { background: url(../images/quota-colors.png) repeat-x 0 -28px #f90509; } .quota_mid { background: url(../images/quota-colors.png) repeat-x 0 -14px #e3e909; } .quota_low { background: url(../images/quota-colors.png) repeat-x 0 0px #05f905; } @@ -101,3 +104,51 @@ position: absolute; .quota_text_mid { color: #666; } .quota_text_low { color: #666; } +/* Domain list column sizing. */ +#admin_table th.list-col-domain, +#admin_table td.list-col-domain { min-width: 180px; } +#admin_table th.list-col-description, +#admin_table td.list-col-description { min-width: 120px; } +#admin_table th.list-col-aliases_quot, +#admin_table td.list-col-aliases_quot, +#admin_table th.list-col-mailboxes_quot, +#admin_table td.list-col-mailboxes_quot { width: 138px; text-align: center; white-space: nowrap; } +#admin_table th.list-col-maxquota, +#admin_table td.list-col-maxquota { width: 80px; text-align: center; white-space: nowrap; } +#admin_table th.list-col-total_quot, +#admin_table td.list-col-total_quot { width: 142px; text-align: center; white-space: nowrap; } +#admin_table th.list-col-transport, +#admin_table td.list-col-transport { width: 80px; text-align: center; white-space: nowrap; } +#admin_table th.list-col-backupmx, +#admin_table td.list-col-backupmx { width: 62px; text-align: center; white-space: nowrap; } +#admin_table th.list-col-active, +#admin_table td.list-col-active { width: 70px; text-align: center; white-space: nowrap; } +#admin_table th.list-col-modified, +#admin_table td.list-col-modified { width: 110px; text-align: center; white-space: nowrap; } +#admin_table th.list-col-password_expiry, +#admin_table td.list-col-password_expiry { width: 64px; text-align: center; white-space: nowrap; } +#admin_table th.list-col-action, +#admin_table td.list-col-action { width: 46px; text-align: center; white-space: nowrap; } +#admin_table .list-action-icon, +#mailbox_table .list-action-icon { width: 34px; padding-left: 0; padding-right: 0; } +.domain-list-scroll { display: block; width: 100%; overflow-x: auto; } +.domain-list-scroll > #admin_table { min-width: 1240px; margin-bottom: 0; } + +/* Keep the essential domain columns and actions visible before scrolling. */ +.domain-list-scroll > #admin_table th.list-col-total_quot, +.domain-list-scroll > #admin_table th.list-col-password_expiry { white-space: normal; line-height: 1.2; } + +@media (max-width: 1300px) { + .domain-list-scroll > #admin_table .list-col-modified { display: none; } + .domain-list-scroll > #admin_table { min-width: 1120px; } +} + +@media (max-width: 1200px) { + .domain-list-scroll > #admin_table .list-col-backupmx { display: none; } + .domain-list-scroll > #admin_table { min-width: 1060px; } +} + +@media (max-width: 1120px) { + .domain-list-scroll > #admin_table .list-col-transport { display: none; } + .domain-list-scroll > #admin_table { min-width: 980px; } +} diff --git a/public/css/dark-theme.css b/public/css/dark-theme.css index 136785c6..dba72ba1 100755 --- a/public/css/dark-theme.css +++ b/public/css/dark-theme.css @@ -163,41 +163,90 @@ code { .navbar-header a.navbar-brand { padding: 0 15px; } .navbar-fixed-top .container-fluid .navbar-collapse { font-size: 14px; } .navbar-fixed-top .container-fluid .navbar-right { font-size: 12px; } -.navbar-fixed-top .container-fluid .navbar-collapse li a { padding-left: 10px; padding-right: 10px; } +.navbar-fixed-top .container-fluid .navbar-collapse li a { padding-left: 8px; padding-right: 8px; } .navbar-fixed-top .container-fluid .navbar-right { padding-right: 5px; } .navbar-fixed-top .container-fluid .navbar-right .navbar-btn { margin-right: 5px; padding: 5px 10px; } } @media (min-width: 1200px) { .navbar-fixed-top .container-fluid .navbar-right a { font-size: 14px; } -.navbar-fixed-top .container-fluid .navbar-right .navbar-btn { margin-right: 15px; } -.navbar-fixed-top .container-fluid .navbar-collapse li a { padding-left: 15px; padding-right: 15px; } +.navbar-fixed-top .container-fluid .navbar-right .navbar-btn { margin-right: 8px; } +.navbar-fixed-top .container-fluid .navbar-collapse li a { padding-left: 10px; padding-right: 10px; } } span.active { font-weight: bold; } -.quota { -z-index:99; -height:14px; -position: absolute; +/* Unified quota bars used by the domain overview and mailbox list. */ +.quota_bar { + position: relative; + display: inline-block; + box-sizing: border-box; + min-width: 122px; + height: 16px; + overflow: hidden; + background-color: white; + border: 1px solid #999; + line-height: 14px; + text-align: center; + vertical-align: middle; + white-space: nowrap; } -.quota_text { - z-index:100; - text-align: center; - font-size: 12px; - color: #666; - cursor: default; - position: absolute; - width:120px; - height:16px; - margin-top:-17px; -padding-top: -1px; -} -.quota_bg { background-color: white; z-index:98; width:122px; height:16px;margin-top:-1px;margin-left:-1px; border: 1px solid #999;} -.quota_no_border { border:none; margin:0; } +.quota_fill { position: absolute; z-index: 1; top: 0; right: auto; bottom: 0; left: 0; max-width: 100%; } +.quota_label { position: relative; z-index: 2; display: block; height: 14px; padding: 0 4px; font-size: 12px; color: #666; cursor: default; } +.quota_no_border { min-width: 0; background: transparent; border: none; } .quota_high { background: url(../images/quota-colors.png) repeat-x 0 -28px #f90509; } .quota_mid { background: url(../images/quota-colors.png) repeat-x 0 -14px #e3e909; } .quota_low { background: url(../images/quota-colors.png) repeat-x 0 0px #05f905; } .quota_text_high { color: white; } .quota_text_mid { color: #666; } .quota_text_low { color: #666; } + +/* Domain list column sizing. */ +#admin_table th.list-col-domain, +#admin_table td.list-col-domain { min-width: 180px; } +#admin_table th.list-col-description, +#admin_table td.list-col-description { min-width: 120px; } +#admin_table th.list-col-aliases_quot, +#admin_table td.list-col-aliases_quot, +#admin_table th.list-col-mailboxes_quot, +#admin_table td.list-col-mailboxes_quot { width: 138px; text-align: center; white-space: nowrap; } +#admin_table th.list-col-maxquota, +#admin_table td.list-col-maxquota { width: 80px; text-align: center; white-space: nowrap; } +#admin_table th.list-col-total_quot, +#admin_table td.list-col-total_quot { width: 142px; text-align: center; white-space: nowrap; } +#admin_table th.list-col-transport, +#admin_table td.list-col-transport { width: 80px; text-align: center; white-space: nowrap; } +#admin_table th.list-col-backupmx, +#admin_table td.list-col-backupmx { width: 62px; text-align: center; white-space: nowrap; } +#admin_table th.list-col-active, +#admin_table td.list-col-active { width: 70px; text-align: center; white-space: nowrap; } +#admin_table th.list-col-modified, +#admin_table td.list-col-modified { width: 110px; text-align: center; white-space: nowrap; } +#admin_table th.list-col-password_expiry, +#admin_table td.list-col-password_expiry { width: 64px; text-align: center; white-space: nowrap; } +#admin_table th.list-col-action, +#admin_table td.list-col-action { width: 46px; text-align: center; white-space: nowrap; } +#admin_table .list-action-icon, +#mailbox_table .list-action-icon { width: 34px; padding-left: 0; padding-right: 0; } + +.domain-list-scroll { display: block; width: 100%; overflow-x: auto; } +.domain-list-scroll > #admin_table { min-width: 1240px; margin-bottom: 0; } + +/* Keep the essential domain columns and actions visible before scrolling. */ +.domain-list-scroll > #admin_table th.list-col-total_quot, +.domain-list-scroll > #admin_table th.list-col-password_expiry { white-space: normal; line-height: 1.2; } + +@media (max-width: 1300px) { + .domain-list-scroll > #admin_table .list-col-modified { display: none; } + .domain-list-scroll > #admin_table { min-width: 1120px; } +} + +@media (max-width: 1200px) { + .domain-list-scroll > #admin_table .list-col-backupmx { display: none; } + .domain-list-scroll > #admin_table { min-width: 1060px; } +} + +@media (max-width: 1120px) { + .domain-list-scroll > #admin_table .list-col-transport { display: none; } + .domain-list-scroll > #admin_table { min-width: 980px; } +} diff --git a/templates/list-virtual_mailbox.tpl b/templates/list-virtual_mailbox.tpl index d00dd553..9bc10315 100644 --- a/templates/list-virtual_mailbox.tpl +++ b/templates/list-virtual_mailbox.tpl @@ -65,9 +65,10 @@ {elseif $divide_quota.percent[$i] > $CONF.quota_level_med_pct} {assign var="quota_level" value="mid"} {/if} -
-
-
{$divide_quota.current[$i]} / {$divide_quota.quota[$i]}
+
+ + {$divide_quota.current[$i]} / {$divide_quota.quota[$i]} +
{else} {$divide_quota.quota[$i]} {/if} @@ -75,11 +76,11 @@ {/if} {$item.modified} - {if $item.active==1} {$PALANG.YES}{else} {$PALANG.NO}{/if} + {if $item.active==1}{else}{/if} {if $CONF.smtp_active_flag===YES} - {if $item.smtp_active==1} {$PALANG.YES}{else} {$PALANG.NO}{/if} + {if $item.smtp_active==1}{else}{/if} {/if} {if $CONF.vacation_control_admin===YES && $CONF.vacation===YES} {if $item.v_active!==-1} @@ -88,7 +89,7 @@ {else} {assign var="v_active" value=$PALANG.pOverview_vacation_option} {/if} - {$v_active} + {/if} {else}   @@ -97,16 +98,16 @@ {if $authentication_has_role.global_admin!==true && $CONF.alias_control_admin===YES}{assign var="edit_aliases" value=1}{/if} {if $authentication_has_role.global_admin==true && $CONF.alias_control===YES}{assign var="edit_aliases" value=1}{/if} {if $edit_aliases==1} - {$PALANG.alias} + {/if} - {$PALANG.edit} +
-
diff --git a/templates/list.tpl b/templates/list.tpl index d3817a44..30b800ed 100644 --- a/templates/list.tpl +++ b/templates/list.tpl @@ -27,6 +27,7 @@ {/if} {/if} + {if $table == 'domain'}
{/if} @@ -48,11 +49,11 @@ {foreach key=key item=field from=$struct} {if $field.display_in_list == 1 && $field.label}{* don't show fields without a label *} - + {/if} {/foreach} - - + + @@ -67,7 +68,21 @@ {if $field.linkto != '' && ($item.$id_field != '' || $item.$id_field > 0) } {assign "linkto" "{$field.linkto|replace:'%s':{$item.$id_field|escape:url}}"} {* TODO: use label field instead *} - {assign "linktext" "{$item.{$key}}"} + {assign "linktitle" ""} + {if $table == 'domain' && $key == 'domain'} + {if isset($struct.maxquota) && $struct.maxquota.label == '' && isset($item.maxquota)} + {assign "linktitle" "{$PALANG.pOverview_get_quota}: {$item.maxquota} MB"} + {/if} + {if isset($struct.password_expiry) && $struct.password_expiry.label == '' && isset($item.password_expiry)} + {if $linktitle != ''}{assign "linktitle" "{$linktitle} "}{/if} + {assign "linktitle" "{$linktitle}{$PALANG.password_expiration}: {$item.password_expiry}"} + {/if} + {/if} + {if $linktitle != ''} + {assign "linktext" "{$item.{$key}}"} + {else} + {assign "linktext" "{$item.{$key}}"} + {/if} {else} {assign "linktext" $item.$key} {/if} @@ -75,7 +90,7 @@ {if $table == 'foo' && $key == 'bar'} {else} - -
{$field.label}{$field.label}    
Special handling (complete table row) for {$table} / {$key} + {if $table == 'foo' && $key == 'bar'} Special handling (td content) for {$table} / {$key} {elseif $table == 'aliasdomain' && $key == 'target_domain' && $struct.target_domain.linkto == 'target'} @@ -85,14 +100,13 @@ *} {elseif $key == 'active'} {if $item._can_edit} - {if $item._active == $PALANG['YES']} {else} {/if} - {$item._active} {else} {$item._active} @@ -113,15 +127,14 @@ {else} {assign var="quota_level" value="low"} {/if} +
{if $item[$tmpkey] > -1} -
-
-
-
{$linktext}
-{else} -
-
{$linktext}
-{/if} + + {$linktext} + {else} + {$linktext} + {/if} + {elseif $field.type == 'txtl'} {foreach key=key2 item=field2 from=$item.$key}{$field2}
{/foreach} @@ -135,22 +148,22 @@ {/if} {/foreach} -
{if $item._can_edit} - {if $item._can_edit} + {$PALANG.edit} + class="glyphicon glyphicon-edit" aria-hidden="true"> {else}  {/if} {if $item._can_delete} +{if $item._can_delete}
-
{else} {/if} @@ -159,6 +172,7 @@ {/foreach}
+ {if $table == 'domain'}
{/if}