diff --git a/CHANGELOG.md b/CHANGELOG.md index e424ed8..820221e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,9 @@ - Gallery captions plugin added: Manages image captions for gallery images ([#108](https://github.com/flatpressblog/flatpress/issues/108)) - SEO Meta Tag Info plugin added: Manages SEO meta tags ([#145](https://github.com/flatpressblog/flatpress/issues/145)) - FlatPress Protect plugin added: Adds HTTP headers for hardening your blog ([#146](https://github.com/flatpressblog/flatpress/issues/146)) +- DateChanger plugin added: Allows you to change the publication date for (new) entries. +- Feed plugin added: Shows the RSS and Atom feed in the header and activates the widget. The buttons can be easily swapped via the upload manager ([#317](https://github.com/flatpressblog/flatpress/issues/317)) +- CookieBanner plugin added: Discreet reference to the use of cookies ([#325](https://github.com/flatpressblog/flatpress/issues/325)) ### Changes - jQuery plugin: Updated jQuery (3.5.1 => 3.6.1) and jQueryUI (1.12.1 => 1.13.2) @@ -25,7 +28,8 @@ - BBCode plugin: Added "h4" icon to editor toolbar ([#201](https://github.com/flatpressblog/flatpress/issues/201)) - BBCode plugin: Facebook-Video now uses the latest video player API and the lazy loading mechanism of the browser; also now has localized languages with language tag ([#252](https://github.com/flatpressblog/flatpress/issues/252)) - see also https://developers.facebook.com/docs/javascript/internationalization - BBCode plugin: Added optional "target" attribute to the "url" element - ([PR270](https://github.com/flatpressblog/flatpress/pull/270) by [@sjustesen](https://github.com/sjustesen)) -- Akismet and comment center plugin revised to enable a more understandable operation ([#273](https://github.com/flatpressblog/flatpress/issues/273)) +- Comment center plugin (Akismet) revised to enable a more understandable operation ([#273](https://github.com/flatpressblog/flatpress/issues/273)) +- Akismet-Pluin removed: is already included in the comment center plugin ### Bugfixes - LastCommentsAdmin plugin will not even attempt to delete or rebuild LastComments caches if LastComments plugin is not available ([#43](https://github.com/flatpressblog/flatpress/issues/43)) @@ -36,6 +40,7 @@ - BBCode plugin: Initial settings after fresh install shown correctly ([#102](https://github.com/flatpressblog/flatpress/issues/102)) - Calendar plugin: Fixed incorrect text output when Russian is set as language - Fixed broken links in the administration area +- Footnotes plugin: Compatibility with [Markdown plugin](https://github.com/flatpressblog/flatpress-extras/tree/master/fp-plugins/markdown) established ([#322](https://github.com/flatpressblog/flatpress/issues/322)) ## Setup - Reworked Installer ([#266](https://github.com/flatpressblog/flatpress/issues/266)) @@ -43,7 +48,7 @@ - In the setup CSS, unused IDs, classes and incorrect references to fonts have been removed. - The installer header now shines in a simple FlatPress style. - Added missing language files for Greek, Spanish and French ([#214](https://github.com/flatpressblog/flatpress/issues/214)) - - The installer tries to write permissions to the fp-content directory recursively for owners and groups, which had to be done manually before. + - The installer tries to write permissions recursively for owners and groups, which had to be done manually before. ## Themes - Reworked "Leggero v2" style, Admin Area now responsive ([#259](https://github.com/flatpressblog/flatpress/issues/259)) @@ -93,7 +98,8 @@ - Contact form: Admin notification mail is now localized ([#205](https://github.com/flatpressblog/flatpress/issues/205)) - Setup tries to determine local language automatically ([#197](https://github.com/flatpressblog/flatpress/issues/197), [#216](https://github.com/flatpressblog/flatpress/issues/216), [#262](https://github.com/flatpressblog/flatpress/issues/262)) - The HTML of the installer now has a lang attribute in the html start tag to specify the language. -- BBcode toolbar: Internationalized button titles translated to the end +- BBCode plugin: Localized toolbar button tooltips +- Footnotes plugin: Hard-coded output now localized ([#322](https://github.com/flatpressblog/flatpress/issues/322)) ## Bugfixes - Plugin management page: Removed empty warning messages box @@ -103,6 +109,7 @@ - Worked around strftime() marked as deprecated as of PHP 8.1 ([#92](https://github.com/flatpressblog/flatpress/issues/92)) - thx @bohwaz - Comments and contact form: Fixed error on sending mails with umlaut subjects ([#207](https://github.com/flatpressblog/flatpress/issues/207), [#209](https://github.com/flatpressblog/flatpress/issues/209)) - Added missing properties in order to prevent "Dynamic properties are deprecated" error under PHP 8.2 ([#115](https://github.com/flatpressblog/flatpress/issues/115)) +- Admin maintenance panel: Check file access rights after reset ## Security - Possible XSS prevented: Session cookie missed the "secure" and "httponly" flags diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 63efa11..5b7bdaa 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -24,7 +24,7 @@ Since 2018, FlatPress is taken care of by [Arvid Zimmermann](https://github.com/ - 🇫🇷 French: [Marc Thibeault](https://github.com/MarcThibeault) and Dimitri Soufflet, reworked by Gee - 🇩🇪 German: [Matthias Mauch (laborix)](http://www.aadmm.org/), reworked by Detlef - 🇬🇷 Greek: An unknown, since deleted GitHub user :( -- 🇮🇹 Italian: Giacomo Margarito +- 🇮🇹 Italian: [Giacomo Margarito](https://github.com/eagleman) - 🇯🇵 Japanese: [NORTH HILL WORK STUDIO](https://nhws.localinfo.jp/) - 🇷🇺 Russian: [Mark](https://github.com/cosmopolityan) - 🇪🇸 Spanish: karelv diff --git a/admin/panels/maintain/admin.maintain.php b/admin/panels/maintain/admin.maintain.php index 44dd953..498c7d6 100755 --- a/admin/panels/maintain/admin.maintain.php +++ b/admin/panels/maintain/admin.maintain.php @@ -159,7 +159,17 @@ class admin_maintain_default extends AdminPanelAction { case 'restorechmods': { $this->smarty->assign('files', fs_chmod_recursive()); - $this->smarty->assign('success', 1); + + // Test whether writing is possible in the fp-content directory + $test_file = @fopen(CONTENT_DIR . 'chmod-test-file', "a+"); + if ($test_file) { + $this->smarty->assign('success', 1); + } else { + $this->smarty->assign('success', -1); + } + @fclose($test_file); + @unlink(CONTENT_DIR . 'chmod-test-file'); + return PANEL_NOREDIRECT; } case 'purgetplcache': diff --git a/fp-defaults/plugins.conf.php b/fp-defaults/plugins.conf.php index 7678b3e..f0fa0aa 100755 --- a/fp-defaults/plugins.conf.php +++ b/fp-defaults/plugins.conf.php @@ -8,13 +8,10 @@ $fp_plugins = array( 'lightbox2', // fancy usable img overlay effect, needs jquery 'thumb', // creates thumbnails adding scale=NN% to [img] tags :) 'bbcode', // bbcode-style formatting; if you disable this - // you'll loose some features, but you will be able to use xhtml - // as a default - // 'syntaxhighlighter',//fancy js to color code + // you'll loose some features, but you will be able to use html + // as a default 'accessibleantispam', 'qspam', // quick spam filter - // 'akismet', // powerful antispam; requires you to have a wordpress api key - // open the plugin file to set your key 'adminarea', 'archives', // 'calendar', //time consuming, not really recommended :p @@ -27,8 +24,11 @@ $fp_plugins = array( 'blockparser', 'readmore', 'favicon', - 'commentcenter', + 'commentcenter', // including Akismet interface 'mediamanager', + 'datechanger', // Lets you change the publish date for (new) entries. + 'feed', // Activates the RSS and Atom feed widget 'gallerycaptions', 'photoswipe' ); +?> diff --git a/fp-defaults/widgets.conf.php b/fp-defaults/widgets.conf.php index f41a126..c889156 100755 --- a/fp-defaults/widgets.conf.php +++ b/fp-defaults/widgets.conf.php @@ -1,45 +1,36 @@ - array ( - // (no widgets) - ), +// to disable put // or # before the plugin name +// remove it to enable :) - // Left side widgets. Put here blocks which will appear - // on the left side - // (Theme dependant) +'top' => array ( + // (no widgets) +), - 'left' => - array ( - // (no widgets) - ), +// Left side widgets. Put here blocks which will appear +// on the left side +// (Theme dependant) +'left' => array ( + // (no widgets) +), - // Right side widgets - 'right' => - array ( - 'adminarea', - 'blockparser:menu', - 'categories', - 'archives', - //'calendar', // quite time consuming, not really recommended - 'lastentries', - // 'lastcomments', - 'searchbox', - ), - - 'bottom' => - array ( - // (no widgets) - ), +// Right side widgets +'right' => array ( + 'adminarea', + 'blockparser:menu', + 'categories', + 'archives', + //'calendar', // quite time consuming, not really recommended + 'lastentries', + // 'lastcomments', + 'searchbox', + 'feed' +), - +'bottom' => array ( + // (no widgets) +), ); - ?> diff --git a/fp-interface/lang/cs-cz/lang.admin.maintain.php b/fp-interface/lang/cs-cz/lang.admin.maintain.php index e838125..4ecab4e 100644 --- a/fp-interface/lang/cs-cz/lang.admin.maintain.php +++ b/fp-interface/lang/cs-cz/lang.admin.maintain.php @@ -11,12 +11,13 @@ $lang ['admin'] ['maintain'] ['default'] = array( 'opt4' => 'Ukázat informace o PHP', 'opt5' => 'Zjistit aktualizace', - 'chmod_info' => 'Následující oprávnění nemůžou být resetované na 0776; pravděpodobně vlastník souborů není stejná osoba jako vlastník webu. ' . // + 'chmod_info' => 'Pokud se oprávnění souboru nepodařilo obnovit na ' . decoct(FILE_PERMISSIONS) . ', vlastník souboru pravděpodobně není stejný jako vlastník webového serveru.
' . // 'Případně můžete ignorovat toto oznámení.' ); $lang ['admin'] ['maintain'] ['default'] ['msgs'] = array( - 1 => 'Operace kompletní' + 1 => 'Operace kompletní', + -1 => 'Operace se nezdařila' ); $lang ['admin'] ['maintain'] ['updates'] = array( diff --git a/fp-interface/lang/cs-cz/lang.default.php b/fp-interface/lang/cs-cz/lang.default.php index 15cbf29..a1ef1bd 100644 --- a/fp-interface/lang/cs-cz/lang.default.php +++ b/fp-interface/lang/cs-cz/lang.default.php @@ -20,7 +20,10 @@ $lang ['main'] = array( 'nocomments' => 'Přidej komentář', 'comment' => '1 komentář', - 'comments' => 'komentáře' + 'comments' => 'komentáře', + + 'rss' => 'Přihlásit se k odběru RSS feed', + 'atom' => 'Přihlásit se k odběru Atom feed' ); $lang ['search'] = array( diff --git a/fp-interface/lang/da-dk/lang.admin.maintain.php b/fp-interface/lang/da-dk/lang.admin.maintain.php index 53cb1d4..f9768da 100644 --- a/fp-interface/lang/da-dk/lang.admin.maintain.php +++ b/fp-interface/lang/da-dk/lang.admin.maintain.php @@ -11,12 +11,13 @@ $lang ['admin'] ['maintain'] ['default'] = array( 'opt4' => 'Vis PHP-information om webserveren', 'opt5' => 'Tjek for nye versioner', - 'chmod_info' => 'Filadgangsrettighederne kunne ikke være nulstilles til standardværdierne på 0776.' . // + 'chmod_info' => 'Hvis filrettighederne ikke kunne nulstilles til ' . decoct(FILE_PERMISSIONS) . ', er ejeren af filen sandsynligvis ikke den samme som ejeren af webserveren.
' . // 'Normalt kan du ignorere dette tip.' ); $lang ['admin'] ['maintain'] ['default'] ['msgs'] = array( - 1 => 'Handling udført.' + 1 => 'Handling udført.', + -1 => 'Handling mislukt.' ); $lang ['admin'] ['maintain'] ['updates'] = array( diff --git a/fp-interface/lang/da-dk/lang.default.php b/fp-interface/lang/da-dk/lang.default.php index c5b914e..9987eae 100644 --- a/fp-interface/lang/da-dk/lang.default.php +++ b/fp-interface/lang/da-dk/lang.default.php @@ -20,7 +20,10 @@ $lang ['main'] = array( 'nocomments' => 'Tilføj kommentar', 'comment' => '1 Kommentar', - 'comments' => 'Kommentarer' + 'comments' => 'Kommentarer', + + 'rss' => 'Abonner på RSS-feed', + 'atom' => 'Abonner på Atom-feed' ); $lang ['search'] = array( diff --git a/fp-interface/lang/de-de/lang.admin.maintain.php b/fp-interface/lang/de-de/lang.admin.maintain.php index c3c7b4f..f25844e 100644 --- a/fp-interface/lang/de-de/lang.admin.maintain.php +++ b/fp-interface/lang/de-de/lang.admin.maintain.php @@ -11,12 +11,13 @@ $lang ['admin'] ['maintain'] ['default'] = array( 'opt4' => 'Zeige PHP-Informationen des Webservers', 'opt5' => 'Prüfe auf neue Versionen', - 'chmod_info' => 'Die Dateizugriffsrechte konnten nicht auf die Default Werte von 0776 zurückgesetzt werden. ' . // + 'chmod_info' => 'Wenn die Dateiberechtigungen nicht auf ' . decoct(FILE_PERMISSIONS) . ' zurückgesetzt werden konnten, ist wahrscheinlich der Eigentümer der Datei nicht derselbe wie der des Webservers.
' . // 'Normalerweise kann man diesen Hinweis ignorieren.' ); $lang ['admin'] ['maintain'] ['default'] ['msgs'] = array( - 1 => 'Aktion ausgeführt.' + 1 => 'Aktion ausgeführt.', + -1 => 'Aktion fehlgeschlagen.' ); $lang ['admin'] ['maintain'] ['updates'] = array( diff --git a/fp-interface/lang/de-de/lang.default.php b/fp-interface/lang/de-de/lang.default.php index dcfd9ae..3e0bc18 100644 --- a/fp-interface/lang/de-de/lang.default.php +++ b/fp-interface/lang/de-de/lang.default.php @@ -20,7 +20,10 @@ $lang ['main'] = array( 'nocomments' => 'Kommentar hinzufügen', 'comment' => '1 Kommentar', - 'comments' => 'Kommentare' + 'comments' => 'Kommentare', + + 'rss' => 'RSS-Feed abonnieren', + 'atom' => 'Atom-Feed abonnieren' ); $lang ['search'] = array( diff --git a/fp-interface/lang/el-gr/lang.admin.maintain.php b/fp-interface/lang/el-gr/lang.admin.maintain.php index 7f931b2..f92d4df 100644 --- a/fp-interface/lang/el-gr/lang.admin.maintain.php +++ b/fp-interface/lang/el-gr/lang.admin.maintain.php @@ -11,12 +11,13 @@ $lang ['admin'] ['maintain'] ['default'] = array( 'opt4' => 'Εμφάνιση πληροφοριών σχετικά με την PHP', 'opt5' => 'Έλεγχος για αναβαθμίσεις', - 'chmod_info' => 'Τα ακόλουθα δικαιώματα αρχείων δεν μπόρεσαν να επανέλθουν σε 0776; πιθανότατα ο ιδιοκτήτης των αρχείων δεν είναι ο ίδιος με τον ιδιοκτήτη του διακομιστή. ' . // + 'chmod_info' => 'Αν τα δικαιώματα του αρχείου δεν μπόρεσαν να επανέλθουν σε ' . decoct(FILE_PERMISSIONS) . ', ο ιδιοκτήτης του αρχείου δεν είναι πιθανότατα ο ίδιος με τον ιδιοκτήτη του διακομιστή ιστού.
' . // 'Συνήθως αυτή η ειδοποίηση μπορεί να αγνοηθεί.' ); $lang ['admin'] ['maintain'] ['default'] ['msgs'] = array( - 1 => 'Η διαδικασία ολοκληρώθηκε' + 1 => 'Η διαδικασία ολοκληρώθηκε', + -1 => 'Η διαδικασία απέτυχε' ); $lang ['admin'] ['maintain'] ['updates'] = array( diff --git a/fp-interface/lang/el-gr/lang.default.php b/fp-interface/lang/el-gr/lang.default.php index a7b10f3..a0b3972 100644 --- a/fp-interface/lang/el-gr/lang.default.php +++ b/fp-interface/lang/el-gr/lang.default.php @@ -20,7 +20,10 @@ $lang ['main'] = array( 'nocomments' => 'Προσθήκη σχολίου', 'comment' => '1 σχόλιο', - 'comments' => 'σχόλια' + 'comments' => 'σχόλια', + + 'rss' => 'Εγγραφείτε στο RSS Feed', + 'atom' => 'Εγγραφείτε στο Atom Feed' ); $lang ['search'] = array( diff --git a/fp-interface/lang/en-us/lang.admin.maintain.php b/fp-interface/lang/en-us/lang.admin.maintain.php index 4209d2d..f0ef681 100755 --- a/fp-interface/lang/en-us/lang.admin.maintain.php +++ b/fp-interface/lang/en-us/lang.admin.maintain.php @@ -11,12 +11,13 @@ $lang ['admin'] ['maintain'] ['default'] = array( 'opt4' => 'Show info about PHP', 'opt5' => 'Check for updates', - 'chmod_info' => 'The following file permissions could not be reset to 0776; probably file owner is not the same as the webserver\'s. ' . // - 'Usually you can ignore this notice.' + 'chmod_info' => 'If the file permissions could not be reset to ' . decoct(FILE_PERMISSIONS) . ', the owner of the file is probably not the same as the owner of the web server.
' . // + 'Normalement, tu peux ignorer cette remarque.' ); $lang ['admin'] ['maintain'] ['default'] ['msgs'] = array( - 1 => 'Operation completed' + 1 => 'Operation completed', + -1 => 'Operation failed' ); $lang ['admin'] ['maintain'] ['updates'] = array( diff --git a/fp-interface/lang/en-us/lang.default.php b/fp-interface/lang/en-us/lang.default.php index 6112c45..72a0552 100755 --- a/fp-interface/lang/en-us/lang.default.php +++ b/fp-interface/lang/en-us/lang.default.php @@ -20,7 +20,10 @@ $lang ['main'] = array( 'nocomments' => 'Add a comment', 'comment' => '1 comment', - 'comments' => 'comments' + 'comments' => 'comments', + + 'rss' => 'Subscribe RSS feed', + 'atom' => 'Subscribe Atom feed' ); $lang ['search'] = array( diff --git a/fp-interface/lang/es-es/lang.admin.maintain.php b/fp-interface/lang/es-es/lang.admin.maintain.php index e720ca9..33b67fd 100644 --- a/fp-interface/lang/es-es/lang.admin.maintain.php +++ b/fp-interface/lang/es-es/lang.admin.maintain.php @@ -11,12 +11,13 @@ $lang ['admin'] ['maintain'] ['default'] = array( 'opt4' => 'Mostrar información sobre PHP', 'opt5' => 'Buscar actualizaciones', - 'chmod_info' => 'Los siguientes permisos de archivo no pudieron ser reiniciados a 0776; probablemente el propietario del archivo no sea el mismo que el del servidor web. ' . // + 'chmod_info' => 'Si los permisos del archivo no se pudieron restablecer a ' . decoct(FILE_PERMISSIONS) . ', es probable que el propietario del archivo no sea el mismo que el del servidor web.
' . // 'Por lo general, puede ignorar este aviso.' ); $lang ['admin'] ['maintain'] ['default'] ['msgs'] = array( - 1 => 'Operación completada' + 1 => 'Operación completada', + -1 => 'Operación fallida' ); $lang ['admin'] ['maintain'] ['updates'] = array( diff --git a/fp-interface/lang/es-es/lang.default.php b/fp-interface/lang/es-es/lang.default.php index 578d71a..22ce70b 100644 --- a/fp-interface/lang/es-es/lang.default.php +++ b/fp-interface/lang/es-es/lang.default.php @@ -20,7 +20,10 @@ $lang ['main'] = array( 'nocomments' => 'Agregar un Comentario', 'comment' => '1 comentario', - 'comments' => 'comentarios' + 'comments' => 'comentarios', + + 'rss' => 'Suscribirse a RSS Feed', + 'atom' => 'Suscribirse a Atom Feed' ); $lang ['search'] = array( diff --git a/fp-interface/lang/fr-fr/lang.admin.maintain.php b/fp-interface/lang/fr-fr/lang.admin.maintain.php index dbae116..441054f 100644 --- a/fp-interface/lang/fr-fr/lang.admin.maintain.php +++ b/fp-interface/lang/fr-fr/lang.admin.maintain.php @@ -11,12 +11,13 @@ $lang ['admin'] ['maintain'] ['default'] = array( 'opt4' => 'Afficher info.php', 'opt5' => 'Vérifier les mises à jour', - 'chmod_info' => 'Les permissions de fichiers (chmod) ne sont peut-être pas à 0776; propriétaire du fichier peut-ê' . // + 'chmod_info' => 'Si les permissions du fichier n\'ont pas pu être remises à ' . decoct(FILE_PERMISSIONS) . ', il est probable que le propriétaire du fichier ne soit pas le même que celui du serveur web.
' . // 'tre différent du serveur web.' ); $lang ['admin'] ['maintain'] ['default'] ['msgs'] = array( - 1 => 'Opération effectuée' + 1 => 'Opération effectuée', + -1 => 'Échec de l\'opération' ); $lang ['admin'] ['maintain'] ['updates'] = array( diff --git a/fp-interface/lang/fr-fr/lang.default.php b/fp-interface/lang/fr-fr/lang.default.php index a21e4f4..fa2ca87 100644 --- a/fp-interface/lang/fr-fr/lang.default.php +++ b/fp-interface/lang/fr-fr/lang.default.php @@ -20,7 +20,10 @@ $lang ['main'] = array( 'nocomments' => 'Ajouter un commentaire', 'comment' => '1 commentaire', - 'comments' => 'commentaires' + 'comments' => 'commentaires', + + 'rss' => 'S\'abonner au flux RSS', + 'atom' => 'S\'abonner au flux Atom' ); $lang ['search'] = array( diff --git a/fp-interface/lang/it-it/lang.admin.maintain.php b/fp-interface/lang/it-it/lang.admin.maintain.php index bacdba7..a84baf8 100644 --- a/fp-interface/lang/it-it/lang.admin.maintain.php +++ b/fp-interface/lang/it-it/lang.admin.maintain.php @@ -11,12 +11,13 @@ $lang ['admin'] ['maintain'] ['default'] = array( 'opt4' => 'Visualizza informazioni su PHP', 'opt5' => 'Controllo aggiornamenti', - 'chmod_info' => 'I seguenti permessi dei file non possono essere ripristinati a 0776; probabilmente il proprietario non è lo stesso del server web. ' . // + 'chmod_info' => 'Se non è stato possibile reimpostare i permessi del file a ' . decoct(FILE_PERMISSIONS) . ', probabilmente il proprietario del file non è lo stesso del server web.
' . // 'Di solito puoi ignorare questo avviso.' ); $lang ['admin'] ['maintain'] ['default'] ['msgs'] = array( - 1 => 'Operazione completata con successo' + 1 => 'Operazione completata con successo', + -1 => 'Operazione non completata con successo' ); $lang ['admin'] ['maintain'] ['updates'] = array( diff --git a/fp-interface/lang/it-it/lang.default.php b/fp-interface/lang/it-it/lang.default.php index 39339bc..65a6f24 100644 --- a/fp-interface/lang/it-it/lang.default.php +++ b/fp-interface/lang/it-it/lang.default.php @@ -20,7 +20,10 @@ $lang ['main'] = array( 'nocomments' => 'Aggiungi un commento', 'comment' => '1 commento', - 'comments' => 'commenti' + 'comments' => 'commenti', + + 'rss' => 'Iscriviti al feed RSS', + 'atom' => 'Iscriviti al feed Atom' ); $lang ['search'] = array( diff --git a/fp-interface/lang/ja-jp/lang.admin.maintain.php b/fp-interface/lang/ja-jp/lang.admin.maintain.php index 825f208..cd02334 100644 --- a/fp-interface/lang/ja-jp/lang.admin.maintain.php +++ b/fp-interface/lang/ja-jp/lang.admin.maintain.php @@ -11,12 +11,13 @@ $lang ['admin'] ['maintain'] ['default'] = array( 'opt4' => 'PHP情報を表示します', 'opt5' => 'アップデートをチェックします', - 'chmod_info' => '次のファイルのパーミッションを 0776 にリセットできません; おそらく、ファイルの所有権者とウェブサーバの権限が異なるのでしょう。' . // + 'chmod_info' => 'ファイルのパーミッションを' . decoct(FILE_PERMISSIONS) . 'にリセットできなかった場合、ファイルの所有者がウェブサーバーの所有者と同じでない可能性があります。
' . // 'でも通常、この通知を無視することができます。' ); $lang ['admin'] ['maintain'] ['default'] ['msgs'] = array( - 1 => '作業を完了しました。' + 1 => '作業を完了しました。', + -1 => '操作が正常に完了しなかった。' ); $lang ['admin'] ['maintain'] ['updates'] = array( diff --git a/fp-interface/lang/ja-jp/lang.default.php b/fp-interface/lang/ja-jp/lang.default.php index 486d653..33322ce 100644 --- a/fp-interface/lang/ja-jp/lang.default.php +++ b/fp-interface/lang/ja-jp/lang.default.php @@ -20,7 +20,10 @@ $lang['main'] = array( 'nocomments' => 'コメントを追加する', 'comment' => '1コメントあります', - 'comments' => 'コメントあります' + 'comments' => 'コメントあります', + + 'rss' => 'RSSフィードを購読する', + 'atom' => 'Atomフィードを購読する' ); $lang['search'] = array( diff --git a/fp-interface/lang/nl-nl/lang.admin.maintain.php b/fp-interface/lang/nl-nl/lang.admin.maintain.php index 09d5d4a..cb157b0 100644 --- a/fp-interface/lang/nl-nl/lang.admin.maintain.php +++ b/fp-interface/lang/nl-nl/lang.admin.maintain.php @@ -11,12 +11,13 @@ $lang ['admin'] ['maintain'] ['default'] = array( 'opt4' => 'Toon info over PHP', 'opt5' => 'Controleren op updates', - 'chmod_info' => 'De volgende bestandsmachtigingen kan niet worden teruggezet naar 0776; waarschijnlijk is de bestandseigenaar niet hetzelfde als de webserver\'s. ' . // + 'chmod_info' => 'Als de bestandsrechten niet konden worden teruggezet naar ' . decoct(FILE_PERMISSIONS) . ', is de eigenaar van het bestand waarschijnlijk niet dezelfde als de eigenaar van de webserver.
' . // 'Meestal kunt u deze kennisgeving negeren.' ); $lang ['admin'] ['maintain'] ['default'] ['msgs'] = array( - 1 => 'Operation completed' + 1 => 'Operation completed', + -1 => 'Operatie mislukt' ); $lang ['admin'] ['maintain'] ['updates'] = array( diff --git a/fp-interface/lang/nl-nl/lang.default.php b/fp-interface/lang/nl-nl/lang.default.php index 7b1e28e..92ef690 100644 --- a/fp-interface/lang/nl-nl/lang.default.php +++ b/fp-interface/lang/nl-nl/lang.default.php @@ -20,7 +20,10 @@ $lang ['main'] = array( 'nocomments' => 'Voeg een commentaar toe', 'comment' => '1 commentaar', - 'comments' => 'commentaren' + 'comments' => 'commentaren', + + 'rss' => 'Abonneren op RSS-feed', + 'atom' => 'Abonneren op Atom-feed' ); $lang ['search'] = array( diff --git a/fp-interface/lang/pt-br/lang.admin.maintain.php b/fp-interface/lang/pt-br/lang.admin.maintain.php index 8109353..7a37806 100644 --- a/fp-interface/lang/pt-br/lang.admin.maintain.php +++ b/fp-interface/lang/pt-br/lang.admin.maintain.php @@ -11,12 +11,13 @@ $lang ['admin'] ['maintain'] ['default'] = array( 'opt4' => 'Mostre as informações sobre o PHP', 'opt5' => 'Procure atualizações', - 'chmod_info' => 'As seguintes permissões de arquivo não puderam ser redefinidas para 0776; provavelmente o proprietário do arquivo não é o mesmo do servidor da web. ' . // + 'chmod_info' => 'Se não for possível redefinir as permissões do arquivo para ' . decoct(FILE_PERMISSIONS) . ', o proprietário do arquivo provavelmente não é o mesmo que o proprietário do servidor Web.
' . // 'Geralmente você pode ignorar este aviso.' ); $lang ['admin'] ['maintain'] ['default'] ['msgs'] = array( - 1 => 'Operação concluída' + 1 => 'Operação concluída', + -1 => 'Falha na operação' ); $lang ['admin'] ['maintain'] ['updates'] = array( diff --git a/fp-interface/lang/pt-br/lang.default.php b/fp-interface/lang/pt-br/lang.default.php index e96a132..de687ac 100644 --- a/fp-interface/lang/pt-br/lang.default.php +++ b/fp-interface/lang/pt-br/lang.default.php @@ -20,7 +20,10 @@ $lang ['main'] = array( 'nocomments' => 'Adicione comentário', 'comment' => '1 comentário', - 'comments' => 'comentários' + 'comments' => 'comentários', + + 'rss' => 'Assine o RSS Feed', + 'atom' => 'Assine o Atom Feed' ); $lang ['search'] = array( diff --git a/fp-interface/lang/ru-ru/lang.admin.maintain.php b/fp-interface/lang/ru-ru/lang.admin.maintain.php index d1e308c..3663f78 100644 --- a/fp-interface/lang/ru-ru/lang.admin.maintain.php +++ b/fp-interface/lang/ru-ru/lang.admin.maintain.php @@ -11,12 +11,13 @@ $lang ['admin'] ['maintain'] ['default'] = array( 'opt4' => 'Показать информацию о PHP', 'opt5' => 'Проверить наличие обновлений', - 'chmod_info' => 'Не удалось сбросить следующие права доступа к файлам на 0776; вероятно, владелец файла не совпадает с владельцем веб-сервера. ' . // + 'chmod_info' => 'Если права доступа к файлу не удалось сбросить на ' . decoct(FILE_PERMISSIONS) . ', владелец файла, вероятно, не совпадает с владельцем веб-сервера.
' . // 'Обычно это уведомление можно проигнорировать.' ); $lang ['admin'] ['maintain'] ['default'] ['msgs'] = array( - 1 => 'Операция выполнена' + 1 => 'Операция выполнена', + -1 => 'Операция не удалась' ); $lang ['admin'] ['maintain'] ['updates'] = array( diff --git a/fp-interface/lang/ru-ru/lang.default.php b/fp-interface/lang/ru-ru/lang.default.php index 748d72d..f3e1640 100644 --- a/fp-interface/lang/ru-ru/lang.default.php +++ b/fp-interface/lang/ru-ru/lang.default.php @@ -20,7 +20,10 @@ $lang ['main'] = array( 'nocomments' => 'Добавить комментарий', 'comment' => '1 комментарий', - 'comments' => 'комментарии' + 'comments' => 'комментарии', + + 'rss' => 'Подписаться на RSS-канал', + 'atom' => 'Подписаться на Atom-канал' ); $lang ['search'] = array( diff --git a/fp-interface/lang/sl-si/lang.admin.maintain.php b/fp-interface/lang/sl-si/lang.admin.maintain.php index b37ddf7..996ef2a 100644 --- a/fp-interface/lang/sl-si/lang.admin.maintain.php +++ b/fp-interface/lang/sl-si/lang.admin.maintain.php @@ -11,12 +11,13 @@ $lang ['admin'] ['maintain'] ['default'] = array( 'opt4' => 'Prikaži informacije o PHP', 'opt5' => 'Preveri posodobitve', - 'chmod_info' => 'Naslednja dovoljenja za datoteke ni mogoče povrniti na 0776; verjetno lastnik datoteke ni isti kot spletne strežnik. ' . // + 'chmod_info' => 'Če pravic datoteke ni bilo mogoče ponastaviti na ' . decoct(FILE_PERMISSIONS) . ', lastnik datoteke verjetno ni isti kot lastnik spletnega strežnika.
' . // 'Običajno lahko to obvestilo prezrete.' ); $lang ['admin'] ['maintain'] ['default'] ['msgs'] = array( - 1 => 'Operacija je končana' + 1 => 'Operacija je končana', + -1 => 'Operacija ni uspela' ); $lang ['admin'] ['maintain'] ['updates'] = array( diff --git a/fp-interface/lang/sl-si/lang.default.php b/fp-interface/lang/sl-si/lang.default.php index f025d23..9f4ade8 100644 --- a/fp-interface/lang/sl-si/lang.default.php +++ b/fp-interface/lang/sl-si/lang.default.php @@ -20,7 +20,10 @@ $lang ['main'] = array( 'nocomments' => 'Dodajte komentar', 'comment' => '1 komentar', - 'comments' => 'komentarji' + 'comments' => 'komentarji', + + 'rss' => 'Naročite se na vir RSS', + 'atom' => 'Naročite se na vir Atom' ); $lang ['search'] = array( diff --git a/fp-interface/themes/leggero/flatmaas-rev/res/common.css b/fp-interface/themes/leggero/flatmaas-rev/res/common.css index 8abf621..0bcced2 100755 --- a/fp-interface/themes/leggero/flatmaas-rev/res/common.css +++ b/fp-interface/themes/leggero/flatmaas-rev/res/common.css @@ -129,6 +129,12 @@ h1 { /* Title of the blog */ text-decoration: none } +#head a img.feed { + float: right; + margin: 0px !IMPORTANT; + height: 12px +} + h2 { /* Titles of the entry */ font-size: 1.4em; color: #333333; @@ -410,3 +416,6 @@ form#search ul li:before { content: none } /* Calendar-widget */ #widget_calendar table.calendar { font-size: 90% } + +/* Feed-widget */ +.feed-widget { height: 12px !IMPORTANT; } diff --git a/fp-interface/themes/leggero/leggero-v2/res/common.css b/fp-interface/themes/leggero/leggero-v2/res/common.css index 5c5bffa..ec5f5fc 100644 --- a/fp-interface/themes/leggero/leggero-v2/res/common.css +++ b/fp-interface/themes/leggero/leggero-v2/res/common.css @@ -180,6 +180,7 @@ h4 { font-size: 1.2em } margin: .5em 0 0 0 } + /* ===== DIV CONTAINER "MAIN" ===== */ #outer-container { position: relative; @@ -239,6 +240,12 @@ h4 { font-size: 1.2em } width: 100%; height: 180px !IMPORTANT } + + #head a img.feed { + float: right; + margin: 0px; + height: 14px + } } @media (min-width: 768px) { /* Smartphone landscape and Tablet */ @@ -266,6 +273,8 @@ h4 { font-size: 1.2em } .bbcode_video.right { float: right !IMPORTANT; margin: 0.5em 0.5em 1em 1em } .bbcode_video.left { float: left !IMPORTANT; margin: 0.5em 1em 1em 0.5em } + + #head a img.feed { height: 16px } } @media (min-width: 1024px) { /* Laptop and small Desktop-PC */ @@ -352,6 +361,12 @@ h4 { font-size: 1.2em } } .bbcode_video.nofloat { text-align: center } + + #head a img.feed { + float: right; + margin: 0px; + height: 10px + } } #main p { line-height: 1.4em; margin-top: 1em } diff --git a/fp-interface/themes/leggero/leggero/res/style.css b/fp-interface/themes/leggero/leggero/res/style.css index 3c91a96..e8320da 100644 --- a/fp-interface/themes/leggero/leggero/res/style.css +++ b/fp-interface/themes/leggero/leggero/res/style.css @@ -10,7 +10,7 @@ Author: NoWhereMan & drudo Version: 0.2 Module: style.css -last change: 2023-11-01 +last change: 2024-02-05 */ @@ -33,6 +33,13 @@ body { margin: 80px 0 10px 0 } text-align: left } +#head a img.feed { + float: right; + height: 16px; + position: relative; + top: -6.3em +} + /* 800er Bildschirme zum Beispiel iPad Hochformat */ @media (max-width: 768px) { @@ -95,6 +102,8 @@ body { margin: 80px 0 10px 0 } width: 100% } + #head a img.feed { display: none } + h1 { margin: 0; padding: 0.5em 0 0 0.2em diff --git a/fp-plugins/akismet/inc/Akismet.class.php b/fp-plugins/akismet/inc/Akismet.class.php deleted file mode 100755 index b274b7c..0000000 --- a/fp-plugins/akismet/inc/Akismet.class.php +++ /dev/null @@ -1,391 +0,0 @@ -Usage: - * - * $akismet = new Akismet('http://www.example.com/blog/', 'aoeu1aoue'); - * $akismet->setCommentAuthor($name); - * $akismet->setCommentAuthorEmail($email); - * $akismet->setCommentAuthorURL($url); - * $akismet->setCommentContent($comment); - * $akismet->setPermalink('http://www.example.com/blog/alex/someurl/'); - * if($akismet->isCommentSpam()) - * // store the comment but mark it as spam (in case of a mis-diagnosis) - * else - * // store the comment normally - * - * - * @package akismet - * @name Akismet - * @version 0.2 - * @author Alex Potsides (converted to PHP4 by Bret Kuhns) - * @link http://www.achingbrain.net/ - */ -class Akismet { - - var $version = '0.2'; - - var $wordPressAPIKey; - - var $blogURL; - - var $comment; - - var $apiPort; - - var $akismetServer; - - var $akismetVersion; - - // This prevents some potentially sensitive information from being sent accross the wire. - var $ignore = array( - 'HTTP_COOKIE', - 'HTTP_X_FORWARDED_FOR', - 'HTTP_X_FORWARDED_HOST', - 'HTTP_MAX_FORWARDS', - 'HTTP_X_FORWARDED_SERVER', - 'REDIRECT_STATUS', - 'SERVER_PORT', - 'PATH', - 'DOCUMENT_ROOT', - 'SERVER_ADMIN', - 'QUERY_STRING', - 'PHP_SELF' - ); - - /** - * - * @throws Exception An exception is thrown if your API key is invalid. - * @param - * string Your WordPress API key. - * @param string $blogURL - * The URL of your blog. - */ - function __construct($blogURL, $wordPressAPIKey) { - $this->blogURL = $blogURL; - $this->wordPressAPIKey = $wordPressAPIKey; - - // Set some default values - $this->apiPort = 80; - $this->akismetServer = 'rest.akismet.com'; - $this->akismetVersion = '1.1'; - - // Start to populate the comment data - $this->comment ['blog'] = $blogURL; - $this->comment ['user_agent'] = $_SERVER ['HTTP_USER_AGENT']; - $this->comment ['referrer'] = $_SERVER ['HTTP_REFERER']; - - // This is necessary if the server PHP5 is running on has been set up to run PHP4 and - // PHP5 concurently and is actually running through a separate proxy al a these instructions: - // http://www.schlitt.info/applications/blog/archives/83_How_to_run_PHP4_and_PHP_5_parallel.html - // and http://wiki.coggeshall.org/37.html - // Otherwise the user_ip appears as the IP address of the PHP4 server passing the requests to the - // PHP5 one... - $this->comment ['user_ip'] = $_SERVER ['REMOTE_ADDR'] != getenv('SERVER_ADDR') ? $_SERVER ['REMOTE_ADDR'] : getenv('HTTP_X_FORWARDED_FOR'); - - // Check to see if the key is valid - $response = $this->http_post('key=' . $this->wordPressAPIKey . '&blog=' . $this->blogURL, $this->akismetServer, '/' . $this->akismetVersion . '/verify-key'); - - if ($response [1] != 'valid') { - // Whoops, no it's not. Throw an exception as we can't proceed without a valid API key. - trigger_error('Invalid API key. Please obtain one from http://wordpress.com/api-keys/', E_USER_ERROR); - } - } - - function http_post($request, $host, $path) { - $http_request = "POST " . $path . " HTTP/1.0\r\n" . // - "Host: " . $host . "\r\n" . // - "Content-Type: application/x-www-form-urlencoded; charset=utf-8\r\n" . // - "Content-Length: " . strlen($request) . "\r\n" . // - "User-Agent: Akismet PHP5 Class " . $this->version . " | Akismet/1.11\r\n" . // - "\r\n" . // - $request; - - $socketWriteRead = new SocketWriteRead($host, $this->apiPort, $http_request); - $socketWriteRead->send(); - - return explode("\r\n\r\n", $socketWriteRead->getResponse(), 2); - } - - // Formats the data for transmission echo $sql; - function getQueryString() { - foreach ($_SERVER as $key => $value) { - if (!in_array($key, $this->ignore)) { - if ($key == 'REMOTE_ADDR') { - $this->comment [$key] = $this->comment ['user_ip']; - } else { - $this->comment [$key] = $value; - } - } - } - - $query_string = ''; - - foreach ($this->comment as $key => $data) { - - @$query_string .= $key . '=' . urlencode(stripslashes($data)) . '&'; - } - - return $query_string; - } - - /** - * Tests for spam. - * - * Uses the web service provided by {@link http://www.akismet.com Akismet} to see whether or not the submitted comment is spam. Returns a boolean value. - * - * @return bool True if the comment is spam, false if not - */ - function isSpam() { - $response = $this->http_post($this->getQueryString(), $this->wordPressAPIKey . '.rest.akismet.com', '/' . $this->akismetVersion . '/comment-check'); - - return ($response [1] == 'true'); - } - - /** - * Submit spam that is incorrectly tagged as ham. - * - * Using this function will make you a good citizen as it helps Akismet to learn from its mistakes. This will improve the service for everybody. - */ - function submitSpam() { - $this->http_post($this->getQueryString(), $this->wordPressAPIKey . '.' . $this->akismetServer, '/' . $this->akismetVersion . '/submit-spam'); - } - - /** - * Submit ham that is incorrectly tagged as spam. - * - * Using this function will make you a good citizen as it helps Akismet to learn from its mistakes. This will improve the service for everybody. - */ - function submitHam() { - $this->http_post($this->getQueryString(), $this->wordPressAPIKey . '.' . $this->akismetServer, '/' . $this->akismetVersion . '/submit-ham'); - } - - /** - * To override the user IP address when submitting spam/ham later on - * - * @param string $userip - * An IP address. Optional. - */ - function setUserIP($userip) { - $this->comment ['user_ip'] = $userip; - } - - /** - * To override the referring page when submitting spam/ham later on - * - * @param string $referrer - * The referring page. Optional. - */ - function setReferrer($referrer) { - $this->comment ['referrer'] = $referrer; - } - - /** - * A permanent URL referencing the blog post the comment was submitted to. - * - * @param string $permalink - * The URL. Optional. - */ - function setPermalink($permalink) { - $this->comment ['permalink'] = $permalink; - } - - /** - * The type of comment being submitted. - * - * May be blank, comment, trackback, pingback, or a made up value like "registration" or "wiki". - */ - function setType($commentType) { - $this->comment ['comment_type'] = $commentType; - } - - /** - * The name that the author submitted with the comment. - */ - function setAuthor($commentAuthor) { - $this->comment ['comment_author'] = $commentAuthor; - } - - /** - * The email address that the author submitted with the comment. - * - * The address is assumed to be valid. - */ - function setAuthorEmail($authorEmail) { - $this->comment ['comment_author_email'] = $authorEmail; - } - - /** - * The URL that the author submitted with the comment. - */ - function setAuthorURL($authorURL) { - $this->comment ['comment_author_url'] = $authorURL; - } - - /** - * The comment's body text. - */ - function setContent($commentBody) { - $this->comment ['comment_content'] = $commentBody; - } - - /** - * Defaults to 80 - */ - function setAPIPort($apiPort) { - $this->apiPort = $apiPort; - } - - /** - * Defaults to rest.akismet.com - */ - function setAkismetServer($akismetServer) { - $this->akismetServer = $akismetServer; - } - - /** - * Defaults to '1.1' - */ - function setAkismetVersion($akismetVersion) { - $this->akismetVersion = $akismetVersion; - } - -} - -/** - * Utility class used by Akismet - * - * This class is used by Akismet to do the actual sending and receiving of data. It opens a connection to a remote host, sends some data and the reads the response and makes it available to the calling program. - * - * The code that makes up this class originates in the Akismet WordPress plugin, which is {@link http://akismet.com/download/ available on the Akismet website}. - * - * N.B. It is not necessary to call this class directly to use the Akismet class. This is included here mainly out of a sense of completeness. - * - * @package akismet - * @name SocketWriteRead - * @version 0.1 - * @author Alex Potsides - * @link http://www.achingbrain.net/ - */ -class SocketWriteRead { - - var $host; - - var $port; - - var $request; - - var $response; - - var $responseLength; - - var $errorNumber; - - var $errorString; - - /** - * - * @param string $host - * The host to send/receive data. - * @param int $port - * The port on the remote host. - * @param string $request - * The data to send. - * @param int $responseLength - * The amount of data to read. Defaults to 1160 bytes. - */ - function __construct($host, $port, $request, $responseLength = 1160) { - $this->host = $host; - $this->port = $port; - $this->request = $request; - $this->responseLength = $responseLength; - $this->errorNumber = 0; - $this->errorString = ''; - } - - /** - * Sends the data to the remote host. - * - * @throws An exception is thrown if a connection cannot be made to the remote host. - */ - function send() { - $this->response = ''; - - $fs = fsockopen($this->host, $this->port, $this->errorNumber, $this->errorString, AKISMET_TIMEOUT); - - if ($this->errorNumber != 0) { - trigger_error('Error connecting to host: ' . $this->host . ' Error number: ' . $this->errorNumber . ' Error message: ' . $this->errorString, E_USER_ERROR); - } - - if ($fs !== false) { - @fwrite($fs, $this->request); - - while (!feof($fs)) { - $this->response .= fgets($fs, $this->responseLength); - } - - fclose($fs); - } - } - - /** - * Returns the server response text - * - * @return string - */ - function getResponse() { - return $this->response; - } - - /** - * Returns the error number - * - * If there was no error, 0 will be returned. - * - * @return int - */ - function getErrorNumber() { - return $this->errorNumber; - } - - /** - * Returns the error string - * - * If there was no error, an empty string will be returned. - * - * @return string - */ - function getErrorString() { - return $this->errorString; - } - -} -?> \ No newline at end of file diff --git a/fp-plugins/akismet/lang/lang.cs-cz.php b/fp-plugins/akismet/lang/lang.cs-cz.php deleted file mode 100644 index 5cf7fcb..0000000 --- a/fp-plugins/akismet/lang/lang.cs-cz.php +++ /dev/null @@ -1,24 +0,0 @@ - 'Kľíč API není nastavený. Otevřte plugin a nastavte klíč API. Zaregistrujte sa na akismet.com a získejte nějaký.' -); - -$lang ['admin'] ['plugin'] ['submenu'] ['akismet'] = 'Nastavení Akismet'; - -$lang ['admin'] ['plugin'] ['akismet'] = array( - 'head' => 'Nastavení Akismet', - 'description '=> 'Většině uživatelům, Akismet výrazně znižuje ' . // - 'nebo úplně eliminuje spam v komentářích a trackbacky na stránkách. ' . // - 'Pokud ještě nemáte účet na akismet.com, založte si ho ' . // - 'akismet.com/signup.', - 'apikey' => 'akismet.com API klíč', - 'whatis' => '(Co to je?)', - 'submit' => 'Uložit klíč API' -); - - $lang['admin']['plugin']['akismet']['msgs'] = array( - 1 => 'Klíč API uložený', - -1 => 'Klíč API je neplatný' -); - -?> \ No newline at end of file diff --git a/fp-plugins/akismet/lang/lang.da-dk.php b/fp-plugins/akismet/lang/lang.da-dk.php deleted file mode 100644 index 18564f4..0000000 --- a/fp-plugins/akismet/lang/lang.da-dk.php +++ /dev/null @@ -1,23 +0,0 @@ - 'Ingen API-nøgle tilgængelig, indtast venligst denne for pluginet eller gå til akismet.com for at anmode om en gyldig API-nøgle ved at registrere dig.' -); - -$lang ['admin'] ['plugin'] ['submenu'] ['akismet'] = 'Akismet Konfiguration'; - -$lang ['admin'] ['plugin'] ['akismet'] = array( - 'head' => 'Akismet Konfiguration', - 'description' => 'Med Akismet kan du reducere eller helt fjerne spam, ' . // - 'der når denne blog via kommentarer eller trackbacks. ' . // - 'Hvis du ikke har en Wordpress.com-konto endnu, kan du oprette en på ' . // - 'akismet.com/signup for at anmode om en API-nøgle.', - 'apikey' => 'Akismet API-nøgle', - 'whatis' => '(Hvad er en API-nøgle?)', - 'submit' => 'Gem API-nøgle' -); - -$lang ['admin'] ['plugin'] ['akismet'] ['msgs'] = array( - 1 => 'API-nøglen er blevet gemt', - -1 => 'API-nøglen er ikke gyldig' -); -?> diff --git a/fp-plugins/akismet/lang/lang.de-de.php b/fp-plugins/akismet/lang/lang.de-de.php deleted file mode 100644 index c12e314..0000000 --- a/fp-plugins/akismet/lang/lang.de-de.php +++ /dev/null @@ -1,23 +0,0 @@ - 'Kein API Key vorhanden, bitte diesen für das Plugin eintragen oder auf akismet.com einen gültigen API Key durch Registrierung beantragen.' -); - -$lang ['admin'] ['plugin'] ['submenu'] ['akismet'] = 'Akismet Konfiguration'; - -$lang ['admin'] ['plugin'] ['akismet'] = array( - 'head' => 'Akismet Konfiguration', - 'description'=>'Mit Akismet kann man Spam reduzieren ' . // - 'oder komplett eliminieren der durch Kommentare oder Trackbacks dieses Blog erreicht. ' . // - 'Wenn bis jetzt noch kein Akismet Account existiert, so kann man auf ' . // - 'akismet.com/signup einen anlegen um einen API key zu beantragen.', - 'apikey' => 'Akismet API Key', - 'whatis' => '(Was ist ein API Key?)', - 'submit' => 'API key speichern' -); - -$lang ['admin'] ['plugin'] ['akismet'] ['msgs'] = array( - 1 => 'Der API key wurde gespeichert', - -1 => 'Der API key ist nicht gültig' -); -?> diff --git a/fp-plugins/akismet/lang/lang.el-gr.php b/fp-plugins/akismet/lang/lang.el-gr.php deleted file mode 100644 index faae000..0000000 --- a/fp-plugins/akismet/lang/lang.el-gr.php +++ /dev/null @@ -1,23 +0,0 @@ - 'Δεν έχει οριστεί κλειδί API. Ανοίξτε το πρόσθετο για να ρυθμίσετε το API κλειδί σας. Εγγραφείτε στο akismet.com για να λάβετε ένα.' -); - -$lang ['admin'] ['plugin'] ['submenu'] ['akismet'] = 'Ρύθμιση του Akismet'; - -$lang ['admin'] ['plugin'] ['akismet'] = array( - 'head' => 'Ρύθμιση του Akismet', - 'description' => 'Για πολλούς ανθρώπους, το Akismet θα μειώσει αξιοσημείωτα ' . // - 'ή ακόμη και θα εξαλείψει πλήρως τα κακόβουλα αυτοματοποιημένα μηνύματα που δέχεται η ιστοσελίδα. ' . // - 'Εάν δεν έχετε ακόμη έναν λογαριασμό akismet.com, μπορείτε να δημιουργήσετε έναν στο ' . // - 'akismet.com/signup.', - 'apikey' => 'Akismet κλειδί API', - 'whatis' => '(Τι είναι αυτό;)', - 'submit' => 'Αποθήκευση κλειδιού API' - ); - -$lang ['admin'] ['plugin'] ['akismet'] ['msgs'] = array( - 1 => 'Το κλειδί API αποθηκεύτηκε', - -1 => 'Το κλειδί API δεν είναι έγκυρο' -); -?> diff --git a/fp-plugins/akismet/lang/lang.en-us.php b/fp-plugins/akismet/lang/lang.en-us.php deleted file mode 100644 index 2bc6f26..0000000 --- a/fp-plugins/akismet/lang/lang.en-us.php +++ /dev/null @@ -1,23 +0,0 @@ - 'API key not set. Open the plugin to set your API key. Register on akismet.com to get one.' -); - -$lang ['admin'] ['plugin'] ['submenu'] ['akismet'] = 'Akismet Config'; - -$lang ['admin'] ['plugin'] ['akismet'] = array( - 'head' => 'Akismet Configuration', - 'description' => 'For many people, Akismet will greatly reduce ' . // - 'or even completely eliminate the comment and trackback spam you get on your site. ' . // - 'If you don\'t have a akismet.com account yet, you can get one at ' . // - 'akismet.com/signup.', - 'apikey' => 'Akismet API Key', - 'whatis' => '(What is an API key?)', - 'submit' => 'Save API key' -); - -$lang ['admin'] ['plugin'] ['akismet'] ['msgs'] = array( - 1 => 'API key saved', - -1 => 'API key is not valid' -); -?> diff --git a/fp-plugins/akismet/lang/lang.es-es.php b/fp-plugins/akismet/lang/lang.es-es.php deleted file mode 100644 index 4289706..0000000 --- a/fp-plugins/akismet/lang/lang.es-es.php +++ /dev/null @@ -1,23 +0,0 @@ - 'No se estableció la clave de API. Abra el Plugin para configurar su clave de API. Registrarse en akismet.com para conseguir uno.' -); - -$lang ['admin'] ['plugin'] ['submenu'] ['akismet'] = 'Configuración de Akismet'; - -$lang ['admin'] ['plugin'] ['akismet'] = array( - 'head' => 'Configuración de Akismet', - 'description' => 'Para muchas personas, Akismet reducirá en gran medida ' . // - 'o incluso eliminar por completo el spam de comentarios y trackback que recibe en su sitio. ' . // - 'Si aún no tiene una cuenta de akismet.com, puede obtener una en ' . // - 'akismet.com/signup.', - 'apikey' => 'Akismet API Key', - 'whatis' => '(¿Que es esto?)', - 'submit' => 'Guardar clave de API' -); - -$lang ['admin'] ['plugin'] ['akismet'] ['msgs'] = array( - 1 => 'Clave de API guardada', - -1 => 'La clave de API no es válida' -); -?> \ No newline at end of file diff --git a/fp-plugins/akismet/lang/lang.fr-fr.php b/fp-plugins/akismet/lang/lang.fr-fr.php deleted file mode 100644 index 93d05a2..0000000 --- a/fp-plugins/akismet/lang/lang.fr-fr.php +++ /dev/null @@ -1,23 +0,0 @@ - 'Clef API non définie. Configurez le plugin afin de configurer la clef API. Enregistrez vous sur akismet.com pour en obtenir une.' -); - -$lang ['admin'] ['plugin'] ['submenu'] ['akismet'] = 'Configuration Akismet'; - -$lang ['admin'] ['plugin'] ['akismet'] = array( - 'head' => 'Configuration Akismet', - 'description' => 'La plupart du temps, Akismet va grandement ' . // - 'ou complètement éliminer les commentaires indésirables sur votre blog. ' . // - 'Si vous n\'avez pas de compte sur akismet.com, vous pouvez vous en créer un sur ' . // - 'akismet.com/signup.', - 'apikey' => 'Clef API akismet.com', - 'whatis' => '(Qu\'est-ce que c\'est?)', - 'submit' => 'Sauvegarder' -); - -$lang ['admin'] ['plugin'] ['akismet']['msgs'] = array( - 1 => 'Clef API sauvegardée', - -1 => 'Clef API non valide' -); -?> \ No newline at end of file diff --git a/fp-plugins/akismet/lang/lang.it-it.php b/fp-plugins/akismet/lang/lang.it-it.php deleted file mode 100644 index 95bbb6f..0000000 --- a/fp-plugins/akismet/lang/lang.it-it.php +++ /dev/null @@ -1,23 +0,0 @@ - 'La chiave API non è stata impostata. Esegui il plugin per impostare la chiave API. Registrati su akismet.com per riceverne una.' -); - -$lang ['admin'] ['plugin'] ['submenu'] ['akismet'] = 'Configurazione di Akismet'; - -$lang ['admin'] ['plugin'] ['akismet'] = array( - 'head' => 'Configurazione di Akismet', - 'description' => 'Per molte persone, Akismet riduce enormemente ' . // - 'o perfino elimina completamente i commenti e i collegamenti traccianti di spam che compaiono sul proprio sito. ' . // - 'Se non hai ancora un profilo su akismet.com, puoi crearne uno su ' . // - 'akismet.com/signup.', - 'apikey' => 'Chiave API di akismet.com', - 'whatis' => '(What is this?)', - 'submit' => 'Salva chiave API' -); - -$lang ['admin'] ['plugin'] ['akismet'] ['msgs'] = array( - 1 => 'Chiave API salvata', - -1 => 'La chiave API non è valida' -); -?> diff --git a/fp-plugins/akismet/lang/lang.ja-jp.php b/fp-plugins/akismet/lang/lang.ja-jp.php deleted file mode 100644 index 5c37cc2..0000000 --- a/fp-plugins/akismet/lang/lang.ja-jp.php +++ /dev/null @@ -1,23 +0,0 @@ - 'API key not set. Open the plugin to set your API key. Register on akismet.com to get one.' -); - -$lang ['admin'] ['plugin'] ['submenu'] ['akismet'] = 'Akismetの設定'; - -$lang ['admin'] ['plugin'] ['akismet'] = array( - 'head' => 'Akismetの設定', - 'description' => 'For many people, Akismet will greatly reduce ' . // - 'or even completely eliminate the comment and trackback spam you get on your site. ' . // - 'If you don\'t have a akismet.com account yet, you can get one at ' . // - 'akismet.com/signup.', - 'apikey' => 'Akismet API Key', - 'whatis' => '(What is this?)', - 'submit' => 'API keyを保存する' -); - -$lang ['admin'] ['plugin'] ['akismet'] ['msgs'] = array( - 1 => 'API keyを保存しました', - -1 => 'API key is not valid' -); -?> diff --git a/fp-plugins/akismet/lang/lang.nl-nl.php b/fp-plugins/akismet/lang/lang.nl-nl.php deleted file mode 100644 index 6996057..0000000 --- a/fp-plugins/akismet/lang/lang.nl-nl.php +++ /dev/null @@ -1,23 +0,0 @@ - 'API-sleutel niet ingesteld. Open de plug-in om jouw API-sleutel in te stellen. Registreer op akismet.com om een te krijgen.' -); - -$lang ['admin'] ['plugin'] ['submenu'] ['akismet'] = 'Akismet Configuratie'; - -$lang ['admin'] ['plugin'] ['akismet'] = array( - 'head' => 'Akismet Configuratie', - 'description' => 'Voor veel mensen, Akismet zal sterk verminderen ' . // - 'of zelfs compleet elimineren de opmerkingen en trackback spam die je krijgy op je site. ' . // - 'Als je nog geen akismet.com-account hebt, kun je er een krijgen op ' . // - 'akismet.com/signup.', - 'apikey' => 'Akismet API Key', - 'whatis' => '(wat is dit?)', - 'submit' => 'Sla API key op' -); - -$lang ['admin'] ['plugin'] ['akismet'] ['msgs'] = array( - 1 => 'API key opgeslagen', - -1 => 'API key is niet geldig' -); -?> \ No newline at end of file diff --git a/fp-plugins/akismet/lang/lang.pt-br.php b/fp-plugins/akismet/lang/lang.pt-br.php deleted file mode 100644 index 028487e..0000000 --- a/fp-plugins/akismet/lang/lang.pt-br.php +++ /dev/null @@ -1,23 +0,0 @@ - 'Chave da API não definida. Abra o plugin para definir sua chave de API. Registre-se no akismet.com para obter uma.' -); - -$lang ['admin'] ['plugin'] ['submenu'] ['akismet'] = 'Akismet Configuração'; - -$lang ['admin'] ['plugin'] ['akismet'] = array( - 'head' => 'Configure o Akismet', - 'description' => 'Para muitas pessoas, o Akismet reduzirá bastante ' . // - 'ou até eliminará completamente o comentário e o spam de trackback que você recebe no seu site.' . // - 'Se você ainda não possui uma conta no akismet.com, pode obtê-la em ' . // - 'akismet.com/signup.', - 'apikey' => 'Akismet API Key', - 'whatis' => '(O que é isso?)', - 'submit' => 'Salvar a chave da API' -); - -$lang ['admin'] ['plugin'] ['akismet'] ['msgs'] = array( - 1 => 'A chave da API foi salva', - -1 => 'A chave da API não é válida' -); -?> diff --git a/fp-plugins/akismet/lang/lang.ru-ru.php b/fp-plugins/akismet/lang/lang.ru-ru.php deleted file mode 100644 index 76256e8..0000000 --- a/fp-plugins/akismet/lang/lang.ru-ru.php +++ /dev/null @@ -1,23 +0,0 @@ - 'Не установлен API-ключ. Откройте плагин для установки API-ключа. Зарегистрируйтесь на сайте akismet.com чтобы получить его.' -); - -$lang ['admin'] ['plugin'] ['submenu'] ['akismet'] = 'Конфигурация плагина Akismet'; - -$lang ['admin'] ['plugin'] ['akismet'] = array( - 'head' => 'Конфигурация плагина Akismet', - 'description' => 'Для многих Akismet значительно уменьшит ' . // - 'или даже полностью устранит спам в комментариях и трекбэках, который вы получаете на своем сайте. ' . // - 'Если у вас еще нет учетной записи akismet.com, вы можете получить ее на сайте ' . // - 'akismet.com/signup.', - 'apikey' => 'akismet.com API Key', - 'whatis' => '(Что это?)', - 'submit' => 'Сохранить API-ключ' -); - -$lang ['admin'] ['plugin'] ['akismet'] ['msgs'] = array( - 1 => 'API-ключ сохранен', - -1 => 'API-ключ не действителен' -); -?> \ No newline at end of file diff --git a/fp-plugins/akismet/lang/lang.sl-si.php b/fp-plugins/akismet/lang/lang.sl-si.php deleted file mode 100644 index cde1b90..0000000 --- a/fp-plugins/akismet/lang/lang.sl-si.php +++ /dev/null @@ -1,22 +0,0 @@ - 'API ključ ni nastavljen. Odpri vtičnik in nastavi svoj API ključ. Registriraj se na akismet.com, da ga pridobiš.' -); - -$lang ['admin'] ['plugin'] ['submenu'] ['akismet'] = 'Nastavitve Akismet-a'; - -$lang ['admin'] ['plugin'] ['akismet'] = array( - 'head' => 'Nastavitve Akismet-a', - 'description' => 'Za veliko ljudi bo Akismet zelo zmanjšal ali celo popolnoma odpravil komentarje in sledenje spamu na vaši spletni strani. ' . // - 'Če še nimate akismet.com računa, si ga lahko pridobite na ' . - 'akismet.com/signup.', - 'apikey' => 'Akismet API Ključ', - 'whatis' => '(Kaj je to?)', - 'submit' => 'Shrani API ključ' -); - -$lang ['admin'] ['plugin'] ['akismet'] ['msgs'] = array( - 1 => 'API ključ je bil shranjen', - -1 => 'API ključ ni veljaven' -); -?> diff --git a/fp-plugins/akismet/plugin.akismet.php b/fp-plugins/akismet/plugin.akismet.php deleted file mode 100644 index 81d1665..0000000 --- a/fp-plugins/akismet/plugin.akismet.php +++ /dev/null @@ -1,84 +0,0 @@ -setAuthor($contents ['name']); - $akismet->setAuthorEmail(isset($contents ['email']) ? $contents ['email'] : ''); - $akismet->setAuthorURL(isset($contents ['url']) ? $contents ['url'] : ''); - $akismet->setContent($contents ['content']); - - if ($v = $akismet->isSpam()) { - global $smarty; - $smarty->assign('error', array( - 'ERROR: Comment is invalid' - )); - return false; - } - return true; -} - -if (class_exists('AdminPanelAction')) { - - class admin_plugin_akismet extends AdminPanelAction { - - var $langres = 'plugin:akismet'; - - function setup() { - $this->smarty->assign('admin_resource', "plugin:akismet/admin.plugin.akismet"); - } - - function main() { - $akismetconf = plugin_getoptions('akismet'); - $this->smarty->assign('akismetconf', $akismetconf); - } - - function onsubmit($data = null) { - global $fp_config; - - if ($_POST ['wp-apikey']) { - - plugin_addoption('akismet', 'apikey', $_POST ['wp-apikey']); - plugin_saveoptions('akismet'); - - $this->smarty->assign('success', 1); - } else { - $this->smarty->assign('success', -1); - } - - return 2; - } - - } - - admin_addpanelaction('plugin', 'akismet', true); -} diff --git a/fp-plugins/akismet/tpls/admin.plugin.akismet.tpl b/fp-plugins/akismet/tpls/admin.plugin.akismet.tpl deleted file mode 100644 index 9bcaed1..0000000 --- a/fp-plugins/akismet/tpls/admin.plugin.akismet.tpl +++ /dev/null @@ -1,17 +0,0 @@ -

{$plang.head}

-

{$plang.description}

- -{include file="shared:errorlist.tpl"} - -
- -{html_form} - -

-

-

-

{$plang.whatis}

- -{/html_form} - -
\ No newline at end of file diff --git a/fp-plugins/bbcode/tpls/admin.plugin.bbcode.tpl b/fp-plugins/bbcode/tpls/admin.plugin.bbcode.tpl index f3633be..a0452f3 100644 --- a/fp-plugins/bbcode/tpls/admin.plugin.bbcode.tpl +++ b/fp-plugins/bbcode/tpls/admin.plugin.bbcode.tpl @@ -15,6 +15,7 @@ {$plang.allow_html_long}

+ {*
@@ -22,7 +23,7 @@

{$plang.toolbar_long}

- + *} 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..0cd3031 --- /dev/null +++ b/fp-plugins/cookiebanner/plugin.cookiebanner.php @@ -0,0 +1,80 @@ +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']; + $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/fp-plugins/datechanger/doc_datechanger.txt b/fp-plugins/datechanger/doc_datechanger.txt new file mode 100644 index 0000000..5d81f1d --- /dev/null +++ b/fp-plugins/datechanger/doc_datechanger.txt @@ -0,0 +1,9 @@ +Description +----------- +Lets you change the publish date for (new) entries. Therefore, it adds the edit interface with a date drop down menu. + +This plugin only works for new entries. Once published, the date cannot be changed again! + +About +----- +The DateChanger plugin was built by Edoardo Vacchi (NoWhereMan). diff --git a/fp-plugins/datechanger/lang/lang.cs-cz.php b/fp-plugins/datechanger/lang/lang.cs-cz.php new file mode 100644 index 0000000..5e7bd12 --- /dev/null +++ b/fp-plugins/datechanger/lang/lang.cs-cz.php @@ -0,0 +1,7 @@ + 'Změna času/datumu zveřejnění', + 'date' => 'Datum', + 'time' => 'Denní doba' +); +?> diff --git a/fp-plugins/datechanger/lang/lang.da-dk.php b/fp-plugins/datechanger/lang/lang.da-dk.php new file mode 100644 index 0000000..002985b --- /dev/null +++ b/fp-plugins/datechanger/lang/lang.da-dk.php @@ -0,0 +1,7 @@ + 'Ændre udgivelsestidspunkt/dato', + 'date' => 'Dato', + 'time' => 'Tid på dagen' +); +?> diff --git a/fp-plugins/datechanger/lang/lang.de-de.php b/fp-plugins/datechanger/lang/lang.de-de.php new file mode 100644 index 0000000..5832196 --- /dev/null +++ b/fp-plugins/datechanger/lang/lang.de-de.php @@ -0,0 +1,7 @@ + 'Veröffentlichungszeit/-Datum ändern', + 'date' => 'Datum', + 'time' => 'Uhrzeit' +); +?> diff --git a/fp-plugins/datechanger/lang/lang.el-gr.php b/fp-plugins/datechanger/lang/lang.el-gr.php new file mode 100644 index 0000000..281869f --- /dev/null +++ b/fp-plugins/datechanger/lang/lang.el-gr.php @@ -0,0 +1,7 @@ + 'Αλλαγή ώρας/ημερομηνίας δημοσίευσης', + 'date' => 'ημερομηνία', + 'time' => 'Ώρα της ημέρας' +); +?> diff --git a/fp-plugins/datechanger/lang/lang.en-us.php b/fp-plugins/datechanger/lang/lang.en-us.php new file mode 100644 index 0000000..45462f3 --- /dev/null +++ b/fp-plugins/datechanger/lang/lang.en-us.php @@ -0,0 +1,7 @@ + 'Change publication time/-date', + 'date' => 'Date', + 'time' => 'Time' +); +?> diff --git a/fp-plugins/datechanger/lang/lang.es-es.php b/fp-plugins/datechanger/lang/lang.es-es.php new file mode 100644 index 0000000..fd71093 --- /dev/null +++ b/fp-plugins/datechanger/lang/lang.es-es.php @@ -0,0 +1,7 @@ + 'Cambiar la hora/fecha de publicación', + 'date' => 'Fecha', + 'time' => 'Hora del día' +); +?> diff --git a/fp-plugins/datechanger/lang/lang.fr-fr.php b/fp-plugins/datechanger/lang/lang.fr-fr.php new file mode 100644 index 0000000..ecb2b79 --- /dev/null +++ b/fp-plugins/datechanger/lang/lang.fr-fr.php @@ -0,0 +1,7 @@ + 'Modifier l\'heure/la date de publication', + 'date' => 'Date', + 'time' => 'Heure' +); +?> diff --git a/fp-plugins/datechanger/lang/lang.it-it.php b/fp-plugins/datechanger/lang/lang.it-it.php new file mode 100644 index 0000000..a058986 --- /dev/null +++ b/fp-plugins/datechanger/lang/lang.it-it.php @@ -0,0 +1,7 @@ + 'Modifica dell\'ora/data di pubblicazione', + 'date' => 'Data', + 'time' => 'Ora del giorno' +); +?> diff --git a/fp-plugins/datechanger/lang/lang.ja-jp.php b/fp-plugins/datechanger/lang/lang.ja-jp.php new file mode 100644 index 0000000..9c893eb --- /dev/null +++ b/fp-plugins/datechanger/lang/lang.ja-jp.php @@ -0,0 +1,7 @@ + '発行日時の変更', + 'date' => '日付', + 'time' => '時間帯' +); +?> diff --git a/fp-plugins/datechanger/lang/lang.nl-nl.php b/fp-plugins/datechanger/lang/lang.nl-nl.php new file mode 100644 index 0000000..5cf5bc3 --- /dev/null +++ b/fp-plugins/datechanger/lang/lang.nl-nl.php @@ -0,0 +1,7 @@ + 'Publicatie tijd/datum wijzigen', + 'date' => 'Datum', + 'time' => 'Tijd van de dag' +); +?> diff --git a/fp-plugins/datechanger/lang/lang.pt-br.php b/fp-plugins/datechanger/lang/lang.pt-br.php new file mode 100644 index 0000000..af84a98 --- /dev/null +++ b/fp-plugins/datechanger/lang/lang.pt-br.php @@ -0,0 +1,7 @@ + 'Alterar data/hora de publicação', + 'date' => 'Data', + 'time' => 'Hora do dia' +); +?> diff --git a/fp-plugins/datechanger/lang/lang.ru-ru.php b/fp-plugins/datechanger/lang/lang.ru-ru.php new file mode 100644 index 0000000..c7da5e6 --- /dev/null +++ b/fp-plugins/datechanger/lang/lang.ru-ru.php @@ -0,0 +1,7 @@ + 'Изменить время/дату публикации', + 'date' => 'дата', + 'time' => 'Время суток' +); +?> diff --git a/fp-plugins/datechanger/lang/lang.sl-si.php b/fp-plugins/datechanger/lang/lang.sl-si.php new file mode 100644 index 0000000..b0ba958 --- /dev/null +++ b/fp-plugins/datechanger/lang/lang.sl-si.php @@ -0,0 +1,7 @@ + 'Sprememba časa/datuma objave', + 'date' => 'Datum', + 'time' => 'Čas dneva' +); +?> diff --git a/fp-plugins/datechanger/plugin.datechanger.php b/fp-plugins/datechanger/plugin.datechanger.php new file mode 100644 index 0000000..349869b --- /dev/null +++ b/fp-plugins/datechanger/plugin.datechanger.php @@ -0,0 +1,116 @@ +new entries via a drop-down menu. Part of the standard distribution. [Instructions] + * Version: 1.0.4 + * Author URI: https://www.flatpress.org + */ +if (!(basename($_SERVER ['PHP_SELF']) == 'admin.php' && // must be admin area + @$_GET ['p'] == 'entry' && // must be right panel + @$_GET ['action'] == 'write' && // must be right action + !(@$_POST ['timestamp'] || @$_REQUEST ['entry']))) // must be a new entry +return; + +function plugin_datechanger_toolbar() { + $time = time(); + + $h = date('H', $time); + $m = date('i', $time); + $s = date('s', $time); + + $Y = date('Y', $time); + $M = date('m', $time); + $D = date('d', $time); + + $lang = lang_load('plugin:datechanger'); // Multilingual support by Plugin + global $lang; // Multilingual support by FlatPress + + echo '
' . $lang ['admin'] ['plugin'] ['datechanger'] ['title'] . '

