Closes #325
- Adds the CookieBanner plugin Features: - Simple discrete CookieBanner, localized - Font and color depend on the style used - When activated, a link to the privacy policy is provided in the contact form and in the comment function. - The static page is provided during setup. The FlatPress admin only has to insert the content. This encourages the FlatPress admin to at least familiarize himself with the legal requirements of his region and to protect himself from possible legal consequences with this plugin.
This commit is contained in:
parent
7a4c9fb5f2
commit
57851cdebb
9
fp-plugins/cookiebanner/lang/lang.cs-cz.php
Normal file
9
fp-plugins/cookiebanner/lang/lang.cs-cz.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
$baseurl = BLOG_BASEURL;
|
||||
$lang ['plugin'] ['cookiebanner'] = array(
|
||||
'bannertext' => 'Soubory <a href="https://cs.wikipedia.org/wiki/HTTP_cookie" title="Wikipedia" target="_blank">cookie</a> ' . //
|
||||
'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 <a href="' . $baseurl . 'static.php?page=privacy-policy">zásadami ochrany osobních údajů</a>.'
|
||||
);
|
||||
?>
|
9
fp-plugins/cookiebanner/lang/lang.da-dk.php
Normal file
9
fp-plugins/cookiebanner/lang/lang.da-dk.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
$baseurl = BLOG_BASEURL;
|
||||
$lang ['plugin'] ['cookiebanner'] = array(
|
||||
'bannertext' => 'Jeg bruger <a href="https://da.wikipedia.org/wiki/Cookie" title="Wikipedia" target="_blank">cookies</a> ' . //
|
||||
'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 <a href="' . $baseurl . 'static.php?page=privacy-policy">privatlivspolitik</a>.'
|
||||
);
|
||||
?>
|
9
fp-plugins/cookiebanner/lang/lang.de-de.php
Normal file
9
fp-plugins/cookiebanner/lang/lang.de-de.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
$baseurl = BLOG_BASEURL;
|
||||
$lang ['plugin'] ['cookiebanner'] = array(
|
||||
'bannertext' => 'Ich verwende <a href="https://de.wikipedia.org/wiki/HTTP-Cookie" title="Wikipedia" target="_blank">Cookies</a>, ' . //
|
||||
'damit diese Webseite zuverlässig und sicher läuft.',
|
||||
'ok' => 'OK',
|
||||
'notice_text' => 'Ich verarbeite deine Daten gemäß meiner <a href="' . $baseurl . 'static.php?page=privacy-policy">Datenschutzerklärung</a>.'
|
||||
);
|
||||
?>
|
9
fp-plugins/cookiebanner/lang/lang.el-gr.php
Normal file
9
fp-plugins/cookiebanner/lang/lang.el-gr.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
$baseurl = BLOG_BASEURL;
|
||||
$lang ['plugin'] ['cookiebanner'] = array(
|
||||
'bannertext' => 'Χρησιμοποιώ <a href="https://el.wikipedia.org/wiki/HTTP_cookies" title="Wikipedia" target="_blank">cookies</a> ' . //
|
||||
'για να διασφαλίσω ότι αυτός ο ιστότοπος λειτουργεί αξιόπιστα και με ασφάλεια.',
|
||||
'ok' => 'ΣΥΜΦΩΝΩ',
|
||||
'notice_text' => 'Επεξεργάζομαι τα δεδομένα σας σύμφωνα με την <a href="' . $baseurl . 'static.php?page=privacy-policy">Πολιτική απορρήτου</a>.'
|
||||
);
|
||||
?>
|
9
fp-plugins/cookiebanner/lang/lang.en-us.php
Normal file
9
fp-plugins/cookiebanner/lang/lang.en-us.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
$baseurl = BLOG_BASEURL;
|
||||
$lang ['plugin'] ['cookiebanner'] = array(
|
||||
'bannertext' => 'I use <a href="https://en.wikipedia.org/wiki/HTTP_cookie" title="Wikipedia" target="_blank">cookies</a>, ' . //
|
||||
'so that this website runs reliably and securely.',
|
||||
'ok' => 'Okay',
|
||||
'notice_text' => 'I process your data according to my <a href="' . $baseurl . 'static.php?page=dataprotection">privacy policy</a>.'
|
||||
);
|
||||
?>
|
9
fp-plugins/cookiebanner/lang/lang.es-es.php
Normal file
9
fp-plugins/cookiebanner/lang/lang.es-es.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
$baseurl = BLOG_BASEURL;
|
||||
$lang ['plugin'] ['cookiebanner'] = array(
|
||||
'bannertext' => 'Utilizo <a href="https://es.wikipedia.org/wiki/Cookie_(inform%C3%A1tica)" title="Wikipedia" target="_blank">cookies</a> ' . //
|
||||
'para garantizar que este sitio web funcione de forma fiable y segura.',
|
||||
'ok' => 'ACEPTO',
|
||||
'notice_text' => 'Trato sus datos de acuerdo con mi <a href="' . $baseurl . 'static.php?page=privacy-policy">política de privacidad</a>.'
|
||||
);
|
||||
?>
|
9
fp-plugins/cookiebanner/lang/lang.fr-fr.php
Normal file
9
fp-plugins/cookiebanner/lang/lang.fr-fr.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
$baseurl = BLOG_BASEURL;
|
||||
$lang ['plugin'] ['cookiebanner'] = array(
|
||||
'bannertext' => 'J\'utilise des <a href="https://fr.wikipedia.org/wiki/Cookie_(informatique)" title="Wikipedia" target="_blank">cookies</a>, ' . //
|
||||
'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 <a href="' . $baseurl . 'static.php?page=privacy-policy">déclaration de protection des données</a>.'
|
||||
);
|
||||
?>
|
9
fp-plugins/cookiebanner/lang/lang.it-it.php
Normal file
9
fp-plugins/cookiebanner/lang/lang.it-it.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
$baseurl = BLOG_BASEURL;
|
||||
$lang ['plugin'] ['cookiebanner'] = array(
|
||||
'bannertext' => 'Utilizzo i <a href="https://it.wikipedia.org/wiki/Cookie" title="Wikipedia" target="_blank">cookie</a>, ' . //
|
||||
'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 <a href="' . $baseurl . 'static.php?page=privacy-policy">politica sulla privacy</a>.'
|
||||
);
|
||||
?>
|
9
fp-plugins/cookiebanner/lang/lang.ja-jp.php
Normal file
9
fp-plugins/cookiebanner/lang/lang.ja-jp.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
$baseurl = BLOG_BASEURL;
|
||||
$lang ['plugin'] ['cookiebanner'] = array(
|
||||
'bannertext' => 'このウェブサイトを確実かつ安全に運営するために <a href="https://ja.wikipedia.org/wiki/HTTP_cookie" title="ウィキペディア" target="_blank">クッキー</a>, ' . //
|
||||
'を使用しています。',
|
||||
'ok' => 'クッキーを受け入れる',
|
||||
'notice_text' => '私は、<a href="' . $baseurl . 'static.php?page=privacy-policy">プライバシーポリシ</a>に従ってあなたのデータを処理します。'
|
||||
);
|
||||
?>
|
9
fp-plugins/cookiebanner/lang/lang.nl-nl.php
Normal file
9
fp-plugins/cookiebanner/lang/lang.nl-nl.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
$baseurl = BLOG_BASEURL;
|
||||
$lang ['plugin'] ['cookiebanner'] = array(
|
||||
'bannertext' => 'Ik gebruik <a href="https://nl.wikipedia.org/wiki/Cookie_(internet)" title="Wikipedia" target="_blank">cookies</a> ' . //
|
||||
'om ervoor te zorgen dat deze website betrouwbaar en veilig werkt.',
|
||||
'ok' => 'Cookies accepteren',
|
||||
'notice_text' => 'Ik verwerk uw gegevens in overeenstemming met mijn <a href="' . $baseurl . 'static.php?page=privacy-policy">privacybeleid</a>.'
|
||||
);
|
||||
?>
|
9
fp-plugins/cookiebanner/lang/lang.pt-br.php
Normal file
9
fp-plugins/cookiebanner/lang/lang.pt-br.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
$baseurl = BLOG_BASEURL;
|
||||
$lang ['plugin'] ['cookiebanner'] = array(
|
||||
'bannertext' => 'Utilizo <a href="https://pt.wikipedia.org/wiki/Cookie_(inform%C3%A1tica)" title="Wikipédia" target="_blank">cookies</a> ' . //
|
||||
'para garantir que este site funcione de forma confiável e segura.',
|
||||
'ok' => 'Aceitar',
|
||||
'notice_text' => 'Eu processo seus dados de acordo com minha <a href="' . $baseurl . 'static.php?page=privacy-policy">política de privacidade</a>.'
|
||||
);
|
||||
?>
|
9
fp-plugins/cookiebanner/lang/lang.ru-ru.php
Normal file
9
fp-plugins/cookiebanner/lang/lang.ru-ru.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
$baseurl = BLOG_BASEURL;
|
||||
$lang ['plugin'] ['cookiebanner'] = array(
|
||||
'bannertext' => 'Я использую файлы <a href="https://ru.wikipedia.org/wiki/Cookie" title="Википедия" target="_blank">cookie</a>, ' . //
|
||||
'чтобы обеспечить надежную и безопасную работу этого сайта.',
|
||||
'ok' => 'Принять',
|
||||
'notice_text' => 'Я обрабатываю ваши данные в соответствии с моей <a href="' . $baseurl . 'static.php?page=privacy-policy">политикой конфиденциальности</a>.'
|
||||
);
|
||||
?>
|
9
fp-plugins/cookiebanner/lang/lang.sl-si.php
Normal file
9
fp-plugins/cookiebanner/lang/lang.sl-si.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
$baseurl = BLOG_BASEURL;
|
||||
$lang ['plugin'] ['cookiebanner'] = array(
|
||||
'bannertext' => '<a href="https://sl.wikipedia.org/wiki/Pi%C5%A1kotek" title="Wikipedija" target="_blank">Piškotke</a> ' . //
|
||||
'uporabljam za zagotavljanje zanesljivega in varnega delovanja tega spletnega mesta.',
|
||||
'ok' => 'V REDU',
|
||||
'notice_text' => 'Vaše podatke obdelujem v skladu s svojo <a href="' . $baseurl . 'static.php?page=privacy-policy">zasebnostno politiko</a>.'
|
||||
);
|
||||
?>
|
83
fp-plugins/cookiebanner/plugin.cookiebanner.php
Normal file
83
fp-plugins/cookiebanner/plugin.cookiebanner.php
Normal file
@ -0,0 +1,83 @@
|
||||
<?php
|
||||
/*
|
||||
* Plugin Name: CookieBanner
|
||||
* Plugin URI: https://flatpress.org
|
||||
* Description: Displays a discreet banner that informs the visitor about the use of cookies and provides a link to the <a href="./admin.php?p=static&action=write&page=privacy-policy" title="Edit me!" >privacy policy</a>. Part of the standard distribution. <a href="#" id="DeleteCookie" title="Reset CookieBanner">[Reset]</a>
|
||||
* Author: FlatPress
|
||||
* Version: 1.0.1
|
||||
* Author URI: http://flatpress.org
|
||||
*/
|
||||
function plugin_cookiebanner_head() {
|
||||
$pdir = plugin_geturl('cookiebanner');
|
||||
echo '
|
||||
<!-- BOF CookieBanner CSS -->
|
||||
<link rel="stylesheet" type="text/css" href="' . $pdir . 'res/cookiebanner.css">
|
||||
<!-- EOF Cookiebanner CSS -->
|
||||
';
|
||||
}
|
||||
|
||||
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 '
|
||||
<!-- BOF Cookie-Banner HTML -->
|
||||
<div id="cookie_banner">
|
||||
<div class="buttonbar">
|
||||
' . $bannertext . '
|
||||
<input type="submit" value="' . $ok . '" class="btn btn-primary btn-sm " onclick="cookie_ok()"></input>
|
||||
</div>
|
||||
</div>
|
||||
<!-- EOF Cookie-Banner HTML -->
|
||||
|
||||
<!-- BOF Cookie-Banner JS -->
|
||||
<script>
|
||||
/**
|
||||
* Initializes the CookieBanner plugin.
|
||||
*/
|
||||
if( document.cookie.indexOf(\'cookiebanner=1\') != -1 ){ // if cookie exists
|
||||
jQuery(\'#cookie_banner\').hide(); // then hide banner
|
||||
} else {
|
||||
jQuery(\'#cookie_banner\').prependTo(\'body\'); // to the body and display
|
||||
}
|
||||
|
||||
// OK button - sets cookie
|
||||
function cookie_ok() {
|
||||
document.cookie = \'cookiebanner=1;path=/\';
|
||||
jQuery(\'#cookie_banner\').slideUp();
|
||||
}
|
||||
|
||||
// Reset button - deletes the cookie and displays the banner again
|
||||
$(\'#DeleteCookie\').click(()=>{
|
||||
document.cookie = \'cookiebanner\' + \'=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;\'; // delete CookieBanner -Cookie
|
||||
jQuery(\'#cookie_banner\').show(); // shows banner
|
||||
})
|
||||
</script>
|
||||
<!-- EOF Cookie-Banner JS -->
|
||||
';
|
||||
}
|
||||
|
||||
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 '<p><em>' . $notice_text . '</em></p>';
|
||||
}
|
||||
|
||||
add_action('comment_form', 'plugin_cookiebanner_privacypolicy', 0);
|
||||
?>
|
||||
|
31
fp-plugins/cookiebanner/res/cookiebanner.css
Normal file
31
fp-plugins/cookiebanner/res/cookiebanner.css
Normal file
@ -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;
|
||||
}
|
||||
|
@ -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.
|
||||
';
|
||||
?>
|
||||
|
@ -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.
|
||||
';
|
||||
?>
|
||||
|
@ -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.
|
||||
';
|
||||
?>
|
||||
|
@ -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, οι επισκέπτες σας θα μπορούν να μεταβούν απευθείας σε αυτή τη σελίδα στη φόρμα επικοινωνίας και στη λειτουργία σχολιασμού.
|
||||
';
|
||||
?>
|
||||
|
@ -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.
|
||||
';
|
||||
?>
|
||||
|
@ -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.
|
||||
';
|
||||
?>
|
||||
|
@ -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.
|
||||
';
|
||||
?>
|
||||
|
@ -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.
|
||||
';
|
||||
?>
|
||||
|
@ -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プラグインを有効にすると、訪問者はコンタクトフォームやコメント機能から直接このページにアクセスできるようになります。
|
||||
';
|
||||
?>
|
||||
|
@ -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.
|
||||
';
|
||||
?>
|
||||
|
@ -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.
|
||||
';
|
||||
?>
|
||||
|
@ -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, ваши посетители смогут перейти непосредственно на эту страницу в контактной форме и в функции комментариев.
|
||||
';
|
||||
?>
|
||||
|
@ -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.
|
||||
';
|
||||
?>
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user