164 Commits

Author SHA1 Message Date
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
22e00361c7 Update contact.tpl 2023-04-10 01:29:31 +02:00
Fraenkiman
1e0ad07d78 Create contact.tpl 2023-04-10 01:05:56 +02:00
Frank Hochmuth
84d75cab64
Delete contact.tpl
In a separate pull request moved
2023-04-10 00:58:02 +02:00
Fraenkiman
7afa71aef4 Update contact.tpl 2023-04-10 00:52:46 +02:00
Fraenkiman
0a0d4df693 more corrections of files in italian language
Many thanks to eagleman
2023-04-04 23:36:38 +02:00
Frank Hochmuth
bd08207b1e
Merge branch 'flatpressblog:master' into master 2023-03-05 14:26:59 +01:00
Fraenkiman
3ad8a38183 Spaces inserted
Spaces inserted so that they can be encrypted in the e-mail header
2023-02-26 05:01:59 +01:00
Fraenkiman
9b6d25881c Update contact.tpl
include Smarty-function comment_form
Note:  Accessible Antispam Plugin is displayed, but you can send without mathematical solution
2023-02-14 00:15:24 +01:00
azett
c18fe258af Typos 2023-02-04 13:38:25 +01:00
Fraenkiman
fba5adc876 Multilingual support for "Posted by"
Closes Issue #143

Preview revised

That's funny. There is a template for the preview of static pages for 13 years, and was not used.
2023-01-30 01:39:55 +01:00
azett
c53b92cd1b code formatting 2023-01-21 13:23:22 +01:00
Fraenkiman
47aa4cb37d Insert translation for Home, Logout in Admincenter
all FP standard languages

Comma missing

