- Adds the CookieBanner plugin
Features:
- Simple discrete CookieBanner, localized
- Font and color depend on the style used
- When activated, a link to the privacy policy is provided in the contact form and in the comment function.
- The static page is provided during setup. The FlatPress admin only has to insert the content.
This encourages the FlatPress admin to at least familiarize himself with the legal requirements of his region and to protect himself from possible legal consequences with this plugin.
- The welcome entry now uses the target attribute from #270
- External links in the setup und welcome entry are now opened in a new tab.
- Non-encrypted links replaced by https
- Italian language files from the forum entry updated. Many thanks to eagleman
- As a result of 85e100c removed reference to the PrettyURLs plugin from the setup language files.
- The PrettyURLs panel now contains a note on the server software used
- For future new language packs, a clean basis has been created with the existing language packs.
- Removed unnecessary line breaks, spaces and tabs to avoid unexpected views in the responsive design.
- Updated links to external sources.
- Missing language files created in plugins.
- Gallerycaptions plugin: cs-cz, el-gr, es-es, fr-fr, ja-jp, nl-nl
- Mediamanager plugin: el-gr, fr-fr
- PhotoSwipe plugin: cs-cz, el-gr, es-es, fr-fr, ja-jp, nl-nl
- Readmore plugin: el-gr, fr-fr
- Seometataginfo plugin: pt-br
- The HTML of the installer now has a lang attribute in the html start tag to specify the language.
- The installer tries to provide the fp-content directory for owners and groups with write permissions, which had to be done manually before.
Write permissions for "others" removed via default.php. Even if the webserver is configured very unfavorable, only owners and groups should be allowed to write.
- Image files, which are not used by the installer, were removed.
- Removed unnecessary lang variable in default settings.
- 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
Fixes#216Fixes#197
The exchange between browser and server transmits information about the client and its capabilities in headers - user agent, what it accepts, and (what interests us) language. The browser sends the language information in a header.
These values indicate that the browser accepts, for example, US English (en-us) or German (de-de).
We make use of this. The setup of FlatPress now starts automatically in the language of the user. The determined language will also be used as default language for the FlatPressblog and the administration area until the user defines a language himself.
For the setup the language files 'el-gr','es-es','fr-fr' are still missing.
Therefore I limited the automatic determination of the language to 'cs-cz', 'de-de', 'en-us', 'it-it', 'ja-jp', 'nl-nl', 'pt-br'. See #239
This closes issue #197
Please check if it works with php8.1. Tested with php 7.4
Update main.php
'el-gr','es-es','fr-fr' removed as browser language, because the FlatPress setup currently has no language files for it
Update lang.de-de.php
Update main.php
some code formatting