5 Commits

Author SHA1 Message Date
Fraenkiman
687482c76e fp-content file/folder permissions recursively during setup
- Update chmod info in the administration area
- fp-content gets the necessary permissions recursively during setup
2023-10-19 00:07:54 +02:00
Fraenkiman
6df2cf1c62 Makeup FlatPress Installer
- 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
2023-10-04 02:01:02 +02:00
Fraenkiman
73153cffed The setup, blog and admin area is automatically determined by the user agent
Fixes #216
Fixes #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
2023-04-18 23:27:40 +02:00
Fraenkiman
2849e97311 Setup should use the user's browser language.
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
2023-01-29 03:16:47 +01:00
real_nowhereman
a68630bf35 First revision of FlatPress Crescendo+1 ( 0.703+n :) ) 2007-10-30 10:30:07 +00:00