├── .gitignore ├── images ├── capture.png ├── capture_complex.png ├── capture_email.png ├── capture_pico_settings.png └── capture_getsimple_settings.png ├── p01-contact ├── .htaccess ├── lang │ ├── sv.yml │ ├── no.yml │ ├── bg.yml │ ├── sr.yml │ ├── da.yml │ ├── ru.yml │ ├── ro.yml │ ├── ka.yml │ ├── mk.yml │ ├── pl.yml │ ├── es.yml │ ├── lt.yml │ ├── nl.yml │ ├── en.yml │ ├── cz.yml │ ├── tr.yml │ ├── it.yml │ ├── sk.yml │ ├── de.yml │ ├── fr.yml │ └── pt.yml ├── src │ ├── templates │ │ ├── mail_template.html │ │ └── gs_settings.html │ ├── P01contact_Session.php │ ├── P01contact_Field.php │ ├── P01contact.php │ ├── P01contact_Form.php │ └── vendor │ │ └── spyc.php ├── style.css └── PicoContact.php ├── phpcs.xml ├── composer.json ├── .github └── ISSUE_TEMPLATE │ └── bug_report.md ├── LICENSE ├── p01-contact_gs.php └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | /.vscode/ 2 | /vendor/ 3 | -------------------------------------------------------------------------------- /images/capture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nliautaud/p01contact/HEAD/images/capture.png -------------------------------------------------------------------------------- /images/capture_complex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nliautaud/p01contact/HEAD/images/capture_complex.png -------------------------------------------------------------------------------- /images/capture_email.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nliautaud/p01contact/HEAD/images/capture_email.png -------------------------------------------------------------------------------- /images/capture_pico_settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nliautaud/p01contact/HEAD/images/capture_pico_settings.png -------------------------------------------------------------------------------- /p01-contact/.htaccess: -------------------------------------------------------------------------------- 1 | Order deny,allow 2 | Deny from all 3 | 4 | 5 | Allow from all 6 | 7 | -------------------------------------------------------------------------------- /images/capture_getsimple_settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nliautaud/p01contact/HEAD/images/capture_getsimple_settings.png -------------------------------------------------------------------------------- /phpcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | My rules for PHP CodeSniffer 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "nliautaud/p01contact", 3 | "description": "Create contact forms by writing simple tags.", 4 | "type": "library", 5 | "require-dev": { 6 | "squizlabs/php_codesniffer": "^3.3", 7 | "wimg/php-compatibility": "^8.1", 8 | "friendsofphp/php-cs-fixer": "^2.12" 9 | }, 10 | "license": "MIT", 11 | "authors": [ 12 | { 13 | "name": "nliautaud", 14 | "email": "nicolas.liautaud@gmail.com" 15 | } 16 | ], 17 | "minimum-stability": "stable" 18 | } 19 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: "\U0001F41B An issue checklist before submitting" 4 | title: '' 5 | labels: bug 6 | assignees: '' 7 | 8 | --- 9 | 10 | 🐛 **Found a bug ? Something wrong ?** 🐛 11 | 12 | My checklist : 13 | - [ ] Checked for existing issues : https://github.com/nliautaud/p01contact/issues 14 | - [ ] Checked relevant output in debug mode : 15 | - For GetSimple : https://github.com/nliautaud/p01contact/wiki/GetSimple-plugin#debug 16 | - For PicoCMS : https://github.com/nliautaud/p01contact/wiki/Pico-CMS-plugin#debug 17 | - Or https://github.com/nliautaud/p01contact/wiki/Settings 18 | - [ ] Described the issue with relevant details : what leads to it, what's my setup (CMS, server...), what's my version 19 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Nicolas Liautaud 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /p01-contact/lang/sv.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Swedish language file for p01-contact 3 | key: sv 4 | name: Swedish 5 | english_name: Swedish 6 | authors: Göran Söderberg 7 | date: "2011-10-27" 8 | compatibility: 1.1 9 | # fields 10 | name: Namn 11 | email: Email-adress 12 | address: Adress 13 | tel: Tel. nummer 14 | url: Hemsida 15 | subject: Ämne 16 | message: Meddelande 17 | file: Bilaga 18 | captcha: Captcha 19 | reload: Ny bild 20 | askcopy: Skicka en kopia till mig själv 21 | send: Send 22 | 23 | # email words 24 | anonymous: Anonym 25 | nosubject: (Inget ämne) 26 | email_title: Mail skickat från 27 | 28 | # status messages 29 | sent: Email skickat. 30 | error: "Fel : Inget meddelande skickades." 31 | disable: Kontaktformuläret är ur funktion. 32 | error_notarget: Kontaktformuläret har ingen mottagare. 33 | 34 | # fields errors 35 | field_required: Detta fält måste fyllas i 36 | field_email: Vänligen använd en riktig mail-adress 37 | field_tel: Vänligen använd ett riktigt telefonnummer 38 | field_url: Vänligen skriv en korrekt hemsida 39 | field_message: Meddelandet är för kort. 40 | field_captcha: Kopiera bokstäverna 41 | -------------------------------------------------------------------------------- /p01-contact/lang/no.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Norwegian language file for p01-contact 3 | key: "no" 4 | name: Norwegian 5 | english_name: Norwegian 6 | authors: Tor Rafsol Løseth 7 | date: "2011-10-27" 8 | compatibility: 1.1 9 | strings: 10 | # fields 11 | name: Navn 12 | email: E-post adresse 13 | address: Adresse 14 | tel: Tel. nummer 15 | url: Nettside 16 | subject: Emne 17 | message: Melding 18 | file: Bilag 19 | captcha: Captcha 20 | reload: Nytt bilde 21 | askcopy: Send en kopi till meg selv 22 | send: Send 23 | 24 | # email words 25 | anonymous: Anonym 26 | nosubject: (Intet emne) 27 | email_title: E-post sendt i fra 28 | 29 | # status messages 30 | sent: E-post sendt. 31 | error: "Feil : Ingen melding er sendt." 32 | disable: Kontaktskjemaet er ute av funksjon. 33 | error_notarget: Kontaktskjemaet har ingen mottager. 34 | 35 | # fields errors 36 | field_required: Dette feltet må fylles ut 37 | field_email: Vennligst bruk en korrekt e-post adresse 38 | field_tel: Vennligst bruk ett korrekt telefon nummer 39 | field_url: Vennligst bruk en korrekt nettside adresse 40 | field_message: Meldingen er for kort. 41 | field_captcha: Kopier bokstavene 42 | -------------------------------------------------------------------------------- /p01-contact/src/templates/mail_template.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 22 | 27 | 28 |
4 |

5 | {{lang.email_title}} 6 | {{SERVERNAME}} 7 |

