Mataniko
bcf45949d0
JANITORIAL: Code lint
2020-09-29 16:08:34 -04:00
Mataniko
35039fedb3
WEB: Update news and feed templates to use canonical language URLs
2020-09-29 16:08:34 -04:00
Mataniko
cae79c85e3
L10N: Add new smarty modifier function to add lang url path
2020-09-29 16:08:34 -04:00
Mataniko
e483873d57
WEB: Remove the lang cookie and leverage the url path instead
2020-09-29 16:08:34 -04:00
Mataniko
db6cb726e8
WEB: Add a new SimpleModel class
...
The SimpleModel is used to to read simple data models from YAML that require no further processing
This allows us to delete several models that re-use the same code.
2020-09-27 22:08:07 -04:00
Mataniko
4471b291a1
WEB: Convert all models to not be static objects
...
This is a first step towards moving to a dependency injection model.
2020-09-27 22:08:07 -04:00
mataniko
ed146dd3ab
WEB: Add BiDi support for RTL languages
2020-09-01 00:10:54 -04:00
mataniko
2da6d8f010
WEB: Fix formatting and analysis errors
2020-09-01 00:10:54 -04:00
mataniko
819a958ccd
WEB: Update Localization feature
...
Now L10N will automatically handle new locales and time formats added via Weblate.
2020-09-01 00:10:54 -04:00
Thierry Crozat
b85b1249ab
WEB: Fix parsing of some language
...
With the intorduction of the pt_BR language, the URL was no longer
parsed correctly as the language regexp was too restrictive.
2020-08-03 22:59:12 +01:00
Matan Bareket
f48d95e174
WEB: Lint PHP files
2019-05-08 23:28:05 -04:00
Matan Bareket
ec67ddce8a
WEB: Move public files to /public_html
2019-04-27 01:53:43 -04:00
Matan Bareket
b9df12da28
WEB: Revert 9d98a59
2019-01-23 05:28:31 -05:00
Matan Bareket
9d98a5991e
WEB: Disable Smarty caching
2019-01-23 05:21:02 -05:00
Matan Bareket
07f704f814
WEB: Remove unused Smarty parameters and update syntax
2019-01-22 19:49:58 -05:00
Matan Bareket
56fc8e6d4f
WEB: Remove unused constant
2019-01-22 19:49:58 -05:00
Matan Bareket
573416873c
WEB: Remove Smarty global
2019-01-22 19:49:58 -05:00
Matan Bareket
2d07e63028
WEB: Remove unused code in Controller
2019-01-22 19:49:58 -05:00
Matan Bareket
2eff11cbb3
WEB: Clean up most PSR2 style warnings
2019-01-22 19:49:58 -05:00
Matan Bareket
df825b7878
WEB: Fix phpstan static errors
2019-01-22 19:49:58 -05:00
Matan Bareket
85328f2997
WEB: Use PSR-4 autoloading
2019-01-22 19:49:58 -05:00
Matan Bareket
cfbeebb8dc
WEB: Add namespaces to all PHP files
2019-01-22 19:49:58 -05:00
Matan Bareket
851bb41bb7
WEB: Auto-fix to PSR-2 standard
2019-01-22 19:49:58 -05:00
Matan Bareket
a15b8f4dca
I18N: Automatically generate ini files and sanitize HTML
2018-11-05 13:45:03 -05:00
Matan Bareket
0ce6ab24c0
WEB: Fix date_localized on windows
2018-08-27 00:08:59 -04:00
Matan Bareket
f0be08f8dc
WEB: update templates includes to use the new folder structure
2018-07-26 07:17:40 -04:00
Matan Bareket
ab1ded4bba
WEB: Upgrade to Smarty 3
2018-07-26 07:17:40 -04:00
Colin Snover
a5de04c699
WEB: Deduplicate allowed languages list
2016-04-24 13:47:53 +00:00
Adrian Astley
5c27ce3e0e
WEB: Fix language switching
...
As mentioned in f3c2203e2f ,
the language switching was always 1 behind. As in, the
language would be the last language you selected.
The first problem is that some of the smarty config variables
were being set after the call to _smarty->config_load(). Since
the smarty instance is cached, it was using the last set of variables.
I don't know why the production web site isn't throwing errors. My
personal set up wouldn't load until I could set _smarty->compile_dir
the first time. Perhaps the language update was done on the fly, so
smarty was still cached.
The next potential problem is persistence with $_SESSION.
The session is never initialized with session_start(). However,
the production php.ini may have session auto start enabled.
2016-01-21 12:43:43 -06:00
Eugene Sandulenko
14713d363a
WEB: Made news dates translatable
2016-01-17 01:34:09 +01:00
Eugene Sandulenko
628ee9c980
WEB: Do not process Russian characters
2016-01-16 23:43:58 +01:00
Eugene Sandulenko
f3c2203e2f
WEB: Attempt to implement language switcher functionality
...
For some reason the language switching is working one click behind.
The goal is to have the page switched instantly, but it doesn't happen now.
2016-01-16 23:43:58 +01:00
Eugene Sandulenko
c1f3e53865
WEB: Beginning of language selector functionality
2016-01-16 23:43:58 +01:00
Eugene Sandulenko
46eed0ba3e
WEB: Added lang.ini support
2016-01-16 23:43:58 +01:00
Eugene Sandulenko
2ba0fd5f34
WEB: Translate news.tpl into Russian. Fixes
2016-01-16 23:43:58 +01:00
Eugene Sandulenko
1e5b429733
WEB: Support for localized .xml files
2016-01-16 23:43:58 +01:00
Eugene Sandulenko
de81873722
WEB: Enable multilanguage. Hardcoded for the time being
2016-01-16 23:43:58 +01:00
Eugene Sandulenko
f266d30014
WEB: WIP for multilanguage support
2016-01-16 23:43:58 +01:00
Jordi Vilalta Prat
83ae141b9d
WEB: Replace unnecesary references to SVN with VCS-agnostic terminology.
...
svn path=/web/trunk/; revision=55899
2011-02-12 20:18:55 +00:00
Willem Jan Palenstijn
8d47a34f7c
Cleanup (make entity detection case-insensitive)
...
svn path=/web/trunk/; revision=46222
2009-11-30 16:29:42 +00:00
Martin Kiewitz
afd315e4c3
Another change for Š fix
...
svn path=/web/trunk/; revision=46220
2009-11-30 16:22:27 +00:00
Fredrik Wendel
ecbe49af28
Create a specific class for exception handling and modify relevant code parts. We can now properly detect if the MenuModel is causing the exception and therefor skip it.
...
Without this fix we wouldn't be able to display the exception if MenuModel was the cause since it's used in the Controller, which ExceptionsPage inherits from.
svn path=/web/trunk/; revision=40948
2009-05-27 18:24:16 +00:00
Fredrik Wendel
00d6787e08
Strip ASCII character 194 as it results in a weird character being printed out in the FAQPage (#5_9).
...
svn path=/web/trunk/; revision=40928
2009-05-26 21:14:54 +00:00
Eugene Sandulenko
d429c48de0
Website rewrite from Fredrik Wendel
...
svn path=/web/trunk/; revision=40814
2009-05-23 18:45:30 +00:00