diff --git a/fp-plugins/cookiebanner/lang/lang.cs-cz.php b/fp-plugins/cookiebanner/lang/lang.cs-cz.php new file mode 100644 index 0000000..c5801a7 --- /dev/null +++ b/fp-plugins/cookiebanner/lang/lang.cs-cz.php @@ -0,0 +1,9 @@ + 'Soubory cookie ' . // + 'používám k zajištění spolehlivého a bezpečného chodu těchto webových stránek.', + 'ok' => 'OK', + 'notice_text' => 'Vaše údaje zpracovávám v souladu se svými zásadami ochrany osobních údajů.' +); +?> diff --git a/fp-plugins/cookiebanner/lang/lang.da-dk.php b/fp-plugins/cookiebanner/lang/lang.da-dk.php new file mode 100644 index 0000000..fd343d9 --- /dev/null +++ b/fp-plugins/cookiebanner/lang/lang.da-dk.php @@ -0,0 +1,9 @@ + 'Jeg bruger cookies ' . // + 'til at sikre, at denne hjemmeside kører pålideligt og sikkert.', + 'ok' => 'JEG ER ENIG', + 'notice_text' => 'Jeg behandler dine data i overensstemmelse med min privatlivspolitik.' +); +?> diff --git a/fp-plugins/cookiebanner/lang/lang.de-de.php b/fp-plugins/cookiebanner/lang/lang.de-de.php new file mode 100644 index 0000000..fc7ae82 --- /dev/null +++ b/fp-plugins/cookiebanner/lang/lang.de-de.php @@ -0,0 +1,9 @@ + 'Ich verwende Cookies, ' . // + 'damit diese Webseite zuverlässig und sicher läuft.', + 'ok' => 'OK', + 'notice_text' => 'Ich verarbeite deine Daten gemäß meiner Datenschutzerklärung.' +); +?> diff --git a/fp-plugins/cookiebanner/lang/lang.el-gr.php b/fp-plugins/cookiebanner/lang/lang.el-gr.php new file mode 100644 index 0000000..d59742b --- /dev/null +++ b/fp-plugins/cookiebanner/lang/lang.el-gr.php @@ -0,0 +1,9 @@ + 'Χρησιμοποιώ cookies ' . // + 'για να διασφαλίσω ότι αυτός ο ιστότοπος λειτουργεί αξιόπιστα και με ασφάλεια.', + 'ok' => 'ΣΥΜΦΩΝΩ', + 'notice_text' => 'Επεξεργάζομαι τα δεδομένα σας σύμφωνα με την Πολιτική απορρήτου.' +); +?> diff --git a/fp-plugins/cookiebanner/lang/lang.en-us.php b/fp-plugins/cookiebanner/lang/lang.en-us.php new file mode 100644 index 0000000..1ef906a --- /dev/null +++ b/fp-plugins/cookiebanner/lang/lang.en-us.php @@ -0,0 +1,9 @@ + 'I use cookies, ' . // + 'so that this website runs reliably and securely.', + 'ok' => 'Okay', + 'notice_text' => 'I process your data according to my privacy policy.' +); +?> diff --git a/fp-plugins/cookiebanner/lang/lang.es-es.php b/fp-plugins/cookiebanner/lang/lang.es-es.php new file mode 100644 index 0000000..3b6c475 --- /dev/null +++ b/fp-plugins/cookiebanner/lang/lang.es-es.php @@ -0,0 +1,9 @@ + 'Utilizo cookies ' . // + 'para garantizar que este sitio web funcione de forma fiable y segura.', + 'ok' => 'ACEPTO', + 'notice_text' => 'Trato sus datos de acuerdo con mi política de privacidad.' +); +?> diff --git a/fp-plugins/cookiebanner/lang/lang.fr-fr.php b/fp-plugins/cookiebanner/lang/lang.fr-fr.php new file mode 100644 index 0000000..65a9ee9 --- /dev/null +++ b/fp-plugins/cookiebanner/lang/lang.fr-fr.php @@ -0,0 +1,9 @@ + 'J\'utilise des cookies, ' . // + 'pour que ce site web fonctionne de manière fiable et sûre.', + 'ok' => 'Accepter', + 'notice_text' => 'Je traite tes données conformément à ma déclaration de protection des données.' +); +?> diff --git a/fp-plugins/cookiebanner/lang/lang.it-it.php b/fp-plugins/cookiebanner/lang/lang.it-it.php new file mode 100644 index 0000000..a2c2400 --- /dev/null +++ b/fp-plugins/cookiebanner/lang/lang.it-it.php @@ -0,0 +1,9 @@ + 'Utilizzo i cookie, ' . // + 'per garantire che questo sito web funzioni in modo affidabile e sicuro.', + 'ok' => 'Accetta i cookie', + 'notice_text' => 'I vostri dati sono trattati in conformità con la mia politica sulla privacy.' +); +?> diff --git a/fp-plugins/cookiebanner/lang/lang.ja-jp.php b/fp-plugins/cookiebanner/lang/lang.ja-jp.php new file mode 100644 index 0000000..f7cb3e3 --- /dev/null +++ b/fp-plugins/cookiebanner/lang/lang.ja-jp.php @@ -0,0 +1,9 @@ + 'このウェブサイトを確実かつ安全に運営するために クッキー, ' . // + 'を使用しています。', + 'ok' => 'クッキーを受け入れる', + 'notice_text' => '私は、プライバシーポリシに従ってあなたのデータを処理します。' +); +?> diff --git a/fp-plugins/cookiebanner/lang/lang.nl-nl.php b/fp-plugins/cookiebanner/lang/lang.nl-nl.php new file mode 100644 index 0000000..282eaf4 --- /dev/null +++ b/fp-plugins/cookiebanner/lang/lang.nl-nl.php @@ -0,0 +1,9 @@ + 'Ik gebruik cookies ' . // + 'om ervoor te zorgen dat deze website betrouwbaar en veilig werkt.', + 'ok' => 'Cookies accepteren', + 'notice_text' => 'Ik verwerk uw gegevens in overeenstemming met mijn privacybeleid.' +); +?> diff --git a/fp-plugins/cookiebanner/lang/lang.pt-br.php b/fp-plugins/cookiebanner/lang/lang.pt-br.php new file mode 100644 index 0000000..0ee5a8a --- /dev/null +++ b/fp-plugins/cookiebanner/lang/lang.pt-br.php @@ -0,0 +1,9 @@ + 'Utilizo cookies ' . // + 'para garantir que este site funcione de forma confiável e segura.', + 'ok' => 'Aceitar', + 'notice_text' => 'Eu processo seus dados de acordo com minha política de privacidade.' +); +?> diff --git a/fp-plugins/cookiebanner/lang/lang.ru-ru.php b/fp-plugins/cookiebanner/lang/lang.ru-ru.php new file mode 100644 index 0000000..d27ad66 --- /dev/null +++ b/fp-plugins/cookiebanner/lang/lang.ru-ru.php @@ -0,0 +1,9 @@ + 'Я использую файлы cookie, ' . // + 'чтобы обеспечить надежную и безопасную работу этого сайта.', + 'ok' => 'Принять', + 'notice_text' => 'Я обрабатываю ваши данные в соответствии с моей политикой конфиденциальности.' +); +?> diff --git a/fp-plugins/cookiebanner/lang/lang.sl-si.php b/fp-plugins/cookiebanner/lang/lang.sl-si.php new file mode 100644 index 0000000..0e0392e --- /dev/null +++ b/fp-plugins/cookiebanner/lang/lang.sl-si.php @@ -0,0 +1,9 @@ + 'Piškotke ' . // + 'uporabljam za zagotavljanje zanesljivega in varnega delovanja tega spletnega mesta.', + 'ok' => 'V REDU', + 'notice_text' => 'Vaše podatke obdelujem v skladu s svojo zasebnostno politiko.' +); +?> diff --git a/fp-plugins/cookiebanner/plugin.cookiebanner.php b/fp-plugins/cookiebanner/plugin.cookiebanner.php new file mode 100644 index 0000000..6ceb926 --- /dev/null +++ b/fp-plugins/cookiebanner/plugin.cookiebanner.php @@ -0,0 +1,83 @@ +privacy policy. Part of the standard distribution. [Reset] + * Author: FlatPress + * Version: 1.0.1 + * Author URI: http://flatpress.org + */ +function plugin_cookiebanner_head() { + $pdir = plugin_geturl('cookiebanner'); + echo ' + + + +'; +} + +add_action('wp_head', 'plugin_cookiebanner_head', 0); + +function plugin_cookiebanner_footer() { + + global $lang; + lang_load('plugin:cookiebanner'); + + $bannertext = $lang ['plugin'] ['cookiebanner'] ['bannertext']; + $more = $lang ['plugin'] ['cookiebanner'] ['more']; + $more_url = $lang ['plugin'] ['cookiebanner'] ['more_url']; + $more_url_title = $lang ['plugin'] ['cookiebanner'] ['more_url_title']; + $ok = $lang ['plugin'] ['cookiebanner'] ['ok']; + + echo ' + + + + + + + +'; +} + +add_action('wp_footer', 'plugin_cookiebanner_footer', 0); + + +function plugin_cookiebanner_privacypolicy() { + global $lang; + $lang = lang_load('plugin:cookiebanner'); + + $notice_text = $lang ['plugin'] ['cookiebanner'] ['notice_text']; + + echo '