8 |
{{date}}{{PAGEURI}}{{ip}}
{{fields}}
19 | If this mail should not be for you, please contact 20 | {{contact}}. 21 | 23 | 24 | p01-contact v{{VERSION}} 25 | 26 |
29 | -------------------------------------------------------------------------------- /p01-contact_gs.php: -------------------------------------------------------------------------------- 1 | default_lang = substr($LANG, 0, 2); 19 | 20 | $thisfile = basename(__FILE__, '.php'); 21 | 22 | register_plugin( 23 | $thisfile, // ID of plugin, should be filename minus php 24 | 'p01-contact', // Title of plugin 25 | $p01contact->version, // Version of plugin 26 | 'Nicolas Liautaud', // Author of plugin 27 | 'http://nliautaud.fr', // Author URL 28 | 'Simply add contact forms in your pages', // Plugin Description 29 | 'plugins', // Page type of plugin 30 | 'p01contact_action' // Function that displays content 31 | ); 32 | 33 | add_filter('content', 'p01contact_filter'); 34 | add_action('plugins-sidebar', 'createSideMenu', array($thisfile,'p01-contact')); 35 | 36 | /* 37 | * Handle for GS content filter (parse GS pages) 38 | */ 39 | function p01contact_filter($contents) 40 | { 41 | global $p01contact; 42 | 43 | $contents = $p01contact->parse($contents); 44 | 45 | if ($p01contact->config('debug')) { 46 | echo $p01contact->debugReport(); 47 | } 48 | return $contents; 49 | } 50 | /* 51 | * Handle for GS action (display admin panel) 52 | */ 53 | function p01contact_action() 54 | { 55 | global $p01contact; 56 | echo $p01contact->panel(); 57 | } 58 | -------------------------------------------------------------------------------- /p01-contact/style.css: -------------------------------------------------------------------------------- 1 | .p01-contact * { 2 | box-sizing: border-box; 3 | } 4 | .p01-contact { 5 | margin: 1em auto; 6 | max-width: 26em; 7 | font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif; 8 | } 9 | .p01-contact .field { 10 | margin-top: .5em; 11 | } 12 | .p01-contact .field.inline { 13 | margin-top: 1em; 14 | } 15 | .p01-contact label { 16 | display: block; 17 | font-weight: normal; 18 | } 19 | .p01-contact label .description{ 20 | font-size: .875em; 21 | color: #888; 22 | float: right; 23 | } 24 | .p01-contact input:not([type=radio]):not([type=checkbox]), 25 | .p01-contact textarea, 26 | .p01-contact select{ 27 | border:1px solid #BEBEBE; 28 | padding: 7px; 29 | margin:0px; 30 | transition: all 0.30s ease-in-out; 31 | outline: none; 32 | width: 100%; 33 | } 34 | .p01-contact input:focus, 35 | .p01-contact textarea:focus, 36 | .p01-contact select:focus{ 37 | box-shadow: 0 0 8px #88D5E9; 38 | border: 1px solid #88D5E9; 39 | } 40 | .p01-contact input[type=submit]:not([type=radio]):not([type=checkbox]), 41 | .p01-contact input[type=button]:not([type=radio]):not([type=checkbox]){ 42 | background: #4B99AD; 43 | padding: 8px 15px 8px 15px; 44 | margin: 1em 0; 45 | border: none; 46 | color: #fff; 47 | } 48 | .p01-contact input[type=submit]:hover, 49 | .p01-contact input[type=button]:hover{ 50 | background: #4691A4; 51 | box-shadow:none; 52 | } 53 | .p01-contact .required label:after { 54 | content: ' *'; 55 | color: #4B99AD; 56 | font-weight: bold; 57 | } 58 | .p01-contact input[type=radio], 59 | .p01-contact input[type=checkbox] { 60 | vertical-align: middle; 61 | } 62 | .p01-contact :not(.inline) .options { 63 | display: flex; 64 | border: 1px solid #ddd; 65 | padding: .5em; 66 | } 67 | .p01-contact :not(.inline) .options .option { 68 | margin: 0 1em; 69 | } 70 | .p01-contact .options input { 71 | display: inline-block; 72 | margin-right: .5em; 73 | } 74 | .p01-contact .error-msg { 75 | color: red; 76 | font-size: .85em; 77 | margin-left: .5em; 78 | } 79 | input:invalid, 80 | textarea:invalid { 81 | box-shadow: none; 82 | } 83 | 84 | .p01-contact .alert { 85 | padding: 15px; 86 | margin-bottom: 20px; 87 | border: 1px solid transparent; 88 | border-radius: 4px; 89 | } 90 | .p01-contact .alert.success { 91 | color: #3c763d; 92 | background-color: #dff0d8; 93 | border-color: #d6e9c6; 94 | } 95 | .p01-contact .alert.failed { 96 | color: #a94442; 97 | background-color: #f2dede; 98 | border-color: #ebccd1; 99 | } 100 | 101 | -------------------------------------------------------------------------------- /p01-contact/lang/bg.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Bulgarian language file for p01-contact 3 | key: bg 4 | name: Bulgarian 5 | english_name: Bulgarian 6 | authors: Panayot Kuyvliev 7 | date: "2011-10-22" 8 | compatibility: 1.1 9 | strings: 10 | # fields 11 | name: Име 12 | email: Email 13 | address: Адрес 14 | tel: Телефон 15 | url: Уебсайт 16 | subject: Относно 17 | message: Съобщение 18 | file: Прикачи 19 | captcha: Captcha 20 | reload: Презареди 21 | fieldcaptcha: Грешен код 22 | askcopy: Прати ми копие на това съобщение 23 | send: Прати 24 | 25 | # email words 26 | askedcopy: Поискано е копие на това съобщение 27 | anonymous: Анонимен 28 | nosubject: (Няма тема) 29 | email_title: Съобщението е изпратено от 30 | 31 | # status messages 32 | sent: Съобщението е изпратено. 33 | error: "Грешка : съобщението не е изпратено." 34 | disable: Контактната форма е недостъпна. 35 | error_notarget: Тази контактна форма няма получател. 36 | token: Съобщението вече е изпратено. 37 | 38 | # fields errors 39 | field_required: Това поле е задължително 40 | field_email: Моля използвайте валиден имейл адрес 41 | field_tel: Моля използвайте валиден телефонен номер 42 | field_url: Моля напишете валиден уеб адрес 43 | field_message: Моля напишете по дълго съобщение 44 | field_captcha: Моля копирайте следния текст 45 | field_fieldcaptcha: Моля не попълвайте това поле 46 | field_password: Грешна парола 47 | 48 | # configuration panel 49 | 50 | config_title: p01contact Настройки 51 | 52 | # messages 53 | config_updated: Твоите промени са запазени успешно. 54 | 55 | config_error_open: "Конфигуриращият файл не може да бъде отворен. Проверете дали файла съществува и неговата достъпност :" 56 | 57 | # New release alert 58 | new_release: Има нова версия! 59 | download: Свали последната версия 60 | 61 | # Links 62 | doc: Документация 63 | forum: Форум 64 | 65 | # Parameters 66 | enable: Пусни 67 | enable_sub: Пускане и спиране изпращането на съобщения (без да се скрива контактната форма). 68 | 69 | default_email: Емейл по подразбиране 70 | default_email_sub: Оставете празно, за да го настроите да 71 | 72 | lang: Език 73 | lang_sub: Езикът по подразбиране е 74 | 75 | default_params: Параметри по подразбиране 76 | 77 | message_len: Минимална големина на съобщението 78 | 79 | blacklist: Черен списък 80 | whitelist: Бял списък 81 | checklists_sub: "Черен списък: стойности, които не трябва да присъстват в областта за изпращане на имейл
. Бял списък: Възможните стойности от значение за областта, за да изпратите имейл
. Разделени със запетаи." 82 | 83 | general_fields: Общи полета 84 | special_fields: Специални полета 85 | 86 | debug_sub: Изключване на изпращането на съобщения, display p01-contact data structure, data sent by POST and the email that would have been sent. 87 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # p01contact 2 | 3 | [![](https://img.shields.io/github/release/nliautaud/p01contact.svg?style=for-the-badge&label=Latest+release)](https://github.com/nliautaud/p01contact/releases) 4 | 5 | Create contact forms by writing simple tags. 6 | 7 | - Supports any fields types 8 | - Powerful [textual syntax][syntax] 9 | - Generates [comprehensive mails][emails] 10 | - UTF-8, [localized and multilingual][i18n] 11 | - Automatic [security measures] 12 | - Integrated [settings editor][settings] 13 | - Debug reports and [submission logs][logs] 14 | - Plugin for [GetSimple][GetSimple plugin] or [Pico CMS][Pico CMS plugin] 15 | 16 |

17 | 18 |

19 | 20 | ## Installation 21 | 22 | Download the files. 23 | 24 | For [GetSimple CMS], place the `p01-contact` directory and the file `p01-contact_gs.php` in `plugins/`. 25 | 26 | For [Pico CMS], place the `p01-contact` directory in `plugins/` and **rename-it `PicoContact`**. 27 | 28 | *Compatibility : PHP 5.4+* 29 | 30 | ## Usage as a plugin 31 | 32 | Just write tags in your pages. 33 | 34 | ``` 35 | This is a default contact form : 36 | 37 | (% contact %) 38 | 39 | Simple. 40 | ``` 41 | 42 | Follow the [syntax] to create custom forms. 43 | 44 | ``` 45 | (% contact en : 46 |     subject => A locked subject, 47 |     radio "I'd like to contact you" = a little | a lot |: passionately, 48 |     select "Department" (the floor you look for) = Silly walks :| Strange things, 49 |     email!, 50 |     message =< Bla bla placeholder, 51 |     checkbox! "I'm in control", 52 |     askcopy 53 | %) 54 | ``` 55 | 56 | Details about usage as a plugin can be found in the [wiki] : 57 | - [GetSimple plugin](https://github.com/nliautaud/p01contact/wiki/GetSimple-plugin) 58 | - [Pico CMS plugin](https://github.com/nliautaud/p01contact/wiki/Pico-CMS-plugin) 59 | 60 | ## Usage as a PHP script 61 | 62 | The simplest method is to include the script, create a new instance and parse strings containing tags using the [syntax]. 63 | 64 | ```php 65 | include 'p01-contact/P01contact.php'; 66 | 67 | $p01contact = new P01contact(); 68 | 69 | $content = 'This is a default contact form : (% contact %)' 70 | $content = $p01contact->parse($content); 71 | ``` 72 | 73 | [GetSimple CMS]: http://get-simple.info 74 | [Pico CMS]: http://picocms.org 75 | [GetSimple plugin]: https://github.com/nliautaud/p01contact/wiki/GetSimple-plugin 76 | [Pico CMS plugin]: https://github.com/nliautaud/p01contact/wiki/Pico-CMS-plugin 77 | [wiki]: https://github.com/nliautaud/p01contact/wiki/_pages 78 | [syntax]: https://github.com/nliautaud/p01contact/wiki/Syntax 79 | [settings]: https://github.com/nliautaud/p01contact/wiki/Settings 80 | [security measures]: https://github.com/nliautaud/p01contact/wiki/Settings#security 81 | [i18n]: https://github.com/nliautaud/p01contact/wiki/Localization-(i18n) 82 | [emails]: https://github.com/nliautaud/p01contact/wiki/Emails 83 | [logs]: https://github.com/nliautaud/p01contact/wiki/Logs 84 | -------------------------------------------------------------------------------- /p01-contact/src/P01contact_Session.php: -------------------------------------------------------------------------------- 1 | $size) { 89 | array_shift($arr); 90 | } 91 | self::set($key, $arr); 92 | } 93 | /** 94 | * Return the session data, in html. 95 | * 96 | * @return string 97 | */ 98 | public static function report() 99 | { 100 | if (!self::exists()) { 101 | return; 102 | } 103 | $out = '

$_SESSION :

'; 104 | $out.= preint($_SESSION, true); 105 | return $out; 106 | } 107 | } 108 | -------------------------------------------------------------------------------- /p01-contact/lang/sr.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Serbian language file for p01-contact 3 | key: sr 4 | name: Serbian 5 | english_name: Serbian 6 | authors: lemi667 7 | date: "2011-10-27" 8 | compatibility: 1.1 9 | strings: 10 | # fields 11 | name: Ime 12 | email: Email 13 | address: Adresa 14 | tel: Broj telefona 15 | url: Website 16 | subject: Tema 17 | message: Poruka 18 | file: Dodatak 19 | captcha: Captcha 20 | reload: Učitaj ponovo 21 | fieldcaptcha: "Molimo nemojte popunjavati sledeće polje :" 22 | askcopy: Pošalji mi kopiju ove poruke 23 | send: Pošalji 24 | 25 | # email words 26 | askedcopy: Kopija ove poruke je zatražena 27 | anonymous: Anonimno 28 | nosubject: (No subject) 29 | email_title: Mail poslao 30 | 31 | # status messages 32 | sent: Email poslat. 33 | error: Greška u slanju poruke. 34 | disable: Formulari za kontakt su onemogućeni. 35 | error_notarget: Ovaj formular nema adresu za prijem. 36 | token: Poruka je već poslata. 37 | 38 | # fields errors 39 | field_required: Ovo polje je obavezno 40 | field_email: Molimo koristite validnu email adresu 41 | field_tel: Molimo koristite validan broj telefona 42 | field_url: Molimo koristite validnu web adresu 43 | field_message: Molimo upišite dužu poruku 44 | field_captcha: Molimo kopirajte sledeći tekst 45 | field_fieldcaptcha: Molimo da ne popunjavate ovo polje 46 | field_password: Pogrešna lozinka 47 | 48 | # configuration panel 49 | 50 | config_title: p01contact konfiguracija 51 | 52 | # messages 53 | config_updated: Vaše promene su sačuvane. 54 | 55 | config_error_open: "Nije moguće otvoriti konfiguracioni fajl. Proverite da li fajl postoji i dozvole za pristup :" 56 | 57 | config_error_modify: "Nije moguće modifikovati konfiguracioni fajl. Proverite dozvole za pristup :" 58 | 59 | # New release alert 60 | new_release: Postoji nova verzija! 61 | download: Preuzmite najnoviju verziju 62 | 63 | # Links 64 | doc: Dokumentacija 65 | forum: Forum 66 | 67 | # Parameters 68 | enable: Omogući 69 | enable_sub: Omogući/onemogući slanje poruka (ne sakriva kontakt formular). 70 | 71 | default_email: Podrazumevani email 72 | default_email_sub: "Ostavite prazno da bi podesili:" 73 | 74 | lang: Jezik 75 | lang_sub: Podrazumevani jezik je 76 | 77 | default_params: Podrazumevani parametri 78 | default_params_sub: Podrazumevani tag iz strukture. Koristite sintaksu opisanu u dokumentaciji. 79 | 80 | message_len: Minimalna dužina poruke 81 | message_len_sub: Minimalan broj karaktera za polje poruke. 82 | 83 | checklists: Kontrolna lista polja 84 | blacklist: Crna lista 85 | whitelist: Bela lista 86 | checklists_sub: "Crna lista : vrednosti koje ne smeju biti prisutne da bi poruka bila poslata.
Bela lista : moguće vrednosti potrebne u polju da bi poruka bila poslata.
Odvojeno zarezima." 87 | 88 | general_fields: Opšta polja 89 | special_fields: Specijalna polja 90 | 91 | debug: Debug režim 92 | debug_sub: Onemogućuje slanje poruke, prikazuje p01-contact strukturu podataka, podaci poslati putem POST i poruka koja bi bila poslata. 93 | debug_warn: Nemojte ovo aktivirati na sajtu koji je u funkciji! 94 | -------------------------------------------------------------------------------- /p01-contact/lang/da.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Danish language file for p01-contact 3 | key: da 4 | name: Danish 5 | english_name: Danish 6 | authors: Christian Sand 7 | date: "2011-10-27" 8 | compatibility: 1.1 9 | strings: 10 | # fields 11 | name: Navn 12 | email: Mail 13 | address: Addresse 14 | tel: Telefon 15 | url: Hjemmeside 16 | subject: Emne 17 | message: Besked 18 | file: Tilføj 19 | captcha: Captcha 20 | reload: Genindlæs 21 | fieldcaptcha: "Undlad at udfylde følgende felt:" 22 | askcopy: Send kopi af mail 23 | send: Afsend 24 | 25 | # email words 26 | askedcopy: Der er blevet bedt om en kopi af denne mail 27 | anonymous: Uden afsender 28 | nosubject: (Intet emne) 29 | email_title: Mail afsendt fra 30 | 31 | # status messages 32 | sent: Mail afsendt. 33 | error: "Fejl: Beskeden blev ikke afsendt." 34 | disable: Kontaktformularen er slået fra. 35 | error_notarget: Kontaktformularen indeholder ingen modtager. 36 | token: Beskeden er allerede afsendt. 37 | 38 | # fields errors 39 | field_required: Udfyld dette tekstfelt 40 | field_email: Benyt en gyldig mailadresse 41 | field_tel: Benyt et gyldigt telefonnummer 42 | field_url: Skriv en gyldig hjemmesideadresse 43 | field_message: Skriv en længere meddelelse 44 | field_captcha: Kopier den følgende tekst 45 | field_fieldcaptcha: Undlad at udfylde dette tekstfelt 46 | field_password: Ugyldigt kodeord 47 | 48 | # configuration panel 49 | 50 | config_title: Opsætning 51 | 52 | # messages 53 | config_updated: Dine ændringer blev gemt. 54 | 55 | config_error_open: "Opsætningsfilen kan ikke læses. Undersøg at filen eksisterer, og at du har rettigheder til filen:" 56 | 57 | config_error_modify: "Opsætningsfilen kan ikke ændres. Undersøg, at du har rettigheder til filen:" 58 | 59 | # New release alert 60 | new_release: Der er kommet en ny version! 61 | download: Hent den seneste version 62 | 63 | # Links 64 | doc: Dokumentation 65 | forum: Hjælp 66 | 67 | # Parameters 68 | enable: Afsendelse af mail 69 | enable_sub: Aktiver eller afbryd afsendelse af mail (skjuler ikke kontaktformularen). 70 | 71 | default_email: Webstedet standardmail 72 | default_email_sub: Undlad at udfylde for at benytte 73 | 74 | lang: Sprog 75 | lang_sub: "Standardsproget er indstillet til:" 76 | 77 | default_params: Udformning af kontaktformular 78 | default_params_sub: Benyt etikettesyntaks som beskrevet i dokumentation. 79 | 80 | message_len: Beskedens mindstelængde 81 | message_len_sub: Mindste antal karakterer i beskedfelt. 82 | 83 | checklists: Tjekliste 84 | blacklist: Bandlyst 85 | whitelist: Påkrævet 86 | checklists_sub: Rediger tjeklisten med bandlyste værdier, som mailen ikke må indeholde, eller med værdier som er påkrævede for afsendelse af mail.
De enkelte værdier separeres med komma. 87 | 88 | general_fields: Generelle værdier 89 | special_fields: Specifikke værdier 90 | 91 | debug: Fejlfindingstilstand 92 | debug_sub: Afbryd afsendelse af mail. Gennemse filstrukturen for p01-kontaktdata; revider data sendt af POST og data for mailen, som skulle være afsendt. 93 | debug_warn: Aktiver ikke fejlfinding på et fungerende websted! 94 | -------------------------------------------------------------------------------- /p01-contact/lang/ru.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Russian language file for p01-contact 3 | key: ru 4 | name: Russian 5 | english_name: Russian 6 | authors: Stanislav Ulver 7 | date: "2011-10-27" 8 | compatibility: 1.1 9 | strings: 10 | # fields 11 | name: Ваше имя 12 | email: E-mail 13 | address: Почтовый адрес 14 | tel: Номер телефона 15 | url: Сайт 16 | subject: Тема 17 | message: Сообщение 18 | file: Прикрепить файл 19 | captcha: Код безопасности 20 | reload: Обновить 21 | fieldcaptcha: "Пожалуйста, не заполняйте следующие поля :" 22 | askcopy: Отправить мне копию этого сообщения 23 | send: Отправить 24 | 25 | # email words 26 | askedcopy: Копия этого письма была запрошена 27 | anonymous: Анонимно 28 | nosubject: (Без темы) 29 | email_title: "Отправитель:" 30 | 31 | # status messages 32 | sent: E-mail отправлен. 33 | error: "Ошибка: сообщение не было отправлено." 34 | disable: Контактный плагин отключен. 35 | error_notarget: Не указан получатель. 36 | token: Это сообщение уже было отправлено. 37 | 38 | # fields errors 39 | field_required: Обязательное поле 40 | field_email: Неверно указан e-mail адрес 41 | field_tel: Неверно указан номер телефона 42 | field_url: Неверно указан веб-адрес 43 | field_message: Ваше сообщение слишком короткое 44 | field_captcha: Код безопасности не соответствует отображённому 45 | field_fieldcaptcha: Пожалуйста не заполняйте это поле 46 | field_password: Неправильный пароль 47 | 48 | # configuration panel 49 | 50 | config_title: p01contact конфигурация 51 | 52 | # messages 53 | config_updated: Изменения сохранены. 54 | 55 | config_error_open: "Никак не открыть конфигурационный файл. Проверьте его существование и права доступа к нему :" 56 | 57 | config_error_modify: "Не удается модифицировать конфигурационный файл. Проверьте права доступа к нему :" 58 | 59 | # New release alert 60 | new_release: Это новая версия! 61 | download: Скачать последнюю версию 62 | 63 | # Links 64 | doc: Документация 65 | forum: Форум 66 | 67 | # Parameters 68 | enable: Включено 69 | enable_sub: Включить или выключить отправку е-mail сообщения (не скрывает контактную форму). 70 | 71 | default_email: email по умолчанию 72 | default_email_sub: Оставьте пустым для установки 73 | 74 | lang: Язык 75 | lang_sub: Язык по умолчанию установлен в 76 | 77 | default_params: Параметры по умолчанию 78 | default_params_sub: Структура тегов формы. Используйте синтаксис описанный в документации. 79 | 80 | message_len: Минимальная длинна сообщения 81 | message_len_sub: Минимальное количество символов для поля сообщения. 82 | 83 | checklists: Проверочный список полей 84 | blacklist: Черный список 85 | whitelist: Белый список 86 | checklists_sub: "Черный список: значения, при которых отправка письма не произойдет.
Белый список: значения, которые требуются для отправки письма.
Элементы разделяются запятыми." 87 | 88 | general_fields: Основные поля 89 | special_fields: Специальные поля 90 | 91 | debug: Режим отладки 92 | debug_sub: Отключается отправка емайл сообщения, на экране отображается p01-contact структура данных, и данные которые были бы посланы по электронной почте. 93 | debug_warn: Не включайте на рабочем сайте! 94 | -------------------------------------------------------------------------------- /p01-contact/lang/ro.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Romanian language file for p01-contact 3 | key: ro 4 | name: Romanian 5 | english_name: Romanian 6 | authors: Alexandru Cuciureanu 7 | date: "2011-10-27" 8 | compatibility: 1.1 9 | strings: 10 | # fields 11 | name: Nume 12 | email: Email 13 | address: Adresa postala 14 | tel: Numar telefon 15 | url: Website 16 | subject: Subiect 17 | message: Mesaj 18 | file: Atasament 19 | captcha: Captcha 20 | reload: Reincarcare 21 | fieldcaptcha: "Te rog sa nu completezi urmatorul spatiu :" 22 | askcopy: Trimite-mi o copie al acestui email 23 | send: Trimite 24 | 25 | # email words 26 | askedcopy: A fost solicitata o copie al acestui email 27 | anonymous: Anonim 28 | nosubject: (Fara subiect) 29 | email_title: Mesaj trimis de 30 | 31 | # status messages 32 | sent: Mesajul a fost trimis. 33 | error: "Eroare : mesajul nu a fost trimis." 34 | disable: Formularele de contact sunt dezactivate. 35 | error_notarget: Acest formular de contact nu are un recipient. 36 | token: Mesajul a fost deja trimis. 37 | 38 | # fields errors 39 | field_required: Acest spatiu trebuie completat 40 | field_email: Te rog sa completezi o adresa de email valida 41 | field_tel: Te rog sa folosesti un numar de telefon valid 42 | field_url: Te rog sa introduci o adresa de web valida 43 | field_message: Te rog sa scrii un mesaj mai lung 44 | field_captcha: Te rog copiaza urmatorul text 45 | field_fieldcaptcha: Te rog sa nu completezi urmatorul spatiu 46 | field_password: Parola gresita 47 | 48 | # configuration panel 49 | 50 | config_title: Configurare p01contact 51 | 52 | # messages 53 | config_updated: Schimbarile tale au fost salvate. 54 | 55 | config_error_open: "Nu a putut fi deschis fisierul de configurare. Verifica daca fisierul exista sau daca ai permisiunile corecte :" 56 | 57 | config_error_modify: "Nu a putut fi modificat fisierul de configurare. Verifica permisiunile :" 58 | 59 | # New release alert 60 | new_release: Exista o noua versiune! 61 | download: Descarca ultima versiune 62 | 63 | # Links 64 | doc: Documentatie 65 | forum: Forum 66 | 67 | # Parameters 68 | enable: Activeaza 69 | enable_sub: Activeaza sau dezactiveaza trimiterea de email (nu ascunde formularul de contact). 70 | 71 | default_email: Emailul implicit 72 | default_email_sub: Lasa spatiu gol pentru a seta ca 73 | 74 | lang: Limba 75 | lang_sub: Limba implicita este setata ca 76 | 77 | default_params: Parametri impliciti 78 | default_params_sub: Etichete implicite in formular. Foloseste sintaxa din documentatie. 79 | 80 | message_len: Lungimea minima a mesajului 81 | message_len_sub: Numarul minim de caractere pentru spatiile destinate mesajelor 82 | 83 | checklists: Casute pentru bifat 84 | blacklist: Blacklist 85 | whitelist: Whitelist 86 | checklists_sub: "Blacklist : cuvinte care nu trebuie sa apara in email.
Whitelist : posibile cuvinte care ar trebui sa apara in email.
Separate de virgula." 87 | 88 | general_fields: Campuri generale 89 | special_fields: Campuri speciale 90 | 91 | debug: Mod Debug 92 | debug_sub: Dezactiveaza trimiterea mesajului, afiseaza structura de date p01-contact, date trimise prin POST si email care a fost trimis. 93 | debug_warn: Nu activa siteul in productie! 94 | -------------------------------------------------------------------------------- /p01-contact/lang/ka.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Italian language file for p01-contact 3 | key: ka 4 | name: Georgian (Kartuli) 5 | english_name: Georgian (Kartuli) 6 | authors: Temur Danelia 7 | date: "2011-10-27" 8 | compatibility: 1.1 9 | strings: 10 | # fields 11 | name: სახელი 12 | email: ელფოსტა 13 | address: მისამართი 14 | tel: ტელეფონის ნომერი 15 | url: ვებგვერდი 16 | subject: სათაური 17 | message: წერილის ტექსტი 18 | file: მიმაგრებული 19 | captcha: Captcha 20 | reload: ხელახლა ჩატვირთვა 21 | fieldcaptcha: "არ შეავსოთ ეს ველი :" 22 | askcopy: გამომიგზავნეთ ამ წერილის ასლი 23 | send: გაგზავნა 24 | 25 | # email words 26 | askedcopy: ამ წერილის ასლი მიუვიდა გამომგზავნს 27 | anonymous: ანონიმური 28 | nosubject: (სათაურის გარეშე) 29 | email_title: წერილის ავტორი 30 | 31 | # status messages 32 | sent: წერილი გაიგზავნა. 33 | error: "შეცდომა : წერილი არ გაიგზავნა." 34 | disable: კონტაქტის ფორმა გამორთულია. 35 | error_notarget: ამ კონტაქტის ფორმას არ ჰყავს ადრესატი. 36 | token: წერილი უკვე გაიგზავნა. 37 | 38 | # fields errors 39 | field_required: ამ ველის შევსება სავალდებულოა 40 | field_email: გამოიყენეთ არსებული ელფოსტა 41 | field_tel: გამოიყენეთ არსებული ტელეფონის ნომერი 42 | field_url: შეიყვანეთ არსებული ვებგვერდის მისამართი 43 | field_message: წერილის ტექსტი ძალიან მოკლეა 44 | field_captcha: დააკოპირეთ შემდეგი ტექსტი 45 | field_fieldcaptcha: არ შეავსოთ ეს ველი 46 | field_password: არასწორი პაროლი 47 | 48 | # configuration panel 49 | 50 | config_title: p01contact-ის კონფიგურაცია 51 | 52 | # messages 53 | config_updated: ცვლილებები წარმატებით შეინახა. 54 | 55 | config_error_open: "config ფაილის გახსნა შეუძლებელია. გადაამოწმეთ რომ ფაილი არსებობს და მისი დაშვებებია :" 56 | 57 | config_error_modify: "config ფაილის შეცვლა შეუძლებელია. გადაამოწმეთ ფაილის დაშვებები :" 58 | 59 | # New release alert 60 | new_release: არსებობს ჩანართის უფრო ახალი ვერსია! 61 | download: გადმოწერეთ ჩანართის ბოლო ვერსია 62 | 63 | # Links 64 | doc: დოკუმენტაცია 65 | forum: ფორუმი 66 | 67 | # Parameters 68 | enable: ჩართვა 69 | enable_sub: წერილის გაგზავნის ფუნქციის ჩართვა ან გამორთვა (საკონტაქტო ფორმა არ დაიმალება). 70 | 71 | default_email: ნაგულისხმები ელფოსტა 72 | default_email_sub: დატოვეთ ცარიელი რათა დაყენდეს 73 | 74 | lang: ენა 75 | lang_sub: ნაგულისხმებ ენად დაყენებულია 76 | 77 | default_params: ნაგულისხმები პარამეტრები 78 | default_params_sub: ფორმის ნაგულისხმები სტრუქტურის ტეგები. გამოიყენეთ დოკუმენტაციაში აღწერილი სინტაქსი. 79 | 80 | message_len: წერილის ტექსტის მინიმალური ზომა 81 | message_len_sub: სიმბოლოების მინიმალური რაოდენობა წერილის ტექსტის ველში. 82 | 83 | checklists: ველების დაშვებების სია 84 | blacklist: შავი სია 85 | whitelist: თეთრი სია 86 | checklists_sub: "შავი სია : სიმბოლოები, რომელთა შესაბამის ველში შეყვანის შემთხვევაში წერილი არ გაიგზავნება.
Whitelist : სიმბოლოები, რომელთა შესაბამის ველში შეყვანის გარეშე წერილი არ გაიგზავნება.
გამოყავით მძიმით." 87 | 88 | general_fields: ძირითადი ველები 89 | special_fields: სპეციალური ველები 90 | 91 | debug: შეცდომების გასწორების რეჟიმი 92 | debug_sub: წერილის გაგზავნის ფუნქციის გამორთვა, p01-contact-ის მონაცემთა სტრუქტურის ჩვენება, POST-ის მიერ გაგზავნილი მონაცემები და წერილი, რომელიც გაიგზავნებოდა. 93 | debug_warn: არ გამოიყენოთ მოქმედ საიტზე! 94 | -------------------------------------------------------------------------------- /p01-contact/lang/mk.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Macedonian language file for p01-contact 3 | key: mk 4 | name: Macedonian 5 | english_name: Macedonian 6 | authors: Спиркоски 7 | date: "2011-10-27" 8 | compatibility: 1.1 9 | strings: 10 | # fields 11 | name: Име 12 | email: Email 13 | address: Поштенска адреса 14 | tel: Телефонски број 15 | url: Web страна 16 | subject: Наслов 17 | message: Порака 18 | file: Прилог 19 | captcha: Captcha 20 | reload: Смени 21 | fieldcaptcha: "Ве молам не пополнувајте го следното поле:" 22 | askcopy: Испрати ми копија на оваа email адреса 23 | send: Испрати 24 | 25 | # email words 26 | askedcopy: Побарана беше копија од оваа email порака 27 | anonymous: Анонимно 28 | nosubject: (Нема наслов) 29 | email_title: Пораката е испратена од 30 | 31 | # status messages 32 | sent: Email пораката е пратена. 33 | error: "ГРЕШКА: пораката не е пратена." 34 | disable: Контакт формите се исклучени. 35 | error_notarget: Оваа контактна форма нема примач. 36 | token: Пораката веќе беше испратена. 37 | 38 | # fields errors 39 | field_required: Ова поле е обврзно 40 | field_email: Ве молам внесете валидна email адреса 41 | field_tel: Ве молам внесете валиден телефонски број 42 | field_url: Ве молам внесете валидна web адреса 43 | field_message: Ве молам напишете подолга порака 44 | field_captcha: Ве молам препишете го следниот текст 45 | field_fieldcaptcha: Ве молам не го пополнувајте ова поле 46 | field_password: Погрешна лозинка 47 | 48 | # configuration panel 49 | 50 | config_title: p01contact конфигурација 51 | 52 | # messages 53 | config_updated: Вашите измени се успешно зачувани. 54 | 55 | config_error_open: "Не можам да ја отворам конфугурациската датотека. Ве молам проверете дали постои датотеката и нејзините привилегии:" 56 | 57 | config_error_modify: "Не можам да ја изменам конфигурацискта датотека. Проверете ги нејзините привилегии:" 58 | 59 | # New release alert 60 | new_release: Има нова верзија! 61 | download: Превземи ја најновата верзија 62 | 63 | # Links 64 | doc: Документација 65 | forum: Форум 66 | 67 | # Parameters 68 | enable: Вклучи 69 | enable_sub: Вклучи или исклучи испраќање на пораки (не ги крие контакт формите). 70 | 71 | default_email: Главен email 72 | default_email_sub: Оставете го празно за да биде конфигурирано на 73 | 74 | lang: Јазик 75 | lang_sub: Основниот јазик е конфигуриран на 76 | 77 | default_params: Основни параметри 78 | default_params_sub: Структура на основна tag форма. Користете ја синтаксата опишана во документацијата. 79 | 80 | message_len: Минимална должина на пораката 81 | message_len_sub: Минимален број на знаци во полињата за порака. 82 | 83 | checklists: Чеклисти на полињата 84 | blacklist: Црна листа 85 | whitelist: Бела листа 86 | checklists_sub: "Црна листа: вредности кои не смеат да се појават за да се прати пораката.
Бела листа: можни вредности потребни за да се прати пораката.
Разделени со запирки." 87 | 88 | general_fields: Основни полиња 89 | special_fields: Специјални полиња 90 | 91 | debug: Режим за дебагирање 92 | debug_sub: Оневозможи праќање на пораки, прикажи ја p01-contact структурата на податоци, податоците пратени со POST и email-от кој би бил испратен. 93 | debug_warn: Не активирајте на функционална web страна! 94 | -------------------------------------------------------------------------------- /p01-contact/lang/pl.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Polish language file for p01-contact 3 | key: pl 4 | name: Polish 5 | english_name: Polish 6 | authors: barlew 7 | date: "2011-10-27" 8 | compatibility: 1.1 9 | strings: 10 | # fields 11 | name: Imię i nazwisko 12 | email: Email 13 | address: Adres 14 | tel: Telefon 15 | url: Strona www 16 | subject: Temat 17 | message: Wiadomość 18 | file: Załącznik 19 | captcha: Captcha 20 | reload: Załaduj ponownie 21 | fieldcaptcha: "Proszę nie wypełniać tych pól:" 22 | askcopy: Wyślij kopię wiadomości do mnie 23 | send: Wyślij 24 | 25 | # email words 26 | askedcopy: A copy of this email have been requested 27 | anonymous: Anonymous 28 | nosubject: (bez tematu) 29 | email_title: Wiadomość wysłana z 30 | 31 | # status messages 32 | sent: Wiadomość została wysłana! 33 | error: "Błąd: wiadomość nie została wysłana." 34 | disable: Formularz kontaktowy jest wyłączony. 35 | error_notarget: Nie określono odbiorcy dla tego formularza. 36 | token: The message have already been sent. 37 | 38 | # fields errors 39 | field_required: Wypełnienie tego pola jest wymagane 40 | field_email: Wprowadź prawidłowy adres email 41 | field_tel: Wprowadź prawidłowy numer telefonu 42 | field_url: Wprowadź prawidłowy adres www 43 | field_message: Tekst wiadomości jest zbyt krótki 44 | field_captcha: Skopiuj następujący tekst 45 | field_fieldcaptcha: Proszę nie wypełniać tego pola 46 | field_password: Hasło nieprawidłowe 47 | 48 | # configuration panel 49 | 50 | config_title: Konfiguracja p01-contact 51 | default: Domyślnie 52 | save: Zapisz 53 | 54 | # messages 55 | config_updated: Twoje ustawienia zostały pomyślnie zapisane. 56 | 57 | config_error_open: "Nie można otworzyć pliku konfiguracyjnego. Sprawdź czy plik istnieje oraz ustawienia do jego zapisu:" 58 | 59 | config_error_modify: "Nie można zmodyfikować pliku konfiguracyjnego. Sprwdź ustawienia uprawnień tego pliku:" 60 | 61 | # New release alert 62 | new_release: Nowa wersja jest dostępna! 63 | download: Pobierz najnowszą wersję. 64 | 65 | # Links 66 | doc: Dokumentacja 67 | forum: Forum 68 | 69 | # Parameters 70 | enable: Włączony 71 | enable_sub: Włącza lub wyłącza wysyłanie maili (nie ukrywa formularza kontaktowego). 72 | 73 | default_email: Domyślny adres email 74 | default_email_sub: Pozostaw to pole puste, aby wysyłać maile do 75 | 76 | lang: Język 77 | lang_sub: Język domyślny ustawiony jako 78 | 79 | default_params: Ustawienia domyślne 80 | default_params_sub: Domyślna struktura formularza. W celu modyfikacji proszę zapoznać się z dokumentacją. 81 | 82 | message_len: Minimalna długość tekstu wiadomości 83 | message_len_sub: Określa minimalną liczbę znaków dla tekstu wiadomości. 84 | 85 | checklists: Sprawdzanie zawartości pól formularza 86 | blacklist: Zabronione 87 | whitelist: Dozwolone 88 | checklists_sub: "Zabronione: słowa, które nie mogą występować w polach formularza.
Dozwolone: słowa, które mogą występować w polach formularza.
Oddzielone przecinkami." 89 | 90 | general_fields: Pola ogólne 91 | special_fields: Pola specjalne 92 | 93 | debug: Tryb debug 94 | debug_sub: Wyłącza wysyłanie maili, wyświetla strukturę danych p01-contact oraz mail, który byłyby wysłany przez funkcję POST. 95 | debug_warn: Nie włączać na stronie produkcyjnej! 96 | -------------------------------------------------------------------------------- /p01-contact/lang/es.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Spanish language file for p01-contact 3 | key: es 4 | name: Spanish 5 | english_name: Spanish 6 | authors: Carlos Navarro, Daniel A. Rodriguez 7 | date: "2011-10-27" 8 | compatibility: 1.1 9 | strings: 10 | # fields 11 | name: Nombre 12 | email: Correo electrónico 13 | address: Dirección postal 14 | tel: Teléfono 15 | url: Sitio web 16 | subject: Asunto 17 | message: Mensaje 18 | file: Archivo adjunto 19 | captcha: Captcha 20 | reload: Recargar 21 | askcopy: Enviar copia por Correo electrónico 22 | send: Enviar 23 | 24 | # email words 25 | askedcopy: Se ha solicitado una copia de este mensaje 26 | anonymous: Anónimo 27 | nosubject: (Sin asunto) 28 | email_title: Correo electrónico enviado desde 29 | 30 | # status messages 31 | sent: Correo electrónico enviado. 32 | error: "Error: mensaje no enviado." 33 | disable: Plugin de Contacto desactivado. 34 | error_notarget: Este formulario de contacto no tiene destinatario. 35 | token: El mensaje ya ha sido enviado. 36 | 37 | # fields errors 38 | field_required: Campo obligatorio 39 | field_email: Es necesaria una dirección de correo electrónico válida 40 | field_tel: Es necesario un número de teléfono válido 41 | field_url: Es necesaria una dirección web válida 42 | field_message: El mensaje ha de ser más largo 43 | field_captcha: Copiar el siguiente texto 44 | field_fieldcaptcha: Por favor, no complete este campo 45 | field_password: Clave incorrecta 46 | 47 | # configuration panel 48 | 49 | config_title: Configuración de p01contact 50 | 51 | # messages 52 | config_updated: Sus cambios han sido guardados. 53 | 54 | config_error_open: "No se puede abrir el archivo de configuración. Verifique que el archivo exista y sus permisos:" 55 | 56 | config_error_modify: "No se puede modificar el archivo de configuración. Verifique los permisos:" 57 | 58 | # New release alert 59 | new_release: Nueva versión disponible! 60 | download: Descargue la última versión 61 | 62 | # Links 63 | doc: Documentación 64 | forum: Foro 65 | 66 | # Parameters 67 | enable: Habilitar 68 | enable_sub: Habilitar o desabilitar el envío de correo (no oculta el formulario). 69 | 70 | default_email: Remitente predeterminado 71 | default_email_sub: Dejar en blanco para autocompletado 72 | 73 | lang: Idioma 74 | lang_sub: El idioma predeterminado se ha establecido a 75 | 76 | default_params: Parámetros predeterminados 77 | default_params_sub: Etiqueta predeterminado para estructura de formulario. Use la sintáxis descrita en la documentación. 78 | 79 | message_len: Longitud mínima del mensaje 80 | message_len_sub: Cantidad mínima de caracteres para los campos del mensaje. 81 | 82 | checklists: Checklists 83 | blacklist: Lista negra 84 | whitelist: Lista blanca 85 | checklists_sub: "Lista negra : valores que no deben estar presentes en el campo para envío de mensajes.
Lista blanca : posibles valores requeridos para el campo de envío de mensajes.
Separados por comas" 86 | 87 | general_fields: Campos generales 88 | special_fields: Campos escpeciales 89 | 90 | debug: Modo debug 91 | debug_sub: Deshabilitar envío de mensajes, mostrar la estructura de datos de display p01-contact, datos enviados por POST y el mensaje que debería haber sido enviado. 92 | debug_warn: No activar en sitios en producción! 93 | -------------------------------------------------------------------------------- /p01-contact/lang/lt.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Lithuanian language file for p01-contact 3 | key: lt 4 | name: Lithuanian 5 | english_name: Lithuanian 6 | authors: Vaidotas Kazla 7 | date: "2011-10-27" 8 | compatibility: 1.1 9 | strings: 10 | # fields 11 | name: Vardas 12 | email: El. paštas 13 | address: Pašto adresas 14 | tel: Telefonas 15 | url: Interneto svetainė 16 | subject: Tema 17 | message: Žinutė 18 | file: Prisegtas failas 19 | captcha: Apsaugos kodas 20 | reload: Atnaujinti 21 | fieldcaptcha: "Prašome nepildyti šio lauko :" 22 | askcopy: Atsiųsti laiško kopiją man 23 | send: Siųsti 24 | 25 | # email words 26 | askedcopy: Buvo prašymas gauti šios žinutės kopiją 27 | anonymous: Anonimas 28 | nosubject: (be temos) 29 | email_title: Išsiųsta iš 30 | 31 | # status messages 32 | sent: Žinutė išsiųsta sėkmingai. 33 | error: "Klaida: nepavyko išsiųsti žinutės." 34 | disable: Susisiekimo formos yra išjungtos. 35 | error_notarget: Ši susisiekimo forma neturi nurodyto gavėjo. 36 | token: Ši žinutė jau buvo išsiųsta. 37 | 38 | # fields errors 39 | field_required: Būtina užpildyti šį lauką 40 | field_email: Prašome įvesti teisingą el. pašto adresą 41 | field_tel: Prašome įvesti teisingą telefono numerį 42 | field_url: Prašome įvesti teisingą interneto svetainės adresą 43 | field_message: Žinutė per trumpa 44 | field_captcha: Prašome įvesti šį apsaugos kodą 45 | field_fieldcaptcha: Prašome nepildyti šio lauko 46 | field_password: Neteisingas slaptažodis 47 | 48 | # configuration panel 49 | 50 | config_title: p01contact konfigūracija 51 | 52 | # messages 53 | config_updated: Jūsų pakeitimai išsaugoti sėkmingai. 54 | 55 | config_error_open: "Nepavyko atverti konfigūracijos failo. Prašome patikrinti kad failas egzistuoja ir turi teisingus leidimus:" 56 | 57 | config_error_modify: "Nepavyko pakeisti konfigūracijos failo. Prašome patikrinti failo leidimus :" 58 | 59 | # New release alert 60 | new_release: Yra nauja versija! 61 | download: Parsiųsti naują versiją 62 | 63 | # Links 64 | doc: Dokumentacija 65 | forum: Forumas 66 | 67 | # Parameters 68 | enable: Įjungti 69 | enable_sub: Įjungti arba išjungti pašto siuntimą (nepaslepia formų). 70 | 71 | default_email: Numatytasis el. pašto adresas 72 | default_email_sub: Jei paliksite tuščią, laiškai bus siunčiami į 73 | 74 | lang: Kalba 75 | lang_sub: Numatytoji kalba nustatyta kaip 76 | 77 | default_params: Numatytieji parametrai 78 | default_params_sub: Numatytoji žymų formos struktūra. Naudokite sintaksę aprašytą dokumentacijoje. 79 | 80 | message_len: Minimalus žinutės ilgis. 81 | message_len_sub: Minimalus leidžiamas simbolių skaičius žinutės laukams. 82 | 83 | checklists: Laukų kontrolinis sąrašas 84 | blacklist: Juodasis sąrašas 85 | whitelist: Baltasis sąrašas 86 | checklists_sub: "Juodasis sąrašas : žodžiai kuriuos radus formos laukuose nebus siunčiamas el. laiškas.
Baltasis sąrašas : žodžiai, kurie privalo būti formos laukuose, kad būtų siunčiamas el. laiškas.
Reikšmės atskiriamos kableliais." 87 | 88 | general_fields: Pagrindiniai laukai 89 | special_fields: Specialūs laukai 90 | 91 | debug: Derinimo režimas 92 | debug_sub: Išjungiamas laiško siuntimas, vietoje to parodoma p01-contact duomenų struktūra, siunčiami POST duomenys ir siunčiamo laiško vaizdas. 93 | debug_warn: Prašome nenaudoti veikiančioje svetainėje! 94 | -------------------------------------------------------------------------------- /p01-contact/lang/nl.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Dutch language file for p01-contact 3 | key: nl 4 | name: Dutch 5 | english_name: Dutch 6 | authors: Thomas Stolwijk 7 | date: "2011-10-27" 8 | compatibility: 1.1 9 | strings: 10 | # fields 11 | name: Naam 12 | email: Email 13 | address: Postadres 14 | tel: Telefoonnummer 15 | url: Website 16 | subject: Onderwerp 17 | message: Bericht 18 | file: Attachment 19 | captcha: Captcha 20 | reload: Herlaad 21 | fieldcaptcha: "Vul alstublieft niet het volgende veld in :" 22 | askcopy: Stuur mij een kopie van dit bericht 23 | send: Verstuur 24 | 25 | # email words 26 | askedcopy: Een kopie van deze mail is aangevraagd 27 | anonymous: Anoniem 28 | nosubject: (Geen onderwerp) 29 | email_title: Mail verstuurd vanaf 30 | 31 | # status messages 32 | sent: Bericht verzonden. 33 | error: "Fout : het bericht is niet verzonden." 34 | disable: De contactplugin is uitgeschakeld. 35 | error_notarget: Dit contactformulier heeft geen ontvanger. 36 | token: Dit bericht is al verstuurd. 37 | 38 | 39 | # fields errors 40 | field_required: Dit veld is verplicht 41 | field_email: Voer alstublieft een geldig email-adres in 42 | field_tel: Voer alstublieft een geldig telefoonnummer in 43 | field_url: Voer alstublieft een geldig webadres in 44 | field_message: Schrijf alstublieft een langer bericht 45 | field_captcha: Kopieer alstublieft de volgende tekst 46 | field_fieldcaptcha: Vult u alstublieft dit veld niet in 47 | field_password: Verkeerd wachtwoord 48 | 49 | # configuration panel 50 | 51 | config_title: p01contact configuratie 52 | 53 | # messages 54 | config_updated: Uw wijzigingen zijn opgeslagen. 55 | 56 | config_error_open: "Kan het configuratiebestand niet openen. Controleer of het bestand bestaat en de toegangsrechten erop :" 57 | 58 | config_error_modify: "Kan het configuratiebestand niet wijzigen. Controleer de toegangsrechten op het bestand :" 59 | 60 | # New release alert 61 | new_release: Er is een nieuwe versie uitgebracht! 62 | download: Download de nieuwste versie 63 | 64 | # Links 65 | doc: Documentatie 66 | forum: Forum 67 | 68 | # Parameters 69 | enable: Inschakelen 70 | enable_sub: Schakelt sturen van mail aan of uit (het formulier blijft zichtbaar). 71 | 72 | default_email: Standaardinstelling emailadres 73 | default_email_sub: Laat leeg om de standaardinstelling te gebruiken 74 | 75 | lang: Taal 76 | lang_sub: Taal standaard ingesteld op 77 | 78 | default_params: Standaardinstelling parameters 79 | default_params_sub: Standaard formulierstructuur. Gebruik de syntax zoals bescheven in de documentatie. 80 | 81 | message_len: Minimum berichtlengte 82 | message_len_sub: Minimum aantal karakters voor berichtvelden. 83 | 84 | checklists: Veldchecklist 85 | blacklist: Blacklist 86 | whitelist: Whitelist 87 | checklists_sub: "Blacklist : waarden die niet in het veld mogen voorkomen om het berichte te kunnen versturen.
Whitelist : waarden waarvan er een in het veld moet voorkomen om het bericht te kunnen versturen.
Gescheiden door komma's." 88 | 89 | general_fields: Algemene fields 90 | special_fields: Speciale fields 91 | 92 | debug: Debugmodus 93 | debug_sub: Schakel mail sturen uit, toon datastructuur van p01-contact, data verstuurd met het POST-request en de mail die verstuurd zou zijn. 94 | debug_warn: Schakel dit niet in op een website die in bedrijf is! 95 | -------------------------------------------------------------------------------- /p01-contact/PicoContact.php: -------------------------------------------------------------------------------- 1 | P01contact = new P01C\P01contact(); 36 | 37 | if (!empty($config['default_language'])) { 38 | $this->P01contact->default_lang = $config['default_language']; 39 | } 40 | } 41 | /** 42 | * Replace (% contact %) tags and contact_admin tags in pages content 43 | * 44 | * Triggered after Pico has prepared the raw file contents for parsing 45 | * 46 | * @see Pico::parseFileContent() 47 | * @see DummyPlugin::onContentParsed() 48 | * @param string &$content prepared file contents for parsing 49 | * @return void 50 | */ 51 | public function onContentPrepared(&$content) 52 | { 53 | // replace config panel (% contact_admin_config %) 54 | $content = preg_replace_callback('`\(%\s*contact_admin_config\s*%\)`', function () { 55 | return '
' . $this->P01contact->panel(). '
'; 56 | }, $content, 1); 57 | 58 | // replace debug report (% contact_admin_debug %) 59 | $content = preg_replace_callback('`\(%\s*contact_admin_debug\s*%\)`', function () { 60 | if (!$this->P01contact->config('debug')) { 61 | return ''; 62 | } 63 | return '
' . $this->P01contact->debugReport() .'
'; 64 | }, $content, 1); 65 | 66 | // replace forms (% contact ... %) 67 | $content = $this->P01contact->parse($content); 68 | } 69 | /** 70 | * Add {{ contact() }} and {{ contact_admin() }} twig functions 71 | * For outputing forms and admin panels from themes templates 72 | * 73 | * Triggered when Pico registers the twig template engine 74 | * 75 | * @see Pico::getTwig() 76 | * @param Twig_Environment &$twig Twig instance 77 | * @return void 78 | */ 79 | public function onTwigRegistered(Twig_Environment &$twig) 80 | { 81 | // {{ contact() }} output the default form 82 | // {{ contact('parameters') }} custom parameters 83 | // {{ contact('fr', 'parameters') }} custom parameters and form-specific language 84 | // {{ contact('fr', null) }} default form with form-specific language 85 | $twig->addFunction(new Twig_SimpleFunction('contact', function ($a = null, $b = null) { 86 | if ($b) { 87 | return $this->P01contact->newForm($b, $a); 88 | } 89 | return $this->P01contact->newForm($a); 90 | })); 91 | 92 | // {{ contact_admin('debug') }} output the debug report 93 | // {{ contact_admin('config') }} output the config panel 94 | $twig->addFunction(new Twig_SimpleFunction('contact_admin', function ($type) { 95 | if ($type == 'debug' && $this->P01contact->config('debug')) { 96 | return $this->P01contact->debugReport(); 97 | } 98 | if ($type == 'config') { 99 | return $this->P01contact->panel(); 100 | } 101 | })); 102 | } 103 | } 104 | -------------------------------------------------------------------------------- /p01-contact/lang/en.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # English language file for p01contact 3 | key: en 4 | name: English 5 | english_name: English 6 | authors: Nicolas Liautaud 7 | date: "2011-10-23" 8 | compatibility: 1.1 9 | strings: 10 | # basic fields 11 | text: text 12 | textarea: text area 13 | password: password 14 | file: attachment 15 | # html5 inputs types 16 | color: color 17 | date: date 18 | email: email 19 | month: month 20 | number: number 21 | range: range 22 | search: search 23 | tel: phone number 24 | time: time 25 | url: URL 26 | week: week 27 | # other fields 28 | name: name 29 | subject: subject 30 | message: message 31 | address: postal address 32 | askcopy: send me a copy of this email 33 | captcha: captcha 34 | # actions 35 | send: Send 36 | reload: Reload 37 | reset: Clear this form 38 | # received email 39 | askedcopy: A copy of this email have been requested 40 | anonymous: Anonymous 41 | nosubject: (No subject) 42 | email_title: Mail sent from 43 | # confirmations 44 | sent: Email sent. 45 | sent_debug: Email virtually sent (debug mode enabled). 46 | sent_copy: Email sent. A copy have been sent to the specified address. 47 | sent_copy_error: Email sent, but there was an issue when sending you the copy. 48 | sent_already: The message have already been sent. 49 | # errors 50 | error: "Error : no message was sent." 51 | error_notarget: This contact form has no recipient. 52 | error_honeypot: Blip. Blop. Blup. You felt in the honeypot for robots. 53 | error_pageload: Blip. Blop. Blup. You're as fast as a robot. Please wait a few seconds. 54 | error_lastpost: You submitted just recently. Please wait a bit. 55 | error_postcount: You submitted too much times this hour. 56 | # fields errors 57 | field_required: This field is required 58 | field_email: Please use a valid email address 59 | field_tel: Please use a valid phone number 60 | field_url: Please write a valid web address 61 | field_message: Please write a longer message 62 | field_captcha: Please answer correctly the following captcha 63 | field_password: Wrong password 64 | field_blacklist: This field contains prohibited terms 65 | field_whitelist: An expected value is missing 66 | # configuration panel 67 | config_title: p01contact configuration 68 | config_updated: Your changes were saved successfully. 69 | config_error_open: Unable to open config file. Check if the file exists and its permissions 70 | config_error_modify: Unable to modify config file. Check the file permissions" 71 | # infos 72 | new_release: There is a new release! 73 | download: Download the last version 74 | repo: Github 75 | wiki: Documentation / Wiki 76 | issues: Help / report a bug 77 | 78 | # settings 79 | 80 | disable: Disable all forms 81 | disable_sub: Disable mail sending, without hiding the contact forms. 82 | 83 | default_email: Default emails 84 | default_email_sub: One ore more email addresses, separated by commas, that will receive mails from every forms. 85 | 86 | default_params: Default parameters 87 | default_params_sub: Default form structure. Use syntax described in documentation. 88 | 89 | lang: Language 90 | lang_sub: Default language is set to 91 | 92 | message_len: Messages minimum length 93 | message_len_sub: Minimum number of characters for message fields. 94 | 95 | separator: Separator 96 | separator_sub: "Parameters separator in forms markup. Ex: comma, semicolon, double-pipe..." 97 | 98 | logs_count: Logs number 99 | logs_count_sub: Maximum number of entries to keep on logs. 100 | 101 | checklists: Fields checklists 102 | blacklist: Blacklist 103 | whitelist: Whitelist 104 | checklists_sub: A blacklist is a list of prohibited values in the given field type, and a whitelist is a list of the only possible values for the given field type. Each term should be separated by commas. 105 | 106 | use_honeypot: Use hidden honeypot field 107 | use_honeypot_sub: Add to every forms a hidden field that should not be filled. Humans won't see it, but most spam bots will fell in the trap. 108 | 109 | min_sec_after_load: Minimum time after page load 110 | min_sec_after_load_sub: Minimum number of seconds between a page load and a form submission. Fellow humans need at least a few seconds to read, fill and submit a form. Robots don't. 111 | 112 | min_sec_between_posts: Minimum time between two submissions 113 | min_sec_between_posts_sub: Minimum number of seconds between two form submissions by a same user. 114 | 115 | max_posts_by_hour: Maximum submissions by hour 116 | max_posts_by_hour_sub: Maximum number of submissions every hour by user. 117 | 118 | captcha_info: The native anti-spam and anti-error mechanisms should prevent all undesirable submissions. If you need a higher level of security you can create a custom captcha by adding a field with a required answer. Finally, you can insert a Google reCaptcha by using a captcha field with the below settings. 119 | recaptcha_public_key: reCaptcha public key 120 | recaptcha_public_key_sub: Google reCaptcha public key. 121 | recaptcha_secret_key: reCaptcha secret key 122 | recaptcha_secret_key_sub: Google reCaptcha secret key. 123 | 124 | debug: Debug mode 125 | debug_sub: Disable mail sending, display p01-contact data structure, data sent by POST and the email that would have been sent. 126 | debug_warn: Don't active that on production website! 127 | -------------------------------------------------------------------------------- /p01-contact/lang/cz.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Czech language file for p01-contact 3 | key: cz 4 | name: Czech 5 | english_name: Czech 6 | authors: Seva, princezna 7 | date: "2017-10-31" 8 | compatibility: 1.1 9 | strings: 10 | # basic fields 11 | text: text 12 | textarea: textové pole 13 | password: heslo 14 | file: příloha 15 | # html5 inputs types 16 | color: barva 17 | date: datum 18 | email: email 19 | month: měsíc 20 | number: číslo 21 | range: rozsah 22 | search: hledání 23 | tel: telefonní číslo 24 | time: čas 25 | url: URL 26 | week: týden 27 | # other fields 28 | name: jméno 29 | subject: předmět 30 | message: zpráva 31 | address: poštovní adresa 32 | askcopy: pošlete mi kopii tohoto mailu 33 | captcha: captcha 34 | # actions 35 | send: Odeslat 36 | reload: Znovu načíst 37 | reset: Vyresetovat 38 | # received email 39 | askedcopy: Kopie tohoto e-mailu je požadována 40 | anonymous: Anonym 41 | nosubject: (Bez předmětu) 42 | email_title: E-mail odeslán z 43 | 44 | # confirmations 45 | sent: Email byl odeslán. 46 | sent_debug: Email byl virtuálně odeslán (je zapnutý debug mode). 47 | sent_copy: Email byl odeslán. Kopie byla zaslána na zadanou adresu. 48 | sent_copy_error: Email byl odeslán, ale nepovedlo se zaslat kopii. 49 | sent_already: Zpráva již byla odeslána. 50 | # errors 51 | error: "Chyba : žádná zpráva se neposlala." 52 | error_notarget: Tento kontaktní formulář nemá žádného příjemce. 53 | error_honeypot: Blip. Blop. Blup. Byl jste rozpoznán jako robot. 54 | error_pageload: Blip. Blop. Blup. Odesíláte zprávy tak často, jako robot. Počkejte prosím pár vteřin. 55 | error_lastpost: Odeslal jste email před chvilkou. Počkejte prosím chvíli. 56 | error_postcount: Odeslal jste příliš mnoho emailů během poslední hodiny. 57 | # fields errors 58 | field_required: Musíte vyplnit toto pole 59 | field_email: Prosím vložte platný e-mail 60 | field_tel: Prosím vložte platné telefonní číslo 61 | field_url: Prosím vložte platnou webovou adresu 62 | field_message: Prosím napište delší zprávu 63 | field_captcha: Prosím vyplňte captchu 64 | field_password: Špatné heslo 65 | field_blacklist: Toto pole obsahovalo zakázané slova 66 | field_whitelist: V tomto poli něco chybí 67 | 68 | # configuration panel 69 | config_title: p01contact konfigurace 70 | config_updated: Změny byly úspěšně uloženy. 71 | config_error_open: Nepovedlo se otevřít konfigurační soubor. Ověřte, jestli existuje a jeho přístupová práva 72 | config_error_modify: Nepovedlo se změnit konfigurační soubor. Ověřte jeho přístupová práva" 73 | # infos 74 | new_release: Existuje vydána nová verze! 75 | download: Stáhnout poslední verzi 76 | repo: Github 77 | wiki: Dokumentace / Wiki 78 | issues: Nápověda / nahlásit chybu 79 | 80 | # settings 81 | 82 | disable: Vypnout všechny formuláře 83 | disable_sub: Vypne posílání emailu, ale neskryje kontaktní formuláře. 84 | 85 | default_email: Výchozí emaily 86 | default_email_sub: Jedna nebo více emailových adres, oddělených čárkou, na které přijdou zprávy ze všech formulářů. 87 | 88 | default_params: Výchozí parametry 89 | default_params_sub: Výchozí struktura formuláře. Více detailů v dokumentaci. 90 | 91 | lang: Jazyk 92 | lang_sub: Výchozí jazyk je nastaven na 93 | 94 | message_len: Minimální délka zprávy 95 | message_len_sub: Minimální počet znaků znaků pro políčka se zprávou. 96 | 97 | separator: Oddělovač 98 | separator_sub: "Oddělovač v definici formulářů. Např. čárka, středník, dvě svislítka..." 99 | 100 | logs_count: Velikost logu 101 | logs_count_sub: Maximální počet položek které mají být uchovány v logu. 102 | 103 | checklists: Checklisty 104 | blacklist: Blacklist 105 | whitelist: Whitelist 106 | checklists_sub: Blacklist je seznam zakázaných hodnot v daném typu pole, a whitelist je seznam jediných povolených hodnot pro daný typ pole. Položky by měly být odděleny čárkou. 107 | 108 | use_honeypot: Použít skryté honeypot políčko 109 | use_honeypot_sub: Přidá do každého formuláře skryté pole, které lidé neuvidí, ale většina spam botů ho vyplní a spadnou tak do pasti. 110 | 111 | min_sec_after_load: Minimální čas po načtení stránky 112 | min_sec_after_load_sub: Minimální počet sekund mezi načtením stránky a odesláním formuláře. Lidé potřebují čas, aby si formulář přečetli, roboti nikoliv. 113 | 114 | min_sec_between_posts: Minimální čas mezi dvěma odesláními 115 | min_sec_between_posts_sub: Minimální počet sekund mezi dvěma odesláními formuláře (od stejného člověka). 116 | 117 | max_posts_by_hour: Maximální počet odeslání za hodinu 118 | max_posts_by_hour_sub: Limituje počet odeslaných zpráv jedním člověkem. 119 | 120 | captcha_info: Nativní anti-spam and anti-error mechanismy by měly zabránit všem podezřelým zprávám. Pokud potřebujete ještě vyšší úrove ochrany, můžete vytvořit vlastní captchu přidáním pole s povinnou odpovědí. Můžete také vložit Google reCaptcha použitím captcha pole s následujícím nastavením. 121 | recaptcha_public_key: reCaptcha public key 122 | recaptcha_public_key_sub: Google reCaptcha public key. 123 | recaptcha_secret_key: reCaptcha secret key 124 | recaptcha_secret_key_sub: Google reCaptcha secret key. 125 | 126 | debug: Debug mód 127 | debug_sub: Vypne odesílání e-mailu a zobrazí strukturu p01-contact pluginu, data odeslaná přes POST a email co by byl poslán. 128 | debug_warn: Neaktivujte na veřejně přístupné stránce! 129 | -------------------------------------------------------------------------------- /p01-contact/lang/tr.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Turkish language file for p01-contact 3 | key: tr 4 | name: Türkçe 5 | english_name: Turkish 6 | authors: Efrahim Önder 7 | date: "2020-03-14" 8 | compatibility: 1.1 9 | strings: 10 | # basic fields 11 | text: Yazı 12 | textarea: Yazı alanı 13 | password: Şifre 14 | file: Eklenti 15 | # html5 inputs types 16 | color: Renk 17 | date: Tarih 18 | email: Eposta 19 | month: Ay 20 | number: Numara 21 | range: Alan 22 | search: Arama 23 | tel: Telefon numarası 24 | time: Yaman 25 | url: Website 26 | week: Hafta 27 | # other fields 28 | name: İsim 29 | subject: Konu 30 | message: Mesaj 31 | address: Adres 32 | captcha: Captcha 33 | askcopy: Bir kopyasını bana gönder 34 | # actions 35 | send: Gönder 36 | reload: Yeniden yükle 37 | reset: Geri dönüştür 38 | # received email 39 | askedcopy: Bir kopyası istendi 40 | anonymous: Anonim 41 | nosubject: (konu yok) 42 | email_title: Mesajı gönderen 43 | # confirmations 44 | sent: Mesaj gönderildi. 45 | sent_debug: Mesaj gizli gönderildi (Hata ayıklama modu etkin). 46 | sent_copy: Mesaj gönderildi. Bir kopyasıda verilen adrese gönderildi. 47 | sent_copy_error: Mesaj gönderildi. Fakat kopyasının gönderilmesinde bir hata oluştu. 48 | sent_already: Mesaj yaten gönderildi. 49 | # errors 50 | error: "Hata : Mesaj gönderilemedi." 51 | error_notarget: İletişim formunun alıcısı bulunmuyor. 52 | error_honeypot: Çat, pat, küt, robotlar için bal kabına düştünüz. 53 | error_pageload: Çat, pat, küt, bir robot gibi hızlısınız, lütfen birkaç saniye bekleyiniz. 54 | error_lastpost: Biraz önce gönderdiniz, lütfen biraz bekleyiniz. 55 | error_postcount: Bir saat içinde çok fazla gönderdiniz. 56 | # fields errors 57 | field_required: Bu alan zorunludur 58 | field_email: Lütfen geçerli bir eposta adresi kullanın 59 | field_tel: Lütfen geçerli bir telefon numarası kullanın 60 | field_url: Lütfen geçerli bir internet adresi kullanın 61 | field_message: Lütfen daha kapsayıcı bir mesaj yazın 62 | field_captcha: Lütfen aşağıdakileri kopyalayın 63 | field_password: Şifre yanlış 64 | field_blacklist: Bu alanda izin verilmeyen kelimeler mevcut. 65 | field_whitelist: Bu alanda gerekli olan kelimeler mevcut değil. 66 | # configuration panel 67 | config_title: p01contact Ayarlar 68 | config_updated: Değişiklikler kaydedildi. 69 | config_error_open: Ayarlar açılamıyor. Lütfen dosyanın var olup olmadığını ve doğru izinlere sahip olup olmadığını kontrol edin 70 | config_error_modify: Ayarlar değiştirilemiyor. Lütfen izinleri kontrol edin 71 | # infos 72 | new_release: Yeni bir versiyon mevcut! 73 | download: Güncel versiyonu indir 74 | repo: Github 75 | wiki: Dokumentation / Wiki 76 | issues: Yardım / Hata bildir 77 | 78 | # settings 79 | 80 | disable: Tüm formları devre dışı bırak 81 | disable_sub: İletişim formunu gizlemeden eposta göndermeyi devre dışı bırakır. 82 | 83 | default_email: Standart eposta adresi 84 | default_email_sub: Tüm formlardan eposta alan bir veya daha fazla eposta adresi (virgülle ayrılır). 85 | 86 | default_params: Standart değerler 87 | default_params_sub: Standart yapı. Lütfen belgelere göre sözdizimi kullanın. 88 | 89 | lang: Dil 90 | lang_sub: Standart dil 91 | 92 | message_len: En az karakter sayısı 93 | message_len_sub: Mesaj alanındaki en az karakter sayısı. 94 | 95 | separator: Ayırıcı 96 | separator_sub: "Form işaretlemesi için ayırıcı. Örneğin: virgül, noktalı virgül, ..." 97 | 98 | logs_count: Günlük sayısı 99 | logs_count_sub: Günlüklerdeki maksimum giriş sayısı. 100 | 101 | checklists: Alan kontrol listesi 102 | blacklist: Kara liste 103 | whitelist: Beyaz liste 104 | checklists_sub: Kara liste, ilgili alan türünde yasaklanmış değerlerin listesidir ve beyaz liste yalnızca izin verilen değerlerin listesidir. Virgülle ayrılmıştır. 105 | 106 | use_honeypot: Gizli alanı kullan (bal kabı) 107 | use_honeypot_sub: İnsanların dolduramayacağı her forma gizli bir alan ekler. Ancak, birçok robot bunu doldurur. 108 | 109 | min_sec_after_load: Sayfanın görüntülenmesinden bu yana geçen minimum süre 110 | min_sec_after_load_sub: Sayfaya erişim ile sayfayı gönderme arasında geçen minimum saniye sayısı. İnsanların formu doldurup göndermeleri biraz zaman alır, ancak robotlarda değil. 111 | 112 | min_sec_between_posts: Gönderiler arasındaki minimum süre 113 | min_sec_between_posts_sub: Aynı kullanıcı tarafından yapılan iki gönderi arasındaki minimum saniye sayısı. 114 | 115 | max_posts_by_hour: Saat başına maksimum gönderi 116 | max_posts_by_hour_sub: Saat ve kullanıcı başına maksimum gönderi sayısı 117 | 118 | captcha_info: Yerel istenmeyen posta önleme ve hata önleme mekanizmaları istenmeyen tüm gönderileri engellemelidir. Daha yüksek bir güvenliğe ihtiyacınız varsa, gerekli cevabı içeren bir alan ekleyerek özel bir captcha oluşturabilirsiniz. Son olarak, aşağıdaki ayarlara sahip bir captcha alanı kullanarak bir Google reCaptcha'sı ekleyebilirsiniz. 119 | recaptcha_public_key: reCaptcha ortak anahtar 120 | recaptcha_public_key_sub: Google reCaptcha ortak anahtar. 121 | recaptcha_secret_key: reCaptcha gizli anahtar 122 | recaptcha_secret_key_sub: Google reCaptcha gizli anahtar. 123 | 124 | debug: Hata ayıklama modu 125 | debug_sub: Eposta göndermeyi devre dışı bırak, p01-contact veri yapısını görüntüle, POST yoluyla gönderilen veriler ve gönderilecek eposta. 126 | debug_warn: Üretim web sitesinde aktif etmeyin! 127 | -------------------------------------------------------------------------------- /p01-contact/lang/it.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Italian language file for p01-contact 3 | key: it 4 | name: Italiano 5 | english_name: Italian 6 | authors: Nicola Sarti, Nicola Scattaglia 7 | date: "2017-10-23" 8 | compatibility: 1.1 9 | strings: 10 | # basic fields 11 | text: testo 12 | textarea: area di testo 13 | password: password 14 | file: file 15 | # html5 inputs types 16 | color: colore 17 | date: data 18 | email: email 19 | month: mese 20 | number: numero 21 | range: range 22 | search: cerca 23 | tel: telefono 24 | time: orario 25 | url: URL 26 | week: settimana 27 | # other fields 28 | name: nome 29 | subject: soggetto 30 | message: messaggio 31 | address: indirizzo postale 32 | askcopy: invia anche a me una copia 33 | captcha: captcha 34 | # actions 35 | send: invia 36 | reload: ricarica 37 | reset: Pulisci il form 38 | # received email 39 | askedcopy: È stata richiesta una copia di questa email 40 | anonymous: Anonimo 41 | nosubject: (Nessun oggetto) 42 | email_title: Inviata da 43 | # confirmations 44 | sent: Email inviata. 45 | sent_debug: Email virtualmente inviata (abilitata modalità debug). 46 | sent_copy: Email inviata. Una copia è stata inviata all'indirizzo specificato. 47 | sent_copy_error: Email inviata, ma si è verificato un errore nell'invio della copia. 48 | sent_already: Il messaggio è già stato inviato. 49 | # errors 50 | error: "Errore : nessun messaggio inviato." 51 | error_notarget: Questo form di contatto non ha nessun destinatario. 52 | error_honeypot: Blip. Blop. Blup. Sei caduto nell'honeypot per i robot. 53 | error_pageload: Blip. Blop. Blup. Sei veloce quanto un robot. Attendi per favore. 54 | error_lastpost: Hai appena inviato. Attendi qualche istante. 55 | error_postcount: Hai inviato troppo in questa ora. 56 | # fields errors 57 | field_required: Campo richiesto 58 | field_email: Per favore usa un indirizzo email valido 59 | field_tel: Per favore usa un numero di telefono valido 60 | field_url: Per favore usa un indirizzo web valido 61 | field_message: Per favore inserisci un maggior numero di caratteri 62 | field_captcha: Per favore rispondi correttamente al seguente captcha 63 | field_password: Password errata 64 | field_blacklist: Questo campo contiene parole non permesse 65 | field_whitelist: Un valore è mancante 66 | # configuration panel 67 | config_title: Configurazione p01contact 68 | config_updated: Le modifiche sono state applicate. 69 | config_error_open: "Impossibile aprire il file di configurazione. Controlla che esista e i suoi permessi :" 70 | config_error_modify: "Impossibile modificare il file di configurazione. Controlla i permessi di accesso :" 71 | # infos 72 | new_release: È disponibile una nuova release! 73 | download: Scarica l'ultima versione 74 | repo: Github 75 | wiki: Documentazione / Wiki 76 | issues: Aiuto / Segnala un bug 77 | 78 | # settings 79 | 80 | disable: Disabilita tutti i form 81 | disable_sub: Disabilita invio mail, senza nascondere i form di contatto. 82 | 83 | default_email: Email di default 84 | default_email_sub: Uno o più indirizzi, separati da virgola, che riceveranno tutte le mail dei form. 85 | 86 | default_params: Parametri di default 87 | default_params_sub: Struttura form di default. Usa la sintassi descritta nella documentazione. 88 | 89 | lang: Lingua 90 | lang_sub: La lingua di default è impostata in 91 | 92 | message_len: Lunghezza minima del messaggio 93 | message_len_sub: Numero minimo di caratteri per il campo messaggio. 94 | 95 | separator: Separatore 96 | separator_sub: "Separatore parametri nel markup dei form. Es: virgola, punto e virgola, doppia barra verticale..." 97 | 98 | logs_count: Numero di log 99 | logs_count_sub: Numero massimo di voci da tenere nei log. 100 | 101 | checklists: Checklist dei campi 102 | blacklist: Blacklist 103 | whitelist: Whitelist 104 | checklists_sub: "Una blacklist è una lista di valori che non devono essere presenti nel campo per inviare l'email, una whitelist è una lista di possibili valori richiesti nel campo per inviare l'email. Separati da virgola" 105 | 106 | use_honeypot: Usa campo honeypot nasconsto 107 | use_honeypot_sub: Aggiunge ad ogni form, un campo nascosto da non compilare. Le persone non lo vedranno, ma i bot spam cadranno nella trappola. 108 | 109 | min_sec_after_load: Tempo minimo dopo il caricamento pagina 110 | min_sec_after_load_sub: Numero minimo di secondi tra il caricamento pagina e l'invio del form. Le persone hanno bisogno di almeno qualche secondo per leggere, compilare e inviare un form. I robot no. 111 | 112 | min_sec_between_posts: Tempo minimo tra due invii 113 | min_sec_between_posts_sub: Tempo minimo di secondi fra l'invio di due form da parte dello stesso utente. 114 | 115 | max_posts_by_hour: Invii massimi in un'ora 116 | max_posts_by_hour_sub: Numero massimo di invii per ogni ora da un utente. 117 | 118 | captcha_info: I meccasismi anti-spam e anti-errore dovrebbero prevenire tutti gli invii indesiderati. Se hai bisogno di un livello più alto di sicurezza puoi creare un captcha personalizzato aggiungendo un campo con una risposta obbligatoria. Infine, puoi inserire un Google reCaptcha usando un campo captcha con le seguenti impostazioni. 119 | recaptcha_public_key: reCaptcha public key 120 | recaptcha_public_key_sub: Google reCaptcha public key. 121 | recaptcha_secret_key: reCaptcha secret key 122 | recaptcha_secret_key_sub: Google reCaptcha secret key. 123 | 124 | debug: Modalità debug 125 | debug_sub: Disabilita l'invio di email, mostra la data structure di p01-contact , i dati inviati da POST e l'email che sarebbe stata inviata. 126 | debug_warn: Non attivarlo sul sito di produzione! -------------------------------------------------------------------------------- /p01-contact/lang/sk.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Slovak language file for p01contact 3 | key: sk 4 | name: Slovenčina 5 | english_name: Slovak 6 | authors: Pavol Bokor 7 | date: "2020-6-22" 8 | compatibility: 1.1 9 | strings: 10 | # basic fields 11 | text: text 12 | textarea: textové pole 13 | password: heslo 14 | file: príloha 15 | # html5 inputs types 16 | color: farba 17 | date: dátum 18 | email: e-mail 19 | month: mesiac 20 | number: číslo 21 | range: rozsah 22 | search: hľadať 23 | tel: telefónne číslo 24 | time: čas 25 | url: URL 26 | week: týždeň 27 | # other fields 28 | name: meno 29 | subject: predmet 30 | message: správa 31 | address: poštová adresa 32 | askcopy: pošlite mi kópiu tohto e-mailu 33 | captcha: captcha 34 | # actions 35 | send: Odoslať 36 | reload: Obnoviť 37 | reset: Vyčistiť formulár 38 | # received email 39 | askedcopy: Bola vyžiadaná kópia tohto e-mailu 40 | anonymous: Anonym 41 | nosubject: (Bez predmetu) 42 | email_title: E-mail odoslaný z 43 | # confirmations 44 | sent: E-mail bol odoslaný. 45 | sent_debug: E-mail bol virtuálne odoslaný (je zapnutý debug mode). 46 | sent_copy: E-mail bol odoslaný. Kópia bola odoslaná na zadanú adresu. 47 | sent_copy_error: E-mail bol odoslaný, ale nepodarilo sa odoslať kópiu na požadovanú adresu. 48 | sent_already: Správa už bola odoslaná. 49 | # errors 50 | error: "Chyba : žiadna správa sa neodoslala." 51 | error_notarget: Tento kontaktný formulár nemá žiadneho príjemcu. 52 | error_honeypot: Blip. Blop. Blup. Boli ste identifikovaný ako robot. 53 | error_pageload: Blip. Blop. Blup. Ste rýchlejší ako robot. Počkajte pár sekúnd, prosím. 54 | error_lastpost: Odoslali ste e-mail pred chvíľou. Počkajte pár sekúnd, prosím. 55 | error_postcount: Za poslednú hodinu ste odoslali viac e-mailov, ako je povolené. 56 | # fields errors 57 | field_required: Toto pole je povinné 58 | field_email: Vložte platný e-mail, prosím 59 | field_tel: Vložte platné telefónne číslo, prosím 60 | field_url: Vložte platnú webovú adresu, prosím 61 | field_message: Napíšte dlhšiu správu, prosím 62 | field_captcha: Odpovedzte správne na nasledujúci kód captcha 63 | field_password: Nesprávne heslo 64 | field_blacklist: Toto pole obsahuje zakázané výrazy 65 | field_whitelist: Očakávaná hodnota chýba 66 | # configuration panel 67 | config_title: p01contact - Nastavenia 68 | config_updated: Vaše zmeny boli úspešne uložené. 69 | config_error_open: Nepodarilo sa otvoriť konfiguračný súbor. Skontrolujte jeho existenciu a oprávnenia 70 | config_error_modify: Nemožno upraviť konfiguračný súbor. Skontrolujte oprávnenia súboru" 71 | # infos 72 | new_release: K dispozícii je nová verzia! 73 | download: Stiahnite si najnovšiu verziu 74 | repo: Github 75 | wiki: Dokumentácia / Wiki 76 | issues: Pomoc / nahlásiť chybu 77 | 78 | # settings 79 | 80 | disable: Zakázať všetky formuláre 81 | disable_sub: Zakáže odosielanie e-mailov bez skrytia kontaktných formulárov. 82 | 83 | default_email: Predvolené e-maily 84 | default_email_sub: Jedna alebo viac e-mailových adries oddelených čiarkami, ktoré budú prijímať e-maily z formulárov. 85 | 86 | default_params: Predvolené parametre 87 | default_params_sub: Predvolená štruktúra formulára. Použite syntax popísanú v dokumentácii. 88 | 89 | lang: Jazyk 90 | lang_sub: Predvolený jazyk je nastavený na 91 | 92 | message_len: Minimálna dĺžka správy 93 | message_len_sub: Minimálny počet znakov pre pole správy. 94 | 95 | separator: Oddeľovač 96 | separator_sub: "Oddeľovač parametrov v značkách formulárov. Napr .: čiarka, bodkočiarka, double-pipe ..." 97 | 98 | logs_count: Počet záznamov denníka (Logs) 99 | logs_count_sub: Maximálny počet záznamov v denníku. 100 | 101 | checklists: Kontrolné zoznamy polí 102 | blacklist: Blacklist 103 | whitelist: Whitelist 104 | checklists_sub: Blacklist je zoznam zakázaných hodnôt v danom type poľa a Whitelist je zoznam iba možných hodnôt pre daný typ poľa. Každý člen by mal byť oddelený čiarkami. 105 | 106 | Security: Bezpečnosť 107 | 108 | use_honeypot: Použiť skryté pole "honeypot" 109 | use_honeypot_sub: Ku každému formuláru pridá skryté pole, ktoré sa nevypĺňa. Ľudia ho neuvidia, ale väčšina spamových robotov spadne do pasce. 110 | 111 | min_sec_after_load: Minimálny čas po načítaní stránky 112 | min_sec_after_load_sub: Minimálny počet sekúnd medzi načítaním stránky a odoslaním formulára. Bežný človek potrebuje na prečítanie, vyplnenie a odoslanie formulára najmenej niekoľko sekúnd. Roboti nie. 113 | 114 | min_sec_between_posts: Minimálny čas medzi dvoma odoslaniami správ 115 | min_sec_between_posts_sub: Minimálny počet sekúnd medzi dvoma odoslaniami formulára tým istým používateľom. 116 | 117 | max_posts_by_hour: Maximálny počet odoslaných e-mailov za hodinu 118 | max_posts_by_hour_sub: Maximálny počet e-mailov odoslaných jedným používateľom za hodinu. 119 | 120 | captcha_info: Natívne mechanizmy proti nevyžiadanej pošte a proti chybám by mali zabrániť všetkým nežiadúcim odoslaniam. Ak potrebujete vyššiu úroveň zabezpečenia, môžete vytvoriť vlastnú captcha pridaním poľa s požadovanou odpoveďou. Nakoniec môžete vložiť Google reCaptcha pomocou poľa captcha s nižšie uvedenými nastaveniami. 121 | recaptcha_public_key: reCaptcha public key 122 | recaptcha_public_key_sub: Google reCaptcha public key. 123 | recaptcha_secret_key: reCaptcha secret key 124 | recaptcha_secret_key_sub: Google reCaptcha secret key. 125 | 126 | debug: Debug mode (Režim ladenia) 127 | debug_sub: Zakáže odosielanie e-mailov, zobrazí dátovú štruktúru p01-contact, dáta odoslané príkazom POST a e-mail, ktorý by sa odoslal. 128 | debug_warn: Neaktivovať na produkčnej webovej stránke! 129 | -------------------------------------------------------------------------------- /p01-contact/lang/de.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # German language file for p01-contact 3 | key: de 4 | name: Deutsch 5 | english_name: German 6 | authors: Martin Köhler, sonst-was 7 | date: "2011-10-27" 8 | compatibility: 1.1 9 | strings: 10 | # basic fields 11 | text: Text 12 | textarea: Textbereich 13 | password: Passwort 14 | file: Anhang 15 | # html5 inputs types 16 | color: Farbe 17 | date: Datum 18 | email: E-Mail 19 | month: Monat 20 | number: Nummer 21 | range: Bereich 22 | search: Suche 23 | tel: Telefonnummer 24 | time: Zeit 25 | url: Website 26 | week: Woche 27 | # other fields 28 | name: Name 29 | subject: Betreff 30 | message: Nachricht 31 | address: Anschrift 32 | captcha: Captcha 33 | askcopy: Eine Kopie an mich senden 34 | # actions 35 | send: Senden 36 | reload: Neu laden 37 | reset: Zurücksetzen 38 | # received email 39 | askedcopy: Eine Kopie wurde angefordert 40 | anonymous: Anonym 41 | nosubject: (kein Betreff) 42 | email_title: Nachricht gesendet von 43 | # confirmations 44 | sent: Nachricht verschickt. 45 | sent_debug: Nachricht virtuell verschickt (Debugmodus ist aktiviert). 46 | sent_copy: Nachricht verschickt. Eine Kopie wurde an die angegebene Adresse geschickt. 47 | sent_copy_error: Nachricht verschickt, beim Senden der Kopie gab es jedoch einen Fehler. 48 | sent_already: Die Nachricht wurde bereits verschickt. 49 | # errors 50 | error: "Fehler : Nachricht wurde nicht verschickt." 51 | error_notarget: Das Kontaktformular hat keinen Empfänger. 52 | error_honeypot: Blubber di blubb, Sie sind in den Honigtopf für Roboter gefallen. 53 | error_pageload: Blubber di blubb, Sie sind schnell wie ein Robter, bitte warten Sie einige Sekunden. 54 | error_lastpost: Sie haben erst vor kurzem abgeschickt, bitte einen Moment warten. 55 | error_postcount: Sie haben innerhalb einer Stunde zu häufig abgeschickt. 56 | # fields errors 57 | field_required: Dieses Feld ist obligatorisch 58 | field_email: Bitte korrekte E-Mail-Adresse verwenden 59 | field_tel: Bitte korrekte Telefonnummer verwenden 60 | field_url: Bitte korrekte Internetadresse angeben 61 | field_message: Bitte umfangreichere Nachricht schreiben 62 | field_captcha: Folgendes bitte abschreiben 63 | field_password: Passwort falsch 64 | field_blacklist: Dieses Feld enthält nicht erlaubte Worte. 65 | field_whitelist: Dieses Feld enthält erforderliche Worte nicht. 66 | # configuration panel 67 | config_title: p01contact Konfiguration 68 | config_updated: Änderungen wurden gespeichert. 69 | config_error_open: Kann Konfiguration nicht öffnen. Bitte überprüfen ob Datei vorhanden ist und korrekte Berechtigungen hat 70 | config_error_modify: Kann Konfiguration nicht ändern. Bitte Berechtigungen überprüfen 71 | # infos 72 | new_release: Es gibt eine neue Version! 73 | download: Aktuelle Version herunterladen 74 | repo: Github 75 | wiki: Dokumentation / Wiki 76 | issues: Hilfe / Fehler melden 77 | 78 | # settings 79 | 80 | disable: Alle Formulare deaktivieren 81 | disable_sub: Deaktiviert E-Mail-Versand ohne das Kontaktformular zu verstecken. 82 | 83 | default_email: Standard-E-Mail-Adresse 84 | default_email_sub: Eine oder mehrere E-Mail-Adressen (durch Komma separiert), welche E-Mails aller Formulare erhalten. 85 | 86 | default_params: Standardwerte 87 | default_params_sub: Standardstruktur. Bitte Syntax laut Dokumentation verwenden. 88 | 89 | lang: Sprache 90 | lang_sub: Standardsprache ist 91 | 92 | message_len: Mindestzeichenzahl 93 | message_len_sub: Mindestanzahl an Zeichen im Nachrichtenfeld. 94 | 95 | separator: Trennzeichen 96 | separator_sub: "Trennzeichen für Formular-MarkUp. Zum Beispiel Komma, Semikolon, ..." 97 | 98 | logs_count: Anzahl Logs 99 | logs_count_sub: Maximale Anzahl an Einträgen in Logs. 100 | 101 | checklists: Feldercheckliste 102 | blacklist: Blacklist 103 | whitelist: Whitelist 104 | checklists_sub: Eine Blacklist ist eine Liste verbotener Werte im jeweiligen Feldtyp und eine Whitelist ist eine Liste mit Werten ausschließlich erlaubt sind. Durch Kommata abgetrennt. 105 | 106 | use_honeypot: Verstecktes Feld nutzen (Honigtopf) 107 | use_honeypot_sub: Fügt ein verstecktes Feld zu jedem Formular hinzu, welches von Menschen nicht ausgefüllt werden kann. Viele Roboter füllen es jedoch aus. 108 | 109 | min_sec_after_load: Minimale Zeit seit Seitenaufruf 110 | min_sec_after_load_sub: Minimale Anzahl Sekunden die zwischen Seitenaufruf und Abschicken vergangen sein muss. Menschen brauchen einige Zeit um das Formular auszufüllen und abzuschicken, Roboter dagegen nicht. 111 | 112 | min_sec_between_posts: Minimale Zeit zwischen Einsendungen 113 | min_sec_between_posts_sub: Minimale Anzahl Sekunden zwischen zwei Einsendungen des gleichen Nutzers. 114 | 115 | max_posts_by_hour: Maximale Einsendungen pro Stunde 116 | max_posts_by_hour_sub: Maximale Einsendungen pro Stunde und Nutzer 117 | 118 | captcha_info: Die nativen Anti-Spam Mechanismen sollten alle unerwünschte Einsendungen blockieren. Wenn mehr Sicherheit benötigt wird, kann ein benutzerdefiniertes Feld genutzt werden mit einer erforderlichen Antwort. Alternativ kann ein Google reCaptcha mit captcha und unten aufgeführten Einstellungen eingefügt werden. 119 | recaptcha_public_key: reCaptcha öffentlicher Schlüssel 120 | recaptcha_public_key_sub: Google reCaptcha öffentlicher Schlüssel. 121 | recaptcha_secret_key: reCaptcha geheimer Schlüssel 122 | recaptcha_secret_key_sub: Google reCaptcha geheimer Schlüssel. 123 | 124 | debug: Debugmodus 125 | debug_sub: E-Mail versand deaktiveren, Datenstruktur von p01-contact anzeigen, Daten per POST verschickt und die E-Mail, die verschickt worden waere. 126 | debug_warn: Nicht im Produktivbetrieb verwenden! 127 | -------------------------------------------------------------------------------- /p01-contact/lang/fr.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # French language file for p01contact" 3 | key: fr 4 | name: Français 5 | english_name: French 6 | authors: Nicolas Liautaud 7 | date: "2011-10-23" 8 | compatibility: 1.1 9 | strings: 10 | # basic fields 11 | text: texte 12 | textarea: champ de texte 13 | password: mot de passe 14 | file: pièce jointe 15 | # html5 inputs types 16 | color: couleur 17 | date: date 18 | email: adresse email 19 | month: mois 20 | number: nombre 21 | range: valeur 22 | search: recherche 23 | tel: numéro de téléphone 24 | time: heure 25 | url: URL 26 | week: semaine 27 | # other fields 28 | name: nom 29 | subject: objet 30 | message: message 31 | address: adresse postale 32 | askcopy: envoyez-moi une copie de cet email 33 | captcha: captcha 34 | # actions 35 | send: envoyer 36 | reload: recharger 37 | reset: remettre à zéro 38 | # received email 39 | askedcopy: Une copie de cet email a été demandée 40 | anonymous: Anonyme 41 | nosubject: (Pas d'objet) 42 | email_title: Email envoyé depuis 43 | # confirmations 44 | sent: Email envoyé. 45 | sent_debug: Email virtuellement envoyé (mode debug actif). 46 | sent_copy: Email envoyé. Une copie a été envoyée à l'addresse spécifiée. 47 | sent_copy_error: Email envoyé, mais il y a eu un problème lors de l'envoie de votre copie. 48 | sent_already: Le formulaire a déjà été envoyé. 49 | # errors 50 | error: "Erreur : aucun message n'a été envoyé." 51 | error_notarget: Ce formulaire de contact n'a pas de destinataire. 52 | error_honeypot: Blip. Blop. Blup. Vous êtes tombé dans le piège à robot. 53 | error_pageload: Blip. Blop. Blup. Vous êtes aussi rapide qu'un robot. Veuillez attendre quelques secondes. 54 | error_lastpost: Vous venez d'utiliser ce formulaire. Merci d'attendre un peu. 55 | error_postcount: Vous avez trop utilisé ce formulaire cette heure ci. 56 | # fields errors 57 | field_required: Ce champ est obligatoire 58 | field_email: Veuillez entrer une adresse email valide 59 | field_tel: Veuillez entrer un numéro de téléphone valide 60 | field_url: Veuillez entrer une adresse internet valide 61 | field_message: Veuillez écrire un message plus long 62 | field_captcha: Veuillez recopier le texte ci-dessous 63 | field_password: Mot de passe incorrect 64 | field_blacklist: Ce champ contiens des termes prohibés 65 | field_whitelist: Une valeur attendue est manquante 66 | # configuration panel 67 | config_title: Configuration de p01contact 68 | config_updated: Vos modifications ont été enregistrées avec succès. 69 | config_error_open: Impossible d'ouvrir le fichier de configuration. Vérifiez s'il existe et ses permissions 70 | config_error_modify: Impossible de modifier le fichier de configuration. Vérifiez ses permissions 71 | # infos 72 | new_release: Il y a une nouvelle version! 73 | download: Télécharger la dernière version 74 | repo: Github 75 | wiki: Documentation / Wiki 76 | issues: Aide / rapporter un bug 77 | 78 | # settings 79 | 80 | disable: Désactiver tous les formulaires 81 | disable_sub: Désactive l'envoi de mail, sans cacher les formulaires. 82 | 83 | default_email: Emails par défaut 84 | default_email_sub: Une addresse email ou plus, séparées par des virgules, qui reçevront les mails de tous les formulaires. 85 | 86 | default_params: Paramètres par défaut 87 | default_params_sub: Structure des formulaires pour les balises par défaut. Utilisez la syntaxe décrite dans la documentation. 88 | 89 | lang: Langue 90 | lang_sub: La langue par défaut est définie à 91 | message_len: Longueur minimum des messages 92 | message_len_sub: Nombre minimum de caractères authorisé pour les champs message 93 | 94 | checklists: Listes de vérification des champs 95 | blacklist: Liste noire 96 | whitelist: Liste blanche 97 | checklists_sub: Une liste noire est une liste de valeurs qui ne doivent pas être présentes dans un champ pour envoyer le mail, une liste blanche est une liste de valeurs possibles devant être présentes dans un champ pour envoyer le mail. Chaque terme est séparé par des virgules. 98 | 99 | use_honeypot: Utiliser le champ honeypot 100 | use_honeypot_sub: Ajoute à chaque formulaire un champ caché qui ne doit pas être rempli. Les humains ne le voient pas, mais les robots de spam tombent dans le piège. 101 | 102 | min_sec_after_load: Temps minimium au chargement de la page 103 | min_sec_after_load_sub: Nombre minimum de secondes entre le chargement de la page et l'envoi d'un formulaire. Les humains ont besoin d'au moins quelques secondes pour lire, remplir et valider un formulaire. Pas les robots. 104 | min_sec_between_posts: Temps minimum entre deux envois 105 | min_sec_between_posts_sub: Nombre minimum de secondes entre deux envois de formulaires par un même visiteur. 106 | 107 | max_posts_by_hour: Nombre d'envoi maximum par heure 108 | max_posts_by_hour_sub: Nombre maximum de soumission d'un formulaire par heure et par visiteur. 109 | 110 | captcha_info: Les mécanismes anti-spam et anti-erreurs devraient prévenir l'intégralité des envois indésirables. En cas de besoin d'un niveau de sécurité supérieur, vous pouvez créer un champ personnalisé avec une valeur requise. Finalement, vous pouvez insérer un reCaptcha Google en utilisant un champ captcha avec les paramètres suivants. 111 | recaptcha_public_key: Clé publique reCaptcha 112 | recaptcha_public_key_sub: Clé publique Google reCaptcha. 113 | recaptcha_secret_key: Clé secrète reCaptcha 114 | recaptcha_secret_key_sub: Clé secrète Google reCaptcha. 115 | debug: Mode debug 116 | debug_sub: Désactive l'envoi de mails, affiche les structures de données de P01contact, les données envoyées par POST et les mails qui auraient été envoyés. 117 | debug_warn: A ne pas activer sur un site en production ! 118 | -------------------------------------------------------------------------------- /p01-contact/lang/pt.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Portuguese language file for p01contact 3 | key: pt 4 | name: Português 5 | english_name: Portuguese 6 | authors: Julianna Brandão (JuhBass), Rafael Capaci 7 | date: "2017-11-01" 8 | compatibility: 1.1 9 | strings: 10 | # basic fields 11 | text: texto 12 | textarea: campo de texto 13 | password: senha 14 | file: arquivo 15 | # html5 inputs types 16 | color: cor 17 | date: data 18 | email: e-mail 19 | month: mês 20 | number: número 21 | range: valor 22 | search: busca 23 | tel: número de telefone 24 | time: hora 25 | url: URL 26 | week: semana 27 | # other fields 28 | name: nome 29 | subject: assunto 30 | message: mensagem 31 | address: endereço postal 32 | askcopy: me envie uma cópia deste e-mail 33 | captcha: captcha 34 | # actions 35 | send: Enviar 36 | reload: Recarregar 37 | reset: Apagar este campo 38 | # received email 39 | askedcopy: Uma cópia deste e-mail foi requisitada 40 | anonymous: Anônimo 41 | nosubject: (Sem assunto) 42 | email_title: E-mail enviado de 43 | # confirmations 44 | sent: E-mail enviado. 45 | sent_debug: E-mail virtualmente enviado (modo de depuração habilitado). 46 | sent_copy: E-mail enviado. Uma cópia foi enviada para o endereço especificado. 47 | sent_copy_error: E-mail enviado, mas houve uma problema ao te enviar uma cópia. 48 | sent_already: A mensagem já foi enviada. 49 | # errors 50 | error: "Erro : a mensagem não foi enviada." 51 | error_notarget: Este campo de contato encontra-se vazio. 52 | error_honeypot: Blip. Blop. Blup. Você caiu no "pote de mel" para robôs. 53 | error_pageload: Blip. Blop. Blup. Você é tão rápido quanto um robô. Por favor, espere alguns segundos. 54 | error_lastpost: Você enviou recentemente. Por favor, aguarde um pouco. 55 | error_postcount: Você enviou muitas vezes na última hora. 56 | # fields errors 57 | field_required: Este campo é necessário 58 | field_email: Por favor, utilize um endereço de e-mail válido 59 | field_tel: Por favor, utilize um número de telefone válido 60 | field_url: Por favor, escreva um endereço web válido 61 | field_message: Por favor, escreva uma mensagem mais longa 62 | field_captcha: Por favor, responda corretamente o captha a seguir 63 | field_password: Senha errada 64 | field_blacklist: Este campo contém termos proibidos 65 | field_whitelist: Um valor esperado está faltando 66 | # configuration panel 67 | config_title: configuração do p01contact 68 | config_updated: Suas alterações foram salvas com sucesso. 69 | config_error_open: Não foi possível abrir o arquivo de configuração. Verifique se o arquivo existe e se possue as devidas permissões 70 | config_error_modify: Não foi possível modificar o arquivo de configurações. Verifique as permissões do arquivo" 71 | # infos 72 | new_release: Há uma nova versão! 73 | download: Baixe a última versão 74 | repo: Github 75 | wiki: Documentação / Wiki 76 | issues: Ajuda / reporte um erro 77 | 78 | # settings 79 | 80 | disable: Desabilitar todos os campos 81 | disable_sub: Desabilitar envio de e-mails, sem esconder os campos de contato. 82 | 83 | default_email: E-mails padrão 84 | default_email_sub: Um ou mais endereços de e-mail, separados por vírgula, que receberão e-mails de todos os formulários. 85 | 86 | default_params: Parâmetros padrões 87 | default_params_sub: Estrutura de campos padrão. Use a sintaxe descrita na documentação. 88 | 89 | lang: Idioma 90 | lang_sub: Idioma padrão está configurado para 91 | 92 | message_len: Tamanho mínimo das mensagens 93 | message_len_sub: Número mínimo de caracteres para os cmapos de mensagem. 94 | 95 | separator: Separador 96 | separator_sub: "Separador de parâmetros nos campos. Ex: vírgula, ponto e vírgula, barra dupla..." 97 | 98 | logs_count: Número do log 99 | logs_count_sub: Máximo número de entradas a serem mantidas nos logs. 100 | 101 | checklists: Lista de verificação de campos 102 | blacklist: Lista negra 103 | whitelist: Lista branca 104 | checklists_sub: Uma lista negra é uma lista de valores proibidos no tipo de campo em questão, e uma lista branca é uma lista dos únicos valores possíveis para certo tipo de campo. Cada termo deve ser separado por vírgulas. 105 | 106 | use_honeypot: Use campo de "pote de mel" escondido 107 | use_honeypot_sub: Adicionar a todos os campos um campo escondido que não deve ser preenchido. Humanos não o enxergarão, mas a maioria dos robôs de spam cairão na armadilha. 108 | 109 | min_sec_after_load: Tempo mínimo após o carregamento da página 110 | min_sec_after_load_sub: Mínimo número de segundos entre uma carregamento de uma página e uma submissão de um formulário. Humanos necessitam de pelo menos alguns segundos para ler, preencher e enviar um formulário. Robôs não. 111 | 112 | min_sec_between_posts: Tempo mínimo entre duas submissões 113 | min_sec_between_posts_sub: Mínimo número de segundos entre a submissão de dois formulários pelo mesmo usuário. 114 | 115 | max_posts_by_hour: Número máximo de submissões por hora 116 | max_posts_by_hour_sub: Número máximo de submissões por hora por usuário. 117 | 118 | captcha_info: Os mecanismos nativos de anti-spam e anti-erro devem prevenir todas as submissões não desejadas. Se precisar de um nível maior de segurança, você pode criar um captcha customizado ao adicionar um campo com a resposta requerida. Finalmente, você pode inserir um Google reCaptcha ao usar um campo captcha com as configurações a baixo. 119 | recaptcha_public_key: chave pública do reCaptcha 120 | recaptcha_public_key_sub: chave pública do Google reCaptcha. 121 | recaptcha_secret_key: chave secreta do reCaptcha 122 | recaptcha_secret_key_sub: chave secreta do Google reCaptcha. 123 | 124 | debug: Modo de depuração 125 | debug_sub: Desabilitar o envio de e-mails, mostrar a estrutura de dados do p01-contact, os dados enviador por POST e o e-mail que deveria ser enviado. 126 | debug_warn: não ative num site em produção! 127 | -------------------------------------------------------------------------------- /p01-contact/src/templates/gs_settings.html: -------------------------------------------------------------------------------- 1 | 69 |
70 |
71 | 72 |

{{lang.config_title}}

73 |

74 | {{lang.repo}} - 75 | {{lang.wiki}} - 76 | {{lang.issues}} 77 | v{{version}} 78 |

79 | 83 | 87 | 91 | 95 | 99 | 103 |
104 |

{{lang.checklists}}

105 |

{{lang.checklists_sub}}

106 |
107 |
108 | 109 | 110 | 111 | 112 | 113 |
114 | 115 |
116 |
117 |
118 | 119 | 120 | 121 | 122 | 123 |
124 | 125 |
126 |
127 |
128 | 129 | 130 | 131 | 132 | 133 |
134 | 135 |
136 |
137 |
138 |

{{lang.Security}}

139 | 143 | 147 | 151 | 155 |

{{lang.captcha_info}}

156 | 160 | 164 |
165 |
166 |

{{lang.debug}}

167 | 171 | 175 |
176 | 177 |
178 |
179 | -------------------------------------------------------------------------------- /p01-contact/src/P01contact_Field.php: -------------------------------------------------------------------------------- 1 | form = $form; 34 | $this->id = $id; 35 | $this->type = $type; 36 | } 37 | 38 | /** 39 | * Set the field value or selected value 40 | * 41 | * @param mixed $new_value the value, or an array of selected values ids 42 | */ 43 | public function setValue($new_value) 44 | { 45 | // simple value 46 | if (!is_array($this->value)) { 47 | $this->value = htmlentities($new_value, ENT_COMPAT, 'UTF-8', false); 48 | return; 49 | } 50 | // multiples-values (checkbox, radio, select) 51 | if (!is_array($new_value)) { 52 | $new_value = array($new_value); 53 | } 54 | foreach ($new_value as $i) { 55 | $this->selected_values[intval($i)] = true; 56 | } 57 | } 58 | 59 | /** 60 | * Reset the selected values by finding ones who starts or end with ":" 61 | */ 62 | public function resetSelectedValues() 63 | { 64 | $this->selected_values = array(); 65 | foreach ($this->value as $i => $val) { 66 | $value = preg_replace('`(^\s*:|:\s*$)`', '', $val, -1, $count); 67 | if ($count) { 68 | $this->value[$i] = $value; 69 | $this->selected_values[$i] = true; 70 | } 71 | } 72 | } 73 | 74 | /** 75 | * Check field value. 76 | * @return boolean 77 | */ 78 | public function validate() 79 | { 80 | // empty and required 81 | if (empty($this->value) && $this->required) { 82 | $this->error = 'field_required'; 83 | return false; 84 | } 85 | // value blacklisted or not in whitelist 86 | if ($reason = $this->isBlacklisted()) { 87 | $this->error = 'field_' . $reason; 88 | return false; 89 | } 90 | // not empty but not valid 91 | if (!empty($this->value) && !$this->isValid()) { 92 | $this->error = 'field_' . $this->type; 93 | return false; 94 | } 95 | return true; 96 | } 97 | 98 | /** 99 | * Check if field value is valid 100 | * Mean different things depending on field type 101 | * @return boolean 102 | */ 103 | public function isValid() 104 | { 105 | switch ($this->type) { 106 | case 'email': 107 | return filter_var($this->value, FILTER_VALIDATE_EMAIL); 108 | case 'tel': 109 | $pattern = '`^\+?[-0-9(). ]{6,}$$`i'; 110 | return preg_match($pattern, $this->value); 111 | case 'url': 112 | return filter_var($this->value, FILTER_VALIDATE_URL); 113 | case 'message': 114 | return strlen($this->value) > $this->form->config('message_len'); 115 | case 'captcha': 116 | return $this->reCaptchaValidity($_POST['g-recaptcha-response']); 117 | case 'password': 118 | return $this->value == $this->required; 119 | default: 120 | return true; 121 | } 122 | } 123 | 124 | /** 125 | * Check if reCaptcha is valid 126 | * @return boolean 127 | */ 128 | public function reCaptchaValidity($answer) 129 | { 130 | if (!$answer) { 131 | return false; 132 | } 133 | $params = [ 134 | 'secret' => $this->form->config('recaptcha_secret_key'), 135 | 'response' => $answer 136 | ]; 137 | $url = "https://www.google.com/recaptcha/api/siteverify?" . http_build_query($params); 138 | if (function_exists('curl_version')) { 139 | $curl = curl_init($url); 140 | curl_setopt($curl, CURLOPT_HEADER, false); 141 | curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); 142 | curl_setopt($curl, CURLOPT_TIMEOUT, 1); 143 | curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); 144 | $response = curl_exec($curl); 145 | } else { 146 | $response = file_get_contents($url); 147 | } 148 | 149 | if (empty($response) || is_null($response)) { 150 | return false; 151 | } 152 | 153 | return json_decode($response)->success; 154 | } 155 | 156 | /** 157 | * Check if field value is blacklisted 158 | * 159 | * Search for every comma-separated entry of every checklist 160 | * in value, and define if it should or should not be there. 161 | * 162 | * @return boolean 163 | */ 164 | public function isBlacklisted() 165 | { 166 | $list = $this->form->config('checklist'); 167 | if (!$list) { 168 | return; 169 | } 170 | foreach ($list as $cl) { 171 | if ($cl->name != $this->type) { 172 | continue; 173 | } 174 | $content = array_filter(explode(',', $cl->content)); 175 | foreach ($content as $avoid) { 176 | $found = preg_match("`$avoid`", $this->value); 177 | $foundBlacklisted = $found && $cl->type == 'blacklist'; 178 | $notFoundWhitelisted = !$found && $cl->type == 'whitelist'; 179 | if ($foundBlacklisted || $notFoundWhitelisted) { 180 | return $cl->type; 181 | } 182 | } 183 | } 184 | return false; 185 | } 186 | 187 | /* 188 | * Return the html display of the field 189 | * 190 | * Manage field title, error message, and type-based display 191 | * @return string the
192 | */ 193 | public function html() 194 | { 195 | $id = 'p01-contact' . $this->form->getId() . '_field' . $this->id; 196 | $name = 'p01-contact_fields[' . $this->id . ']'; 197 | $type = $this->getGeneralType(); 198 | $orig = $type != $this->type ? $this->type : ''; 199 | $value = $this->value; 200 | $disabled = $this->locked ? ' disabled="disabled"' : ''; 201 | $required = $this->required ? ' required ' : ''; 202 | $placeholder = $this->placeholder ? ' placeholder="'.$this->placeholder.'"' : ''; 203 | 204 | $is_single_option = is_array($this->value) && count($this->value) == 1; 205 | if ($is_single_option) { 206 | $html = "
"; 207 | } else { 208 | $html = "
"; 209 | $html .= $this->htmlLabel($id); 210 | } 211 | 212 | switch ($type) { 213 | case 'textarea': 214 | $html .= '