' . $lang ['admin'] ['plugin'] ['datechanger'] ['time'] . ': '; + + // set time + echo ':'; + + echo ':'; + + echo ' '; + + // set date + echo '' . $lang ['admin'] ['plugin'] ['datechanger'] ['date'] . ':  '; + + $mths = $lang ['date'] ['month']; + + echo ' '; + + echo ''; + + echo '

'; +} + +// Meh, {toolbar} no longer works with fp-1.3 dev -> #17 +//add_action('editor_toolbar', 'plugin_datechanger_toolbar', 0); +add_filter('simple_datechanger_form', 'plugin_datechanger_toolbar', 0); + + +function plugin_datechanger_check() { + if ((isset($_GET ['p']) && $_GET ['p'] != 'entry') || (isset($_GET ['action']) && $_GET ['action'] != 'write')) + return; + + if (empty($_POST)) + return; + + if (!empty($_POST ['date'])) + $date = $_POST ['date']; + else + return; + + foreach ($date as $v) { + if (!is_numeric($v)) + return; + else + $date [] = intval($v); + } + + list ($hour, $minute, $second, $day, $month, $year) = $date; + + $time = mktime($hour, $minute, $second, $month, $day, $year); + + $_POST ['timestamp'] = $time; +} + +add_action('init', 'plugin_datechanger_check'); +?> diff --git a/fp-plugins/feed/img/License.md b/fp-plugins/feed/img/License.md new file mode 100644 index 0000000..a003c06 --- /dev/null +++ b/fp-plugins/feed/img/License.md @@ -0,0 +1,6 @@ +## Source: +https://www.kisscc0.com/clipart/atom-rss-logo-web-feed-computer-icons-rss-atom-but-n1kmz1/ + +## Image License: + ✔️ Free for personal and commercial use + ✔️ Attribution is not required. diff --git a/fp-plugins/feed/img/atom-white.png b/fp-plugins/feed/img/atom-white.png new file mode 100644 index 0000000..2f3cc93 Binary files /dev/null and b/fp-plugins/feed/img/atom-white.png differ diff --git a/fp-plugins/feed/img/atom.png b/fp-plugins/feed/img/atom.png new file mode 100644 index 0000000..b435333 Binary files /dev/null and b/fp-plugins/feed/img/atom.png differ diff --git a/fp-plugins/feed/img/rss-white.png b/fp-plugins/feed/img/rss-white.png new file mode 100644 index 0000000..9197c23 Binary files /dev/null and b/fp-plugins/feed/img/rss-white.png differ diff --git a/fp-plugins/feed/img/rss.png b/fp-plugins/feed/img/rss.png new file mode 100644 index 0000000..e20ff71 Binary files /dev/null and b/fp-plugins/feed/img/rss.png differ diff --git a/fp-plugins/feed/lang/lang.cs-cz.php b/fp-plugins/feed/lang/lang.cs-cz.php new file mode 100644 index 0000000..6886f97 --- /dev/null +++ b/fp-plugins/feed/lang/lang.cs-cz.php @@ -0,0 +1,7 @@ + 'Přihlaste se k odběru na', + 'rss' => 'Přihlásit se k odběru RSS feed', + 'atom' => 'Přihlásit se k odběru Atom feed' +); +?> diff --git a/fp-plugins/feed/lang/lang.da-dk.php b/fp-plugins/feed/lang/lang.da-dk.php new file mode 100644 index 0000000..fc7e8fe --- /dev/null +++ b/fp-plugins/feed/lang/lang.da-dk.php @@ -0,0 +1,7 @@ + 'Abonnieren', + 'rss' => 'Abonner på RSS-feed', + 'atom' => 'Abonner på Atom-feed' +); +?> diff --git a/fp-plugins/feed/lang/lang.de-de.php b/fp-plugins/feed/lang/lang.de-de.php new file mode 100644 index 0000000..3da0c87 --- /dev/null +++ b/fp-plugins/feed/lang/lang.de-de.php @@ -0,0 +1,7 @@ + 'Abonnieren', + 'rss' => 'RSS-Feed abonnieren', + 'atom' => 'Atom-Feed abonnieren' +); +?> diff --git a/fp-plugins/feed/lang/lang.el-gr.php b/fp-plugins/feed/lang/lang.el-gr.php new file mode 100644 index 0000000..23c4b80 --- /dev/null +++ b/fp-plugins/feed/lang/lang.el-gr.php @@ -0,0 +1,7 @@ + 'Εγγραφείτε στην τροφοδοσία', + 'rss' => 'Εγγραφείτε στο RSS Feed', + 'atom' => 'Εγγραφείτε στο Atom Feed' +); +?> diff --git a/fp-plugins/feed/lang/lang.en-us.php b/fp-plugins/feed/lang/lang.en-us.php new file mode 100644 index 0000000..5e0e8b5 --- /dev/null +++ b/fp-plugins/feed/lang/lang.en-us.php @@ -0,0 +1,7 @@ + 'Subscribe', + 'rss' => 'Subscribe RSS feed', + 'atom' => 'Subscribe Atom feed' +); +?> diff --git a/fp-plugins/feed/lang/lang.es-es.php b/fp-plugins/feed/lang/lang.es-es.php new file mode 100644 index 0000000..2e2da56 --- /dev/null +++ b/fp-plugins/feed/lang/lang.es-es.php @@ -0,0 +1,7 @@ + 'Suscribirse al feed', + 'rss' => 'Suscribirse a RSS Feed', + 'atom' => 'Suscribirse a Atom Feed' +); +?> diff --git a/fp-plugins/feed/lang/lang.fr-fr.php b/fp-plugins/feed/lang/lang.fr-fr.php new file mode 100644 index 0000000..d76e202 --- /dev/null +++ b/fp-plugins/feed/lang/lang.fr-fr.php @@ -0,0 +1,7 @@ + 'S\'abonner à', + 'rss' => 'S\'abonner au flux RSS', + 'atom' => 'S\'abonner au flux Atom' +); +?> diff --git a/fp-plugins/feed/lang/lang.it-it.php b/fp-plugins/feed/lang/lang.it-it.php new file mode 100644 index 0000000..e3695ce --- /dev/null +++ b/fp-plugins/feed/lang/lang.it-it.php @@ -0,0 +1,7 @@ + 'Iscriviti al feed', + 'rss' => 'Iscriviti al feed RSS', + 'atom' => 'Iscriviti al feed Atom' +); +?> diff --git a/fp-plugins/feed/lang/lang.ja-jp.php b/fp-plugins/feed/lang/lang.ja-jp.php new file mode 100644 index 0000000..619680b --- /dev/null +++ b/fp-plugins/feed/lang/lang.ja-jp.php @@ -0,0 +1,7 @@ + 'フィードを購読する', + 'rss' => 'RSSフィードを購読する', + 'atom' => 'Atomフィードを購読する' +); +?> diff --git a/fp-plugins/feed/lang/lang.nl-nl.php b/fp-plugins/feed/lang/lang.nl-nl.php new file mode 100644 index 0000000..8e2bc21 --- /dev/null +++ b/fp-plugins/feed/lang/lang.nl-nl.php @@ -0,0 +1,7 @@ + 'Abonneren op feed', + 'rss' => 'Abonneren op RSS-feed', + 'atom' => 'Abonneren op Atom-feed' +); +?> diff --git a/fp-plugins/feed/lang/lang.pt-br.php b/fp-plugins/feed/lang/lang.pt-br.php new file mode 100644 index 0000000..449547a --- /dev/null +++ b/fp-plugins/feed/lang/lang.pt-br.php @@ -0,0 +1,7 @@ + 'Assinar o feed', + 'rss' => 'Assine o RSS Feed', + 'atom' => 'Assine o Atom Feed' +); +?> diff --git a/fp-plugins/feed/lang/lang.ru-ru.php b/fp-plugins/feed/lang/lang.ru-ru.php new file mode 100644 index 0000000..30ca0a4 --- /dev/null +++ b/fp-plugins/feed/lang/lang.ru-ru.php @@ -0,0 +1,7 @@ + 'Подписаться на фид', + 'rss' => 'Подписаться на RSS-канал', + 'atom' => 'Подписаться на Atom-канал' +); +?> diff --git a/fp-plugins/feed/lang/lang.sl-si.php b/fp-plugins/feed/lang/lang.sl-si.php new file mode 100644 index 0000000..9ee2452 --- /dev/null +++ b/fp-plugins/feed/lang/lang.sl-si.php @@ -0,0 +1,7 @@ + 'Naročite se na vir', + 'rss' => 'Naročite se na vir RSS', + 'atom' => 'Naročite se na vir Atom' +); +?> diff --git a/fp-plugins/feed/plugin.feed.php b/fp-plugins/feed/plugin.feed.php new file mode 100644 index 0000000..05393ad --- /dev/null +++ b/fp-plugins/feed/plugin.feed.php @@ -0,0 +1,50 @@ +widget menu. Part of the standard distribution. + */ + + +function plugin_feed_head() { // stytesheet-file + $pdir = plugin_geturl('feed'); + + echo ' + + + + '; +} + +function plugin_feed_widget() { + + $lang = lang_load('plugin:feed'); + $baseurl = BLOG_BASEURL; + $imgdir = plugin_geturl('feed'); + + $widget ['subject'] = $lang ['plugin'] ['feed'] ['subject']; + + $rss = $lang ['plugin'] ['feed'] ['rss']; + $atom = $lang ['plugin'] ['feed'] ['atom']; + + $widget ['content'] = ' + +
    +
  • + RSS + Atom +
  • +
+ + '; + + return $widget; +} + +register_widget('feed', 'RSS and Atom Feed', 'plugin_feed_widget'); // feed-widget +add_action('wp_head', 'plugin_feed_head'); // stytesheet-file +?> diff --git a/fp-plugins/feed/res/feed.css b/fp-plugins/feed/res/feed.css new file mode 100644 index 0000000..5c22689 --- /dev/null +++ b/fp-plugins/feed/res/feed.css @@ -0,0 +1,4 @@ +.feed-widget { + margin: 0px; + height: 16px +} diff --git a/fp-plugins/footnotes/how_to_use.txt b/fp-plugins/footnotes/doc_footnotes.txt similarity index 59% rename from fp-plugins/footnotes/how_to_use.txt rename to fp-plugins/footnotes/doc_footnotes.txt index 0caec34..2e4432f 100644 --- a/fp-plugins/footnotes/how_to_use.txt +++ b/fp-plugins/footnotes/doc_footnotes.txt @@ -1,9 +1,8 @@ The footnote plugin creates links between numbers in the content and the corresponding footnote below the text. It's quite straightforward - to try, just create a sample entry with the following content: +Here is some text[^1] with a note. The text goes on and has another reference[^2] to a footnote. -Here is some text[1] with a note. The text goes on and has another reference[2] to a footnote. - [footnotes] -[1] here is the note -[2] and the second one :) \ No newline at end of file +[^1]: *here* is the note +[^2]: and the _second_ one :) diff --git a/fp-plugins/footnotes/lang/lang.cs-cz.php b/fp-plugins/footnotes/lang/lang.cs-cz.php new file mode 100644 index 0000000..d9d788b --- /dev/null +++ b/fp-plugins/footnotes/lang/lang.cs-cz.php @@ -0,0 +1,7 @@ + 'Poznámka pod čarou', + 'footnotes' => 'Poznámky pod čarou', + 'back' => 'Zpět na' +); +?> diff --git a/fp-plugins/footnotes/lang/lang.da-dk.php b/fp-plugins/footnotes/lang/lang.da-dk.php new file mode 100644 index 0000000..e098f23 --- /dev/null +++ b/fp-plugins/footnotes/lang/lang.da-dk.php @@ -0,0 +1,7 @@ + 'Fodnote', + 'footnotes' => 'Fodnoter', + 'back' => 'Tilbage til' +); +?> diff --git a/fp-plugins/footnotes/lang/lang.de-de.php b/fp-plugins/footnotes/lang/lang.de-de.php new file mode 100644 index 0000000..24c7ca3 --- /dev/null +++ b/fp-plugins/footnotes/lang/lang.de-de.php @@ -0,0 +1,7 @@ + 'Fußnote', + 'footnotes' => 'Fußnoten', + 'back' => 'Zurück zu' +); +?> diff --git a/fp-plugins/footnotes/lang/lang.el-gr.php b/fp-plugins/footnotes/lang/lang.el-gr.php new file mode 100644 index 0000000..eef54b5 --- /dev/null +++ b/fp-plugins/footnotes/lang/lang.el-gr.php @@ -0,0 +1,7 @@ + 'Υποσημείωση', + 'footnotes' => 'Υποσημειώσεις', + 'back' => 'Πίσω στο' +); +?> diff --git a/fp-plugins/footnotes/lang/lang.en-us.php b/fp-plugins/footnotes/lang/lang.en-us.php new file mode 100644 index 0000000..3f4e030 --- /dev/null +++ b/fp-plugins/footnotes/lang/lang.en-us.php @@ -0,0 +1,7 @@ + 'Footnote', + 'footnotes' => 'Footnotes', + 'back' => 'Back to' +); +?> diff --git a/fp-plugins/footnotes/lang/lang.es-es.php b/fp-plugins/footnotes/lang/lang.es-es.php new file mode 100644 index 0000000..51b7867 --- /dev/null +++ b/fp-plugins/footnotes/lang/lang.es-es.php @@ -0,0 +1,7 @@ + 'Nota a pie de página', + 'footnotes' => 'Notas a pie de página', + 'back' => 'Volver a' +); +?> diff --git a/fp-plugins/footnotes/lang/lang.fr-fr.php b/fp-plugins/footnotes/lang/lang.fr-fr.php new file mode 100644 index 0000000..f94b6cc --- /dev/null +++ b/fp-plugins/footnotes/lang/lang.fr-fr.php @@ -0,0 +1,7 @@ + 'Note de bas de page', + 'footnotes' => 'Notes de bas de page', + 'back' => 'Retour à' +); +?> diff --git a/fp-plugins/footnotes/lang/lang.it-it.php b/fp-plugins/footnotes/lang/lang.it-it.php new file mode 100644 index 0000000..122bc74 --- /dev/null +++ b/fp-plugins/footnotes/lang/lang.it-it.php @@ -0,0 +1,7 @@ + 'Nota a pie\' di pagina', + 'footnotes' => 'Note a pie\' di pagina', + 'back' => 'Torna a' +); +?> diff --git a/fp-plugins/footnotes/lang/lang.ja-jp.php b/fp-plugins/footnotes/lang/lang.ja-jp.php new file mode 100644 index 0000000..73adc65 --- /dev/null +++ b/fp-plugins/footnotes/lang/lang.ja-jp.php @@ -0,0 +1,7 @@ + 'フットノート', + 'footnotes' => '脚注', + 'back' => 'へ戻る' +); +?> diff --git a/fp-plugins/footnotes/lang/lang.nl-nl.php b/fp-plugins/footnotes/lang/lang.nl-nl.php new file mode 100644 index 0000000..8ada171 --- /dev/null +++ b/fp-plugins/footnotes/lang/lang.nl-nl.php @@ -0,0 +1,7 @@ + 'Voetnoot', + 'footnotes' => 'Voetnoten', + 'back' => 'Terug naar' +); +?> diff --git a/fp-plugins/footnotes/lang/lang.pt-br.php b/fp-plugins/footnotes/lang/lang.pt-br.php new file mode 100644 index 0000000..f2c2bd5 --- /dev/null +++ b/fp-plugins/footnotes/lang/lang.pt-br.php @@ -0,0 +1,7 @@ + 'Nota de rodapé', + 'footnotes' => 'Notas de rodapé', + 'back' => 'Voltar para' +); +?> diff --git a/fp-plugins/footnotes/lang/lang.ru-ru.php b/fp-plugins/footnotes/lang/lang.ru-ru.php new file mode 100644 index 0000000..64b7556 --- /dev/null +++ b/fp-plugins/footnotes/lang/lang.ru-ru.php @@ -0,0 +1,7 @@ + 'Сноска', + 'footnotes' => 'Сноски', + 'back' => 'Назад к' +); +?> diff --git a/fp-plugins/footnotes/lang/lang.sl-si.php b/fp-plugins/footnotes/lang/lang.sl-si.php new file mode 100644 index 0000000..686acec --- /dev/null +++ b/fp-plugins/footnotes/lang/lang.sl-si.php @@ -0,0 +1,7 @@ + 'Opomba', + 'footnotes' => 'Opombe pod črto', + 'back' => 'Nazaj na' +); +?> diff --git a/fp-plugins/footnotes/plugin.footnotes.php b/fp-plugins/footnotes/plugin.footnotes.php index 86a4a76..4696a75 100755 --- a/fp-plugins/footnotes/plugin.footnotes.php +++ b/fp-plugins/footnotes/plugin.footnotes.php @@ -1,11 +1,11 @@ [Instructions] */ define('FOOTNOTES_START', '[footnotes]'); @@ -21,16 +21,22 @@ class footnotes_class { } function note($n, $s) { + $lang = lang_load('plugin:footnotes'); + $back = $lang ['plugin'] ['footnotes'] ['back']; + $id = $this->id; $this->refs = true; - return '
  • ' . trim($s) . " ^top" . '
  • '; + return '
  • ' . trim($s) . " " . '
  • '; } function footnotes($matches) { - $str = '

    Footnotes

      '; + $lang = lang_load('plugin:footnotes'); + $footnotes = $lang ['plugin'] ['footnotes'] ['footnotes']; - $lines = preg_split('|\[([0-9]+)\]|', $matches [1], -1, PREG_SPLIT_DELIM_CAPTURE); + $str = '

      ' . $footnotes . '

        '; + + $lines = preg_split('|\[\^([0-9]+)\]\:|', $matches [1], -1, PREG_SPLIT_DELIM_CAPTURE); // first array element is always empty - remove array_shift($lines); @@ -46,6 +52,9 @@ class footnotes_class { } function references($matches) { + $lang = lang_load('plugin:footnotes'); + $footnote = $lang ['plugin'] ['footnotes'] ['footnote']; + $n = $matches [1]; $id = $this->id; @@ -53,7 +62,7 @@ class footnotes_class { $href_rel = "{$id}-rel-{$n}"; $href_note = "{$id}-fn-{$n}"; - return "{$n}"; + return "{$n}"; } function headings($matches) { @@ -92,7 +101,7 @@ function plugin_footnotes_filter($text) { if (!$footnotes_obj->refs) return $text; - $text = preg_replace_callback('|\[([0-9]+)\]|', array( + $text = preg_replace_callback('|\[\^([0-9]+)\]|', array( &$footnotes_obj, 'references' ), $text); @@ -101,4 +110,4 @@ function plugin_footnotes_filter($text) { } add_filter('the_content', 'plugin_footnotes_filter', 0); -?> \ No newline at end of file +?> 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 6e8141d..1c63932 100644 --- a/setup/lang/lang.it-it.php +++ b/setup/lang/lang.it-it.php @@ -117,7 +117,7 @@ Il modo predefinito dell\'aspetto e del contenuto dell\'articolo è [url=https:/ Inoltre supporta il contenuto indentato.[/code] -I tag img e url tag hanno inoltre delle opzioni speciali. Puoi saperne di più sul [url=https://wiki.flatpress.org/doc:plugins:bbcode target=_blank rel=external]Wiki di FlatPress[/url]. +I tag img e url hanno inoltre delle opzioni speciali. Puoi saperne di più sul [url=https://wiki.flatpress.org/doc:plugins:bbcode target=_blank rel=external]Wiki di FlatPress[/url]. [h4]Articoli e Pagine statiche[/h4] @@ -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;