' . $notice_text . '

'; +} + +add_action('comment_form', 'plugin_cookiebanner_privacypolicy', 0); +?> + diff --git a/fp-plugins/cookiebanner/res/cookiebanner.css b/fp-plugins/cookiebanner/res/cookiebanner.css new file mode 100644 index 0000000..e9d1bec --- /dev/null +++ b/fp-plugins/cookiebanner/res/cookiebanner.css @@ -0,0 +1,31 @@ +/* prevents too large font size on mobile devices */ +@media (max-width: 1920px) { + #cookie_banner { + -webkit-text-size-adjust: none; + -moz-text-size-adjust: none; + text-size-adjust: none + } +} + +/* Cookie-Banner */ +#cookie_banner { + background: #cccdcd; + color: #000000; + position: fixed; + bottom: 0px; + left: 0; + z-index: 10000; + opacity: 0.9; + width: 100%; +} + +.text-center { + text-align: center; +} + +/* OK-Button */ +.btn.btn-primary.btn-sm { + color: #ffffff; + background: #008A17; +} + diff --git a/setup/lang/lang.cs-cz.php b/setup/lang/lang.cs-cz.php index ba25b40..85e38bb 100644 --- a/setup/lang/lang.cs-cz.php +++ b/setup/lang/lang.cs-cz.php @@ -192,4 +192,14 @@ Bavte se! :) $lang ['samplecontent'] ['about'] ['subject'] = 'O mně'; $lang ['samplecontent'] ['about'] ['content'] = 'Sem napište něco o sobě. ([url=admin.php?p=static&action=write&page=about]Editovat![/url])'; + +$lang ['samplecontent'] ['privacy-policy'] ['subject'] = 'Zásady ochrany osobních údajů'; +$lang ['samplecontent'] ['privacy-policy'] ['content'] = 'V některých zemích, například pokud používáte službu Akismet Antispam, je nutné poskytnout návštěvníkům zásady ochrany osobních údajů. Zásady ochrany osobních údajů mohou být nezbytné také v případě, že návštěvník může použít kontaktní formulář nebo funkci komentáře. + +[b]Tip:[/b] Na internetu existuje spousta šablon a generátorů. + +Můžete je vložit zde. ([url=admin.php?p=static&action=write&page=privacy-policy]Upravte mě![/url]) + +Pokud aktivujete doplněk CookieBanner, budou moci vaši návštěvníci přejít přímo na tuto stránku v kontaktním formuláři a ve funkci komentáře. +'; ?> diff --git a/setup/lang/lang.da-dk.php b/setup/lang/lang.da-dk.php index c9e8231..17808e5 100644 --- a/setup/lang/lang.da-dk.php +++ b/setup/lang/lang.da-dk.php @@ -196,4 +196,14 @@ God fornøjelse! :) $lang ['samplecontent'] ['about'] ['subject'] = 'Om'; $lang ['samplecontent'] ['about'] ['content'] = 'Skriv noget om dig selv og denne blog her. ([url=admin.php?p=static&action=write&page=about]Arbejd med mig![/url])'; + +$lang ['samplecontent'] ['privacy-policy'] ['subject'] = 'Privatlivspolitik'; +$lang ['samplecontent'] ['privacy-policy'] ['content'] = 'I nogle lande, f.eks. hvis du bruger Akismet Antispam-tjenesten, er det nødvendigt at give dine besøgende en privatlivspolitik. En privatlivspolitik kan også være nødvendig, hvis den besøgende kan bruge kontaktformularen eller kommentarfunktionen. + +[b]Tip:[/b] Der findes masser af skabeloner og generatorer på internettet. + +Du kan indsætte dem her. ([url=admin.php?p=static&action=write&page=privacy-policy]Rediger mig![/url]) + +Hvis du aktiverer CookieBanner-pluginet, vil dine besøgende kunne gå direkte til denne side i kontaktformularen og i kommentarfunktionen. +'; ?> diff --git a/setup/lang/lang.de-de.php b/setup/lang/lang.de-de.php index 775fbd0..a911160 100644 --- a/setup/lang/lang.de-de.php +++ b/setup/lang/lang.de-de.php @@ -196,4 +196,14 @@ Viel Spaß! :) $lang ['samplecontent'] ['about'] ['subject'] = 'Über'; $lang ['samplecontent'] ['about'] ['content'] = 'Schreib hier etwas über dich und diesen Blog. ([url=admin.php?p=static&action=write&page=about]Bearbeite mich![/url])'; + +$lang ['samplecontent'] ['privacy-policy'] ['subject'] = 'Datenschutzerklärung'; +$lang ['samplecontent'] ['privacy-policy'] ['content'] = 'In einigen Ländern ist es notwendig, wenn du zum Beispiel den Dienst von Akismet Antispam nutzt, deinen Besucherns eine Datenschutzerklärung bereitzustellen. Eine Datenschutzerklärung kann ebenfalls notwendig sein, wenn der Besucher das Kontaktformular oder die Kommentarfunktion nutzen kann. + +[b]Tipp:[/b] Es gibt im Internet jede Menge Vorlagen und Generatoren. + +An dieser Stelle kannst du diese dann einfügen. ([url=admin.php?p=static&action=write&page=privacy-policy]Bearbeite mich![/url]) + +Wenn du das CookieBanner Plugin aktivierst, wird im Kontaktformular und in der Kommentarfunktion deinen Besuchern es möglich sein, direkt zu dieser Seite zu gelangen. +'; ?> diff --git a/setup/lang/lang.el-gr.php b/setup/lang/lang.el-gr.php index 34188cf..d7df69d 100644 --- a/setup/lang/lang.el-gr.php +++ b/setup/lang/lang.el-gr.php @@ -196,4 +196,14 @@ $lang ['samplecontent'] ['entry'] ['content'] = 'Αυτό είναι ένα δε $lang ['samplecontent'] ['about'] ['subject'] = 'Σχετικά με το'; $lang ['samplecontent'] ['about'] ['content'] = 'Γράψτε κάτι για τον εαυτό σας και αυτό το ιστολόγιο εδώ. ([url=admin.php?p=static&action=write&page=about]Δούλεψε με![/url])'; + +$lang ['samplecontent'] ['privacy-policy'] ['subject'] = 'Πολιτική απορρήτου'; +$lang ['samplecontent'] ['privacy-policy'] ['content'] = 'Σε ορισμένες χώρες, εάν χρησιμοποιείτε την υπηρεσία Akismet Antispam, για παράδειγμα, είναι απαραίτητο να παρέχετε στους επισκέπτες σας μια πολιτική απορρήτου. Μια πολιτική απορρήτου μπορεί επίσης να είναι απαραίτητη εάν ο επισκέπτης μπορεί να χρησιμοποιήσει τη φόρμα επικοινωνίας ή τη λειτουργία σχολίων. + +[b]Συμβουλή:[/b] Υπάρχουν πολλά πρότυπα και γεννήτριες στο διαδίκτυο. + +Μπορείτε να τα εισάγετε εδώ. ([url=admin.php?p=static&action=write&page=privacy-policy]Επεξεργαστείτε με![/url]) + +Εάν ενεργοποιήσετε το πρόσθετο CookieBanner, οι επισκέπτες σας θα μπορούν να μεταβούν απευθείας σε αυτή τη σελίδα στη φόρμα επικοινωνίας και στη λειτουργία σχολιασμού. +'; ?> diff --git a/setup/lang/lang.en-us.php b/setup/lang/lang.en-us.php index abc1eb9..4bf8bf4 100644 --- a/setup/lang/lang.en-us.php +++ b/setup/lang/lang.en-us.php @@ -193,4 +193,14 @@ Have fun! :) $lang ['samplecontent'] ['about'] ['subject'] = 'About'; $lang ['samplecontent'] ['about'] ['content'] = 'Write something about yourself here. ([url=admin.php?p=static&action=write&page=about]Edit me![/url])'; + +$lang ['samplecontent'] ['privacy-policy'] ['subject'] = 'Privacy policy'; +$lang ['samplecontent'] ['privacy-policy'] ['content'] = 'In some countries, if you use the Akismet Antispam service, for example, it is necessary to provide your visitors with a privacy policy. A privacy policy may also be necessary if the visitor can use the contact form or the comment function. + +[b]Tip:[/b] There are lots of templates and generators on the Internet. + +You can insert them here. ([url=admin.php?p=static&action=write&page=privacy-policy]Edit me![/url]) + +If you activate the CookieBanner plugin, your visitors will be able to go directly to this page in the contact form and in the comment function. +'; ?> diff --git a/setup/lang/lang.es-es.php b/setup/lang/lang.es-es.php index b872414..0019fb5 100644 --- a/setup/lang/lang.es-es.php +++ b/setup/lang/lang.es-es.php @@ -196,4 +196,14 @@ Que te diviertas! :) $lang ['samplecontent'] ['about'] ['subject'] = 'Acerca de'; $lang ['samplecontent'] ['about'] ['content'] = 'Escribe aquí algo sobre ti y sobre este blog. ([url=admin.php?p=static&action=write&page=about]Edítame![/url])'; + +$lang ['samplecontent'] ['privacy-policy'] ['subject'] = 'Política de privacidad'; +$lang ['samplecontent'] ['privacy-policy'] ['content'] = 'En algunos países, si utiliza el servicio Akismet Antispam, por ejemplo, es necesario proporcionar a sus visitantes una política de privacidad. También puede ser necesaria una política de privacidad si el visitante puede utilizar el formulario de contacto o la función de comentarios. + +[b]Consejo:[/b] Hay muchas plantillas y generadores en Internet. + +Puede insertarlos aquí. ([url=admin.php?p=static&action=write&page=privacy-policy]Editar![/url]) + +Si activas el plugin CookieBanner, tus visitantes podrán ir directamente a esta página en el formulario de contacto y en la función de comentarios. +'; ?> diff --git a/setup/lang/lang.fr-fr.php b/setup/lang/lang.fr-fr.php index b8729d4..5036991 100644 --- a/setup/lang/lang.fr-fr.php +++ b/setup/lang/lang.fr-fr.php @@ -196,4 +196,14 @@ Amusez-vous bien! :) $lang ['samplecontent'] ['about'] ['subject'] = 'Sur'; $lang ['samplecontent'] ['about'] ['content'] = 'Écris ici quelque chose sur toi et sur ce blog. ([url=admin.php?p=static&action=write&page=about]Travaille-moi![/url])'; + +$lang ['samplecontent'] ['privacy-policy'] ['subject'] = 'Déclaration de confidentialité'; +$lang ['samplecontent'] ['privacy-policy'] ['content'] = 'Dans certains pays, si tu utilises par exemple le service d\'Akismet Antispam, il est nécessaire de fournir à tes visiteurs une déclaration de confidentialité. Une déclaration de confidentialité peut également être nécessaire si le visiteur peut utiliser le formulaire de contact ou la fonction de commentaire. + +[b]Conseil:[/b] il existe de nombreux modèles et générateurs sur Internet. + +Tu peux les insérer à cet endroit. ([url=admin.php?p=static&action=write&page=privacy-policy]Modifie-moi![/url]) + +Si tu actives le plugin CookieBanner, le formulaire de contact et la fonction de commentaire permettront à tes visiteurs d\'accéder directement à cette page. +'; ?> diff --git a/setup/lang/lang.it-it.php b/setup/lang/lang.it-it.php index 73937b3..1c63932 100644 --- a/setup/lang/lang.it-it.php +++ b/setup/lang/lang.it-it.php @@ -193,4 +193,14 @@ Buon divertimento! :) $lang ['samplecontent'] ['about'] ['subject'] = 'Chi sono'; $lang ['samplecontent'] ['about'] ['content'] = 'Scrivi qui qualcosa su di te. ([url=admin.php?p=static&action=write&page=about]Modificami![/url])'; + +$lang ['samplecontent'] ['privacy-policy'] ['subject'] = 'Informativa sulla privacy'; +$lang ['samplecontent'] ['privacy-policy'] ['content'] = 'In alcuni Paesi, se si utilizza il servizio Akismet Antispam, ad esempio, è necessario fornire ai visitatori un\'informativa sulla privacy. Un\'informativa sulla privacy può essere necessaria anche se il visitatore può utilizzare il modulo di contatto o la funzione di commento. + +[b]Suggerimento:[/b] su Internet si trovano molti modelli e generatori. + +Potete inserirli qui. ([url=admin.php?p=static&action=write&page=privacy-policy]Modificatemi![/url]) + +Se attivate il plugin CookieBanner, i vostri visitatori potranno accedere direttamente a questa pagina nel modulo di contatto e nella funzione dei commenti. +'; ?> diff --git a/setup/lang/lang.ja-jp.php b/setup/lang/lang.ja-jp.php index 2600c3e..fef8640 100644 --- a/setup/lang/lang.ja-jp.php +++ b/setup/lang/lang.ja-jp.php @@ -198,4 +198,14 @@ Have fun! :) $lang ['samplecontent'] ['about'] ['subject'] = 'About'; $lang ['samplecontent'] ['about'] ['content'] = 'Write something about yourself here ([url=admin.php?p=static&action=write&page=about]Edit me![/url])'; + +$lang ['samplecontent'] ['privacy-policy'] ['subject'] = 'プライバシーポリシー'; +$lang ['samplecontent'] ['privacy-policy'] ['content'] = '国によっては、例えばAkismet Antispamサービスを利用する場合、訪問者にプライバシーポリシーを提供する必要があります。また、訪問者がコンタクトフォームやコメント機能を利用する場合にも、プライバシーポリシーが必要になることがあります。 + +[b]ヒント:[/b] インターネット上にはたくさんのテンプレートやジェネレーターがあります。 + +ここにそれらを挿入することができます。 ([url=admin.php?p=static&action=write&page=privacy-policy]編集する[/url]) + +CookieBannerプラグインを有効にすると、訪問者はコンタクトフォームやコメント機能から直接このページにアクセスできるようになります。 +'; ?> diff --git a/setup/lang/lang.nl-nl.php b/setup/lang/lang.nl-nl.php index c7ecf77..33590fa 100644 --- a/setup/lang/lang.nl-nl.php +++ b/setup/lang/lang.nl-nl.php @@ -192,4 +192,14 @@ Veel plezier! :) $lang ['samplecontent'] ['about'] ['subject'] = 'About'; $lang ['samplecontent'] ['about'] ['content'] = 'Schrijf hier iets over jezelf. ([url=admin.php?p=static&action=write&page=about]Edit me![/url])'; + +$lang ['samplecontent'] ['privacy-policy'] ['subject'] = 'Privacybeleid'; +$lang ['samplecontent'] ['privacy-policy'] ['content'] = 'In sommige landen, als u bijvoorbeeld de Akismet Antispam-service gebruikt, is het noodzakelijk om uw bezoekers te voorzien van een privacybeleid. Een privacybeleid kan ook nodig zijn als de bezoeker het contactformulier of de commentaarfunctie kan gebruiken. + +[b]Tip:[/b] Er zijn veel sjablonen en generatoren te vinden op internet. + +Je kunt ze hier invoegen. ([url=admin.php?p=static&action=write&page=privacy-policy]Bewerk mij![/url]) + +Als je de CookieBanner plugin activeert, kunnen je bezoekers direct naar deze pagina gaan in het contactformulier en in de commentaarfunctie. +'; ?> diff --git a/setup/lang/lang.pt-br.php b/setup/lang/lang.pt-br.php index 4d16c69..c56caae 100644 --- a/setup/lang/lang.pt-br.php +++ b/setup/lang/lang.pt-br.php @@ -190,4 +190,14 @@ Diverta-se! :-) $lang ['samplecontent'] ['about'] ['subject'] = 'Sobre'; $lang ['samplecontent'] ['about'] ['content'] = 'Escreva algo sobre você aqui. ([url=admin.php?p=static&action=write&page=about]Me edite![/url])'; + +$lang ['samplecontent'] ['privacy-policy'] ['subject'] = 'Política de privacidade'; +$lang ['samplecontent'] ['privacy-policy'] ['content'] = 'Em alguns países, se você usar o serviço Akismet Antispam, por exemplo, é necessário fornecer aos visitantes uma política de privacidade. Uma política de privacidade também pode ser necessária se o visitante puder usar o formulário de contato ou a função de comentário. + +[b]Dica:[/b] Há muitos modelos e geradores na Internet. + +Você pode inseri-los aqui. ([url=admin.php?p=static&action=write&page=privacy-policy]Edite-me![/url]) + +Se você ativar o plug-in CookieBanner, seus visitantes poderão ir diretamente para essa página no formulário de contato e na função de comentários. +'; ?> diff --git a/setup/lang/lang.ru-ru.php b/setup/lang/lang.ru-ru.php index e9ca286..7f8b07a 100644 --- a/setup/lang/lang.ru-ru.php +++ b/setup/lang/lang.ru-ru.php @@ -193,4 +193,14 @@ FlatPress очень хорошо настраивается и поддержи $lang ['samplecontent'] ['about'] ['subject'] = 'Обо мне'; $lang ['samplecontent'] ['about'] ['content'] = 'Напишите что-нибудь о себе здесь. ([url=admin.php?p=static&action=write&page=about]Редактировать[/url])'; + +$lang ['samplecontent'] ['privacy-policy'] ['subject'] = 'Политика конфиденциальности'; +$lang ['samplecontent'] ['privacy-policy'] ['content'] = 'В некоторых странах, например, если вы используете службу Akismet Antispam, необходимо предоставить посетителям политику конфиденциальности. Политика конфиденциальности также может потребоваться, если посетитель может использовать контактную форму или функцию комментариев. + +[b]Совет:[/b] В интернете есть множество шаблонов и генераторов. + +Вы можете вставить их сюда. ([url=admin.php?p=static&action=write&page=privacy-policy]Отредактируйте меня![/url]) + +Если вы активируете плагин CookieBanner, ваши посетители смогут перейти непосредственно на эту страницу в контактной форме и в функции комментариев. +'; ?> diff --git a/setup/lang/lang.sl-si.php b/setup/lang/lang.sl-si.php index c087ffc..46a27ed 100644 --- a/setup/lang/lang.sl-si.php +++ b/setup/lang/lang.sl-si.php @@ -194,4 +194,14 @@ Zabavajte se! :) $lang ['samplecontent'] ['about'] ['subject'] = 'O'; $lang ['samplecontent'] ['about'] ['content'] = 'Tukaj napišite nekaj o sebi in tem blogu. ([url=admin.php?p=static&action=write&page=about]Delajte z mano![/url])'; + +$lang ['samplecontent'] ['privacy-policy'] ['subject'] = 'Politika zasebnosti'; +$lang ['samplecontent'] ['privacy-policy'] ['content'] = 'Če uporabljate na primer storitev Akismet Antispam, je treba v nekaterih državah svojim obiskovalcem zagotoviti pravilnik o zasebnosti. Pravilnik o zasebnosti je morda potreben tudi, če lahko obiskovalec uporabi kontaktni obrazec ali funkcijo za komentiranje. + +[b]Nasvet:[/b] Na spletu je na voljo veliko predlog in generatorjev. + +Lahko jih vstavite tukaj. ([url=admin.php?p=static&action=write&page=privacy-policy]Uredi me![/url]) + +Če aktivirate vtičnik CookieBanner, bodo lahko vaši obiskovalci v kontaktnem obrazcu in v funkciji za komentiranje prešli neposredno na to stran. +'; ?> diff --git a/setup/lib/step2.lib.php b/setup/lib/step2.lib.php index 79689d6..92c8310 100644 --- a/setup/lib/step2.lib.php +++ b/setup/lib/step2.lib.php @@ -34,6 +34,15 @@ function check_step() { 'author' => 'FlatPress' ), 'about'); } + if (!static_exists('privacy-policy')) { + static_save(array( + 'subject' => $vl ['privacy-policy'] ['subject'], + 'content' => $vl ['privacy-policy'] ['content'], + 'date' => time(), + 'version' => system_ver(), + 'author' => 'FlatPress' + ), 'privacy-policy'); + } } return $validate;