comma added
2023-01-14 02:53:49 +01:00
Fraenkiman
9d5053326a Update admin.css
Prevents collision of input fields with fieldsets in admincenter (Leggero v2)
2023-01-11 01:45:25 +01:00
azett
c2ce07be57 more i18n for new comment mail subject 2022-12-28 13:12:59 +01:00
Fraenkiman
fc9bcf45e8 Subject line of email when new comment is not translated
Added multilingual support for email subject line for new comments
2022-12-26 02:17:16 +01:00
azett
69fef257c5 Leggero: Autofocus for username input in login form 2022-12-18 12:22:11 +01:00
azett
7d748fe62a fixes #171 - thx! :) 2022-12-17 13:09:00 +01:00
Fabiano Santos
6324f2bf17 update portuguese language 2022-11-27 13:02:30 -03:00
azett
432b352c26 fixed Italian language pack by Giacomo Margarito - grazie mille! :) 2022-11-01 13:39:20 +01:00
azett
c30d52b284 Merge branch 'master' of https://github.com/flatpressblog/flatpress into issue94_smartyupdate
# resolved conflicts:
#	fp-includes/smarty/plugins/function.html_select_date.php
2022-10-08 13:43:33 +02:00
azett
23dcf5d1e7 reworked Dutch translation by G0erwt - hartelijk dank! 2022-10-02 13:28:51 +02:00
azett
58b3063478 Updated Leggero preview image, fixes #139 - thx @Fraenkiman 2022-09-10 13:32:31 +02:00
azett
e510b47e61 Search form: Years in reverse order 2022-08-14 14:25:02 +02:00
azett
d5bdc72852 fixes #136 for all styles - thx @Fraenkiman 2022-08-14 14:04:30 +02:00
azett
3c3d614416 fixes #135 - thx @Fraenkiman 2022-08-13 20:38:03 +02:00
azett
06a555b0d6 fixes #133, props to @Fraenkiman 2022-08-11 20:08:21 +02:00
azett
cc28351945 fixes #134, props to @Fraenkiman 2022-08-11 20:05:18 +02:00
azett
553fd0a9e8 fixes #137 - thanks for reporting, @Fraenkiman :) 2022-08-11 19:55:45 +02:00
azett
247d63eaaf Merge branch 'master' into issue94_smartyupdate
# resolved conflicts:
#	fp-includes/smarty/internals/core.rm_auto.php
#	fp-includes/smarty/internals/core.rmdir.php
2022-07-02 13:42:13 +02:00
azett
af1aa7759b Revert "Merge branch 'master' of https://github.com/flatpressblog/flatpress"
This reverts commit e9ad11742876f9f78d743a28afd547ee7480c7f9, reversing
changes made to f30fc6204a6bc7643d7952b1df98a3aa7b462dea.
2022-07-02 13:30:56 +02:00
azett
e9ad117428 Merge branch 'master' of https://github.com/flatpressblog/flatpress 2022-07-02 12:50:04 +02:00
azett
e656213fe4 Set Leggero v2 as default style of the Leggero Theme 2022-06-30 20:27:46 +02:00
azett
6eaafee1fa Merge branch 'master' into responsiveadmin
# resolved conflicts:
#	admin/panels/config/admin.config.tpl
#	admin/panels/entry/admin.entry.commentlist.tpl
#	fp-plugins/commentcenter/tpls/deletecomm.tpl
#	fp-plugins/commentcenter/tpls/editpol.tpl
2022-06-27 19:24:18 +02:00
azett
2b195dfa51 removed Open Sans reference - fixes #120 2022-06-25 11:57:31 +02:00
azett
937b566ff2 removed unneccessary external font resource 2022-06-23 18:20:28 +02:00
azett
de5b653693 Merge branch 'master' into issue94_smartyupdate
# Resolved conflicts:
#	contact.php
2022-06-19 15:09:26 +02:00
azett
4fe6c460af completely reworked contact form 2022-06-19 15:04:43 +02:00
azett
51bc4cb120 Merge branch 'master' into issue94_smartyupdate
# Resolved conflicts:
#	fp-includes/core/includes.php
#	fp-plugins/bbcode/plugin.bbcode.php
#	fp-plugins/commentcenter/inc/admin.php
2022-06-18 12:06:34 +02:00
azett
bf68fd2659 Fixed #98: List bullets missing in Leggero preview.png. Also: Fixed like nine year old merge glitches in Leggero's Admin CSSes^^ 2022-06-17 20:50:10 +02:00
azett
8c956c4d88 Fixed #100: pt-br had wrong country code 2022-06-17 20:21:58 +02:00
azett
3a4a4c9f69 Fixed #97: Searchbox glitch in "FlatMaas revisited" style 2022-06-17 20:16:56 +02:00
azett
607df641ec Merge branch 'master' of https://github.com/flatpressblog/flatpress 2022-05-07 20:02:55 +02:00
azett
becd504aae Issue 106: Invalid HTML output fixed 2022-05-07 20:02:41 +02:00
azett
04e65040ca reverted changes from 354eaccd06a265d557f8c7471bf1fd003ef0aa3c - will have to rework this more thorougly 2022-04-10 13:16:42 +02:00
azett
354eaccd06 Made comment form work with Smarty 4. 2022-04-10 12:35:53 +02:00
azett
be550f4666 CSS of the Leggero style had some glitches on mobile devices. Fixed by laborix, thank you very much :) 2022-03-26 13:59:49 +01:00
azett
a6e44a8e7f Fixed plugin mgmt template. Also: Fixed empty warning box. 2022-02-06 15:08:09 +01:00
azett
52bf429a01 Replaced Smarty 2.6.31-dev with v 4.0.4, keeping the FP-specific Smarty plugins.
Updated calls to current Smarty API (register_function()/register_modifier()/register_block() -> registerPlugin(); assign_by_ref() -> assignByRef()).
Fixed file includes in templates with quotes.
Removed SmartyValidate.class.php includes.

Still work in progress as some errors still appear!
2022-01-23 15:02:33 +01:00
azett
9cc5ef1a70 Merge branch 'master' of https://github.com/flatpressblog/flatpress into responsiveadmin 2021-06-04 15:55:15 +02:00