mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
user Autoresponse edits function like the admin interfaces
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@5 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
parent
fc7bc9529a
commit
9481a093a6
@ -6,6 +6,9 @@
|
||||
#
|
||||
Version 2.1.1 -- TBD
|
||||
--------------------
|
||||
- Changed: Users can view and edit their vacation config (GregC)
|
||||
- Added: Slovakian language posted on SourceForge by eszabo
|
||||
- Changed: searches include mailbox.name matches (GregC)
|
||||
- Fixed: function check_email will ignore vacation_domain if vacation==YES (GregC)
|
||||
- Changed: applied patches from Christian Boltz posted at
|
||||
http://www.cboltz.de/tmp/postfixadmin-3.patch, referenced at
|
||||
|
@ -15,7 +15,7 @@ if (ereg ("functions.inc.php", $_SERVER['PHP_SELF']))
|
||||
exit;
|
||||
}
|
||||
|
||||
$version = "2.1.0";
|
||||
$version = "2.1.1";
|
||||
|
||||
//
|
||||
// check_session
|
||||
|
298
languages/sk.lang
Normal file
298
languages/sk.lang
Normal file
@ -0,0 +1,298 @@
|
||||
<?php
|
||||
//
|
||||
// Language file Slovak
|
||||
// by bajk
|
||||
//
|
||||
|
||||
require ('default.lang');
|
||||
|
||||
$PALANG['YES'] = 'ÁNO';
|
||||
$PALANG['NO'] = 'NIE';
|
||||
$PALANG['edit'] = 'upraviť';
|
||||
$PALANG['del'] = 'zmazať';
|
||||
$PALANG['confirm'] = 'Ste si istí?\n';
|
||||
$PALANG['confirm_domain'] = 'Naozaj chcete zmazať všetky záznamy v tejto doméně? Toto nie je možné vrátiť!\n';
|
||||
$PALANG['check_update'] = 'Zkontrolovať aktualizácie';
|
||||
|
||||
$PALANG['pLogin_welcome'] = 'Tu sa prihlasujú emailoví administrátori pre administráciu svojich domén.';
|
||||
$PALANG['pLogin_username'] = 'Užívateľské meno (email)';
|
||||
$PALANG['pLogin_password'] = 'Heslo';
|
||||
$PALANG['pLogin_button'] = 'Prihlásiť';
|
||||
$PALANG['pLogin_username_incorrect'] = '<span class="error_msg">Nesprávne; uživateľské meno. Prihlasujte se svojou emailovou adresou!</span>';
|
||||
$PALANG['pLogin_password_incorrect'] = '<span class="error_msg">Nesprávne heslo!</span>';
|
||||
$PALANG['pLogin_login_users'] = 'Vstup do užívateľskej sekcie.';
|
||||
|
||||
$PALANG['pMenu_overview'] = 'Prehľad';
|
||||
$PALANG['pMenu_create_alias'] = 'Pridať alias';
|
||||
$PALANG['pMenu_create_mailbox'] = 'Pridať schránku';
|
||||
$PALANG['pMenu_sendmail'] = 'Poslať email';
|
||||
$PALANG['pMenu_password'] = 'Zmniť heslo';
|
||||
$PALANG['pMenu_viewlog'] = 'Prehliadať záznamy';
|
||||
$PALANG['pMenu_logout'] = 'Odhlásiť.';
|
||||
|
||||
$PALANG['pMain_welcome'] = 'Vítajte v Postfix Adminu!';
|
||||
$PALANG['pMain_overview'] = 'Výpis aliasov a schránok. Môžete ich tu upravovať a mazať.';
|
||||
$PALANG['pMain_create_alias'] = 'Vytvoriť alias v tejto doméne.';
|
||||
$PALANG['pMain_create_mailbox'] = 'Vytvoriť schránku v tejto doméne.';
|
||||
$PALANG['pMain_sendmail'] = 'Poslať email do jednej z novo vytvorených schránok.';
|
||||
$PALANG['pMain_password'] = 'Zmeniť heslo administrátorského účtu.';
|
||||
$PALANG['pMain_viewlog'] = 'Prehliadať záznamy zmien v doméne.';
|
||||
$PALANG['pMain_logout'] = 'Odhlásiť zo systému.';
|
||||
|
||||
$PALANG['pOverview_disabled'] = 'Vypnuté';
|
||||
$PALANG['pOverview_unlimited'] = 'Neobmedzene';
|
||||
$PALANG['pOverview_title'] = ':: Definované domény';
|
||||
$PALANG['pOverview_up_arrow'] = 'Go Top';
|
||||
$PALANG['pOverview_right_arrow'] = 'Nasledujúca strana';
|
||||
$PALANG['pOverview_left_arrow'] = 'Predchádzajúca strana';
|
||||
$PALANG['pOverview_alias_title'] = ':: Aliasy';
|
||||
$PALANG['pOverview_mailbox_title'] = ':: Mailové schránky (Mailboxes)';
|
||||
$PALANG['pOverview_button'] = 'Prejsť';
|
||||
$PALANG['pOverview_welcome'] = 'Prehľad pre doménu ';
|
||||
$PALANG['pOverview_alias_alias_count'] = 'Aliasov';
|
||||
$PALANG['pOverview_alias_mailbox_count'] = 'Schránok';
|
||||
$PALANG['pOverview_alias_address'] = 'Od';
|
||||
$PALANG['pOverview_alias_goto'] = 'Pre';
|
||||
$PALANG['pOverview_alias_modified'] = 'Naposledy zmenené';
|
||||
$PALANG['pOverview_mailbox_username'] = 'Email';
|
||||
$PALANG['pOverview_mailbox_name'] = 'Meno';
|
||||
$PALANG['pOverview_mailbox_quota'] = 'Miesto (MB)';
|
||||
$PALANG['pOverview_mailbox_modified'] = 'Naposledy zmenené';
|
||||
$PALANG['pOverview_mailbox_active'] = 'Aktívny';
|
||||
|
||||
$PALANG['pOverview_get_domain'] = 'Doména';
|
||||
$PALANG['pOverview_get_aliases'] = 'Aliasy';
|
||||
$PALANG['pOverview_get_mailboxes'] = 'Schránky';
|
||||
$PALANG['pOverview_get_quota'] = 'Miesto pre schránku (MB)';
|
||||
$PALANG['pOverview_get_modified'] = 'Naposledy zmenené';
|
||||
|
||||
$PALANG['pDelete_delete_error'] = '<span class="error_msg">Nie je možné zmazať položku ';
|
||||
$PALANG['pDelete_domain_error'] = '<span class="error_msg">Táto doména nie je vaša ';
|
||||
|
||||
$PALANG['pCreate_alias_welcome'] = 'Vytvoriť nový alias vo vašej doméne.';
|
||||
$PALANG['pCreate_alias_address'] = 'Alias';
|
||||
$PALANG['pCreate_alias_address_text_error1'] = '<br /><span class="error_msg">Adresa nie je platná!</span>';
|
||||
$PALANG['pCreate_alias_address_text_error2'] = '<br /><span class="error_msg">Takáto emailová adresa už existuje!</span>';
|
||||
$PALANG['pCreate_alias_address_text_error3'] = '<br /><span class="error_msg">Dosiahli ste limit, nemôžete vytvárať dalšie aliasy!</span>';
|
||||
$PALANG['pCreate_alias_goto'] = 'Cieľ';
|
||||
$PALANG['pCreate_alias_button'] = 'Pridať';
|
||||
$PALANG['pCreate_alias_goto_text'] = 'Kam má pošta chodiť.';
|
||||
$PALANG['pCreate_alias_goto_text_error'] = 'Kam má pošta chodit.<br /><span class="error_msg">Cieľ nie je platný!</span>';
|
||||
$PALANG['pCreate_alias_result_error'] = '<span class="error_msg">Nepodarilo sa pridať alias do tabulky aliasov!</span>';
|
||||
$PALANG['pCreate_alias_result_succes'] = 'Alias bol úspešne pridaný do tabulky aliasov!';
|
||||
$PALANG['pCreate_alias_catchall_text'] = 'Pre vytvorenie "všetko bracieho" aliasu (doménového koša) použite * ako alias.<br />Pre alias doména-doména použite *@domain.tld ako cieľ.';
|
||||
|
||||
$PALANG['pEdit_alias_welcome'] = 'Upraviť aliasy.<br />Jeden záznam na riadku.';
|
||||
$PALANG['pEdit_alias_address'] = 'Alias';
|
||||
$PALANG['pEdit_alias_address_error'] = '<span class="error_msg">Niel je možné nájsť alias!</span>';
|
||||
$PALANG['pEdit_alias_goto'] = 'Cieľ';
|
||||
$PALANG['pEdit_alias_goto_text_error1'] = '<span class="error_msg">Nezadali ste cieľ</span>';
|
||||
$PALANG['pEdit_alias_goto_text_error2'] = '<span class="error_msg">Emailová adresa ktorú ste zadali nie je platná: ';
|
||||
$PALANG['pEdit_alias_domain_error'] = '<span class="error_msg">Táto doména nie je vaša: ';
|
||||
$PALANG['pEdit_alias_button'] = 'Upravit';
|
||||
$PALANG['pEdit_alias_result_error'] = '<span class="error_msg">Nepodarilo se upraviť alias!</span>';
|
||||
|
||||
$PALANG['pCreate_mailbox_welcome'] = 'Vytvoriť novú lokálnu schránku v doméne.';
|
||||
$PALANG['pCreate_mailbox_username'] = 'Užívateľské meno';
|
||||
$PALANG['pCreate_mailbox_username_text_error1'] = '<br /><span class="error_msg">Adresa nie je platná!</span>';
|
||||
$PALANG['pCreate_mailbox_username_text_error2'] = '<br /><span class="error_msg">Takáto emailová adresa už¸ existuje!</span>';
|
||||
$PALANG['pCreate_mailbox_username_text_error3'] = '<br /><span class="error_msg">Dosiahli ste limit, nemôžete vytváratť ďalšie schránky!</span>';
|
||||
$PALANG['pCreate_mailbox_password'] = 'Heslo';
|
||||
$PALANG['pCreate_mailbox_password2'] = 'Heslo (znovu)';
|
||||
$PALANG['pCreate_mailbox_password_text'] = 'Heslo pre POP3/IMAP/SMTP';
|
||||
$PALANG['pCreate_mailbox_password_text_error'] = 'Heslo pre POP3/IMAP/SMTP<br /><span class="error_msg">Zadaná heslá sú rozdielne alebo prázdne!</span>';
|
||||
$PALANG['pCreate_mailbox_name'] = 'Meno';
|
||||
$PALANG['pCreate_mailbox_name_text'] = 'Celé meno';
|
||||
$PALANG['pCreate_mailbox_quota'] = 'Miesto';
|
||||
$PALANG['pCreate_mailbox_quota_text'] = 'MB';
|
||||
$PALANG['pCreate_mailbox_quota_text_error'] = 'MB<br /><span class="error_msg">Zadané miesto je príliš velké!</span>';
|
||||
$PALANG['pCreate_mailbox_active'] = 'Aktívny';
|
||||
$PALANG['pCreate_mailbox_mail'] = 'Vytvoriť schránku na disku';
|
||||
$PALANG['pCreate_mailbox_button'] = 'Pridať schránku';
|
||||
$PALANG['pCreate_mailbox_result_error'] = '<span class="error_msg">Nepodarilo sa pridať schránku do tabulky schránok!</span>';
|
||||
$PALANG['pCreate_mailbox_result_succes'] = 'Schránka bola pridaná do tabulky schránok!';
|
||||
|
||||
$PALANG['pEdit_mailbox_welcome'] = 'Upraviť lokálnu chránku v doméne.';
|
||||
$PALANG['pEdit_mailbox_username'] = 'Uživateľské meno';
|
||||
$PALANG['pEdit_mailbox_username_error'] = '<span class="error_msg">Nepodarilo sa nájsť schránku!</span>';
|
||||
$PALANG['pEdit_mailbox_password'] = 'Nové heslo';
|
||||
$PALANG['pEdit_mailbox_password2'] = 'Nové heslo (znovu)';
|
||||
$PALANG['pEdit_mailbox_password_text_error'] = '<span class="error_msg">Zadaná heslá se nezhodujú!</span>';
|
||||
$PALANG['pEdit_mailbox_name'] = 'Meno';
|
||||
$PALANG['pEdit_mailbox_quota'] = 'Miesto';
|
||||
$PALANG['pEdit_mailbox_quota_text'] = 'MB';
|
||||
$PALANG['pEdit_mailbox_quota_text_error'] = 'MB<br /><span class="error_msg">Zadané miesto je príliš velké!</span>';
|
||||
$PALANG['pEdit_mailbox_domain_error'] = '<span class="error_msg">Táto doména nie je vaša: ';
|
||||
$PALANG['pEdit_mailbox_button'] = 'Upraviť schránku';
|
||||
$PALANG['pEdit_mailbox_result_error'] = '<span class="error_msg">Nepodarilo sa upraviť schránku!</span>';
|
||||
|
||||
$PALANG['pPassword_welcome'] = 'Zmeniť heslo.';
|
||||
$PALANG['pPassword_admin'] = 'Uživateľské meno';
|
||||
$PALANG['pPassword_admin_text_error'] = '<span class="error_msg">Uživateľské meno sa nezhoduje so žiadnou schránkou!</span>';
|
||||
$PALANG['pPassword_password_current'] = 'Súčasné heslo';
|
||||
$PALANG['pPassword_password_current_text_error'] = '<span class="error_msg">Nezadal(i) ste súčasné heslo!</span>';
|
||||
$PALANG['pPassword_password'] = 'Nové heslo';
|
||||
$PALANG['pPassword_password2'] = 'Nové heslo (znovu)';
|
||||
$PALANG['pPassword_password_text_error'] = '<span class="error_msg">Zadané heslá sú rozdielne alebo prázdne!</span>';
|
||||
$PALANG['pPassword_button'] = 'Zeniť heslo';
|
||||
$PALANG['pPassword_result_error'] = '<span class="error_msg">Nepodarilo sa zmeniť heslo!</span>';
|
||||
$PALANG['pPassword_result_succes'] = 'Heslo bolo zmenené!';
|
||||
|
||||
$PALANG['pViewlog_welcome'] = 'Prehliadať 10 posledných akcií pre ';
|
||||
$PALANG['pViewlog_timestamp'] = 'Časová značka';
|
||||
$PALANG['pViewlog_username'] = 'Užívateľ';
|
||||
$PALANG['pViewlog_domain'] = 'Doména';
|
||||
$PALANG['pViewlog_action'] = 'Akcia';
|
||||
$PALANG['pViewlog_data'] = 'Poznámka';
|
||||
|
||||
$PALANG['pViewlog_button'] = 'Prejsť';
|
||||
$PALANG['pViewlog_result_error'] = '<span class="error_msg">Nepodarilo sa nájsť záznamy!</span>';
|
||||
|
||||
$PALANG['pSendmail_welcome'] = 'Poslať email.';
|
||||
$PALANG['pSendmail_admin'] = 'Od';
|
||||
$PALANG['pSendmail_to'] = 'Cieľ';
|
||||
$PALANG['pSendmail_to_text_error'] = '<span class="error_msg">Cieľ nie je platná emailová adresa!</span>';
|
||||
$PALANG['pSendmail_subject'] = 'Predmet';
|
||||
$PALANG['pSendmail_subject_text'] = 'Vítajte';
|
||||
$PALANG['pSendmail_body'] = 'Obsah';
|
||||
$PALANG['pSendmail_button'] = 'Poslať email';
|
||||
$PALANG['pSendmail_result_error'] = '<span class="error_msg">Nepodarilo sa vytvoriť schránku!</span>';
|
||||
$PALANG['pSendmail_result_succes'] = 'Schránka bola vytvorená!';
|
||||
|
||||
$PALANG['pAdminMenu_list_admin'] = 'Administrátory';
|
||||
$PALANG['pAdminMenu_list_domain'] = 'Domény';
|
||||
$PALANG['pAdminMenu_list_virtual'] = 'Aliasy';
|
||||
$PALANG['pAdminMenu_viewlog'] = 'Záznamy';
|
||||
$PALANG['pAdminMenu_backup'] = 'Zálohovať';
|
||||
$PALANG['pAdminMenu_create_domain_admins'] = 'Doménoví administrátori';
|
||||
$PALANG['pAdminMenu_create_admin'] = 'Nový admin';
|
||||
$PALANG['pAdminMenu_create_domain'] = 'Nová doména';
|
||||
$PALANG['pAdminMenu_create_alias'] = 'Pridať alias';
|
||||
$PALANG['pAdminMenu_create_mailbox'] = 'Pridať schránku';
|
||||
|
||||
$PALANG['pAdminList_admin_domain'] = 'Doména';
|
||||
$PALANG['pAdminList_admin_username'] = 'Administrátor';
|
||||
$PALANG['pAdminList_admin_count'] = 'Domény';
|
||||
$PALANG['pAdminList_admin_modified'] = 'Naposledy zmenené';
|
||||
$PALANG['pAdminList_admin_active'] = 'Aktívny';
|
||||
|
||||
$PALANG['pAdminList_domain_domain'] = 'Doména';
|
||||
$PALANG['pAdminList_domain_description'] = 'Popis';
|
||||
$PALANG['pAdminList_domain_aliases'] = 'Aliasov';
|
||||
$PALANG['pAdminList_domain_mailboxes'] = 'Schránok';
|
||||
$PALANG['pAdminList_domain_maxquota'] = 'Maximálne miesto (MB)';
|
||||
$PALANG['pAdminList_domain_transport'] = 'Transport';
|
||||
$PALANG['pAdminList_domain_backupmx'] = 'Backup MX';
|
||||
$PALANG['pAdminList_domain_modified'] = 'Naposledy zmenené';
|
||||
$PALANG['pAdminList_domain_active'] = 'Aktívny';
|
||||
|
||||
$PALANG['pAdminList_virtual_button'] = 'Prejsť';
|
||||
$PALANG['pAdminList_virtual_welcome'] = 'Prehľad pre ';
|
||||
$PALANG['pAdminList_virtual_alias_alias_count'] = 'Aliasov';
|
||||
$PALANG['pAdminList_virtual_alias_mailbox_count'] = 'Schránok';
|
||||
$PALANG['pAdminList_virtual_alias_address'] = 'Od';
|
||||
$PALANG['pAdminList_virtual_alias_goto'] = 'Cieľ';
|
||||
$PALANG['pAdminList_virtual_alias_modified'] = 'Naposledy zmenené';
|
||||
$PALANG['pAdminList_virtual_mailbox_username'] = 'Emailová adresa';
|
||||
$PALANG['pAdminList_virtual_mailbox_name'] = 'Meno';
|
||||
$PALANG['pAdminList_virtual_mailbox_quota'] = 'Miesto (MB)';
|
||||
$PALANG['pAdminList_virtual_mailbox_modified'] = 'Naposledy zmenené';
|
||||
$PALANG['pAdminList_virtual_mailbox_active'] = 'Aktívny';
|
||||
|
||||
$PALANG['pAdminCreate_domain_welcome'] = 'Pridať novú doménu';
|
||||
$PALANG['pAdminCreate_domain_domain'] = 'Doména';
|
||||
$PALANG['pAdminCreate_domain_domain_text_error'] = '<span class="error_msg">Takáto doména už existuje!</span>';
|
||||
$PALANG['pAdminCreate_domain_description'] = 'Popis';
|
||||
$PALANG['pAdminCreate_domain_aliases'] = 'Aliasov';
|
||||
$PALANG['pAdminCreate_domain_aliases_text'] = '-1 = zneprístupniť | 0 = neobmedzene';
|
||||
$PALANG['pAdminCreate_domain_mailboxes'] = 'Schránok';
|
||||
$PALANG['pAdminCreate_domain_mailboxes_text'] = '-1 = zneprístupniť | 0 = neobmedzene';
|
||||
$PALANG['pAdminCreate_domain_maxquota'] = 'Maximálne miesto';
|
||||
$PALANG['pAdminCreate_domain_maxquota_text'] = 'MB<br /> -1 = zneprístupniť | 0 = neobmedzene';
|
||||
$PALANG['pAdminCreate_domain_transport'] = 'Transport';
|
||||
$PALANG['pAdminCreate_domain_transport_text'] = 'Define transport';
|
||||
$PALANG['pAdminCreate_domain_defaultaliases'] = 'Pridať implicitné; aliasy';
|
||||
$PALANG['pAdminCreate_domain_backupmx'] = 'Mail server je záložný MX';
|
||||
$PALANG['pAdminCreate_domain_button'] = 'Pridať doménu';
|
||||
$PALANG['pAdminCreate_domain_result_error'] = '<span class="error_msg">Nepodarilo sa pridať doménu!</span>';
|
||||
$PALANG['pAdminCreate_domain_result_succes'] = 'Doména bola pridaná!';
|
||||
|
||||
$PALANG['pAdminEdit_domain_welcome'] = 'Upraviť doménu';
|
||||
$PALANG['pAdminEdit_domain_domain'] = 'Doména';
|
||||
$PALANG['pAdminEdit_domain_description'] = 'Popis';
|
||||
$PALANG['pAdminEdit_domain_aliases'] = 'Aliasov';
|
||||
$PALANG['pAdminEdit_domain_aliases_text'] = '-1 = zneprístupniť | 0 = neobmedzene';
|
||||
$PALANG['pAdminEdit_domain_mailboxes'] = 'Schránok';
|
||||
$PALANG['pAdminEdit_domain_mailboxes_text'] = '-1 = zneprístupniť | 0 = neobmedzene';
|
||||
$PALANG['pAdminEdit_domain_maxquota'] = 'Maximálne miesto';
|
||||
$PALANG['pAdminEdit_domain_maxquota_text'] = 'MB<br /> -1 = zneprístupniť | 0 = neobmedzene';
|
||||
$PALANG['pAdminEdit_domain_transport'] = 'Transport';
|
||||
$PALANG['pAdminEdit_domain_transport_text'] = 'Define transport';
|
||||
$PALANG['pAdminEdit_domain_backupmx'] = 'Mail server je záložný MX';
|
||||
$PALANG['pAdminEdit_domain_active'] = 'Aktívny';
|
||||
$PALANG['pAdminEdit_domain_button'] = 'Upraviť doménu';
|
||||
$PALANG['pAdminEdit_domain_result_error'] = '<span class="error_msg">Nepodarilo sa upraviť doménu!</span>';
|
||||
|
||||
$PALANG['pAdminCreate_admin_welcome'] = 'Pridať nového administrátora';
|
||||
$PALANG['pAdminCreate_admin_username'] = 'Uživateľské meno';
|
||||
$PALANG['pAdminCreate_admin_username_text'] = 'Emailová adresa';
|
||||
$PALANG['pAdminCreate_admin_username_text_error1'] = 'Emailová adresa<br /><span class="error_msg">Táto adresa nie je platná!</span>';
|
||||
$PALANG['pAdminCreate_admin_username_text_error2'] = 'Email address<br /><span class="error_msg">Takáto adresa už existuje!</span>';
|
||||
$PALANG['pAdminCreate_admin_password'] = 'Heslo';
|
||||
$PALANG['pAdminCreate_admin_password2'] = 'Heslo (znovu)';
|
||||
$PALANG['pAdminCreate_admin_password_text_error'] = '<span class="error_msg">Zadané heslá sú rozdielne alebo prázdne!</span>';
|
||||
$PALANG['pAdminCreate_admin_button'] = 'Pridať administrátora';
|
||||
$PALANG['pAdminCreate_admin_result_error'] = '<span class="error_msg">Nepodarilo sa pridať administrátora!</span>';
|
||||
$PALANG['pAdminCreate_admin_result_succes'] = 'Administrátor bol pidaný!';
|
||||
$PALANG['pAdminCreate_admin_address'] = 'Doména';
|
||||
|
||||
$PALANG['pAdminEdit_admin_welcome'] = 'Upraviť doménového administrátora';
|
||||
$PALANG['pAdminEdit_admin_username'] = 'Uživateľské meno';
|
||||
$PALANG['pAdminEdit_admin_password'] = 'Heslo';
|
||||
$PALANG['pAdminEdit_admin_password2'] = 'Heslo (znovu)';
|
||||
$PALANG['pAdminEdit_admin_password_text_error'] = '<span class="error_msg">Zadané heslá sú rozdielne alebo prázdne!</span>';
|
||||
$PALANG['pAdminEdit_admin_active'] = 'Aktívny';
|
||||
$PALANG['pAdminEdit_admin_button'] = 'Upraviť administrátora';
|
||||
$PALANG['pAdminEdit_admin_result_error'] = '<span class="error_msg">Nepodarilo sa upraviť administrátora!</span>';
|
||||
$PALANG['pAdminEdit_admin_result_succes'] = 'Administrátor bol upravený!';
|
||||
|
||||
$PALANG['pUsersLogin_welcome'] = 'Tu sa prihlasujú užívatelia pre zmenu hesla alebo presmerovanie.';
|
||||
$PALANG['pUsersLogin_username'] = 'Uživateľské meno (email)';
|
||||
$PALANG['pUsersLogin_password'] = 'Heslo';
|
||||
$PALANG['pUsersLogin_button'] = 'Prihlásiť';
|
||||
$PALANG['pUsersLogin_username_incorrect'] = 'Nesprávné uživateľské meno. Prihlasujte sa svojou emailovou adresou!';
|
||||
$PALANG['pUsersLogin_password_incorrect'] = 'Nesprávne heslo!';
|
||||
|
||||
$PALANG['pUsersMenu_vacation'] = 'Automatická odpoveď';
|
||||
$PALANG['pUsersMenu_edit_alias'] = 'Presmerovanie';
|
||||
$PALANG['pUsersMenu_password'] = 'Zmena hesla';
|
||||
|
||||
$PALANG['pUsersMain_vacation'] = 'Nastaviť ,,som preč`` alebo podobnú automatickú odpoveď.';
|
||||
$PALANG['pUsersMain_edit_alias'] = 'Nastaviť / zmeniť presmerovanie';
|
||||
$PALANG['pUsersMain_password'] = 'Zmeniť heslo';
|
||||
|
||||
$PALANG['pUsersVacation_welcome'] = 'Automatická odpoveď';
|
||||
$PALANG['pUsersVacation_welcome_text'] = 'Už máate nastavenú automatickú odpoveď!';
|
||||
$PALANG['pUsersVacation_subject'] = 'Predmet';
|
||||
$PALANG['pUsersVacation_subject_text'] = 'Dovolenka';
|
||||
$PALANG['pUsersVacation_body'] = 'Obsah';
|
||||
$PALANG['pUsersVacation_body_text'] = <<<EOM
|
||||
Som na dovolenke od <date> od <date>.
|
||||
S neodkladnými zprávami kontaktujte <contact person>.
|
||||
EOM;
|
||||
$PALANG['pUsersVacation_button_away'] = 'Odísť';
|
||||
$PALANG['pUsersVacation_button_back'] = 'Vrátiť sa';
|
||||
$PALANG['pUsersVacation_result_error'] = '<span class="error_msg">Nepodarilo sa upraviť nastavenie!</span>';
|
||||
$PALANG['pUsersVacation_result_succes'] = 'Nastavenie bolo upravené!';
|
||||
|
||||
$PALANG['pCreate_dbLog_createmailbox'] = 'vytvoriť mailbox';
|
||||
$PALANG['pCreate_dbLog_createalias'] = 'vytvoriť alias';
|
||||
$PALANG['pDelete_dbLog_deletealias'] = 'zmazať alias';
|
||||
$PALANG['pDelete_dbLog_deletemailbox'] = 'zmazať mailbox';
|
||||
|
||||
$PALANG['pEdit_dbLog_editactive'] = 'change active state';
|
||||
$PALANG['pEdit_dbLog_editalias'] = 'upraviť alias';
|
||||
$PALANG['pEdit_dbLog_editmailbox'] = 'upraviť mailbox';
|
||||
|
||||
$PALANG['pSearch_welcome'] = 'Hladať: ';
|
||||
?>
|
@ -1,5 +1,6 @@
|
||||
<div id="menu">
|
||||
<ul>
|
||||
<li><a target="_top" href="<?php print $CONF['user_footer_link']; ?>"><?php print $PALANG['pMenu_main']; ?></a></li>
|
||||
<?php if ($CONF['vacation'] == "YES") { ?>
|
||||
<li><a target="_top" href="vacation.php"><?php print $PALANG['pUsersMenu_vacation']; ?></a></li>
|
||||
<?php } ?>
|
||||
|
@ -1,9 +0,0 @@
|
||||
<div id="edit_form">
|
||||
<form name="vacation" method="post">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="hlp_center"><input class="button" type="submit" name="fBack" value="<?php print $PALANG['pUsersVacation_button_back']; ?>" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
@ -6,24 +6,28 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php print $PALANG['pUsersVacation_subject'] . ":"; ?></td>
|
||||
<td><input type="text" name="fSubject" value="<?php print $PALANG['pUsersVacation_subject_text']; ?>" /></td>
|
||||
<td><input type="text" name="fSubject" value="<?php print $tSubject; ?>" /></td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php print $PALANG['pUsersVacation_body'] . ":"; ?></td>
|
||||
<td>
|
||||
<textarea rows="10" cols="80" name="fBody">
|
||||
<?php print $PALANG['pUsersVacation_body_text']; ?>
|
||||
<?php print $tBody; ?>
|
||||
</textarea>
|
||||
</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" class="hlp_center"><input class="button" type="submit" name="fAway" value="<?php print $PALANG['pUsersVacation_button_away']; ?>" /></td>
|
||||
<td colspan="3" class="hlp_center">
|
||||
<input class="button" type="submit" name="fAway" value="<?php print $PALANG['pUsersVacation_button_away']; ?>" />
|
||||
<input class="button" type="submit" name="fBack" value="<?php print $PALANG['pUsersVacation_button_back']; ?>" />
|
||||
<input class="button" type="submit" name="fCancel" value="<?php print $PALANG['exit']; ?>" action="main.php" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" class="standout"><?php print $tMessage; ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -19,6 +19,8 @@
|
||||
//
|
||||
// fSubject
|
||||
// fBody
|
||||
// fAway
|
||||
// fBack
|
||||
//
|
||||
require ("../variables.inc.php");
|
||||
require ("../config.inc.php");
|
||||
@ -38,16 +40,19 @@ if ($_SERVER['REQUEST_METHOD'] == "GET")
|
||||
{
|
||||
$row = db_array($result['result']);
|
||||
$tMessage = $PALANG['pUsersVacation_welcome_text'];
|
||||
$template = "users_vacation-get.tpl";
|
||||
}
|
||||
else
|
||||
{
|
||||
$template = "users_vacation.tpl";
|
||||
$tSubject = $row['subject'];
|
||||
$tBody = $row['body'];
|
||||
|
||||
}
|
||||
|
||||
if ($tSubject == '') { $tSubject = $PALANG['pUsersVacation_subject_text']; }
|
||||
if ($tBody == '') { $tBody = $PALANG['pUsersVacation_body_text']; }
|
||||
|
||||
$template = "users_vacation.tpl";
|
||||
|
||||
include ("../templates/header.tpl");
|
||||
include ("../templates/users_menu.tpl");
|
||||
include ("../templates/$template");
|
||||
include ("../templates/users_vacation.tpl");
|
||||
include ("../templates/footer.tpl");
|
||||
}
|
||||
|
||||
@ -60,7 +65,11 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
if (isset ($_POST['fAway'])) $fAway = escape_string ($_POST['fAway']);
|
||||
if (isset ($_POST['fBack'])) $fBack = escape_string ($_POST['fBack']);
|
||||
|
||||
if (!empty ($fBack))
|
||||
//set a default, reset fields for coming back selection
|
||||
if ($tSubject == '') { $tSubject = $PALANG['pUsersVacation_subject_text']; }
|
||||
if ($tBody == '') { $tBody = $PALANG['pUsersVacation_body_text']; }
|
||||
|
||||
if (!empty ($fBack) || !empty ($fAway))
|
||||
{
|
||||
$result = db_query ("DELETE FROM $table_vacation WHERE email='$USERID_USERNAME'");
|
||||
if ($result['rows'] != 1)
|
||||
@ -79,11 +88,10 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
$row = db_array ($result['result']);
|
||||
$tGoto = $row['goto'];
|
||||
|
||||
$array = preg_split ('/,/', $tGoto);
|
||||
{
|
||||
array_pop ($array);
|
||||
$goto = implode (",", $array);
|
||||
}
|
||||
//only one of these will do something, first handles address at beginning and middle, second at end
|
||||
$goto= preg_replace ( "/$fUsername@$vacation_domain,/", '', $tGoto);
|
||||
$goto= preg_replace ( "/,$fUsername@$vacation_domain/", '', $goto);
|
||||
|
||||
}
|
||||
|
||||
$result = db_query ("UPDATE $table_alias SET goto='$goto',modified=NOW() WHERE address='$USERID_USERNAME'");
|
||||
|
Loading…
Reference in New Issue
Block a user