1
1
Fork 0
Commit graph

30 commits

Author SHA1 Message Date
4fe2257d8e Prevent warnings on undefined Smarty template variables 2022-02-18 22:44:11 -05:00
Balázs Úr
e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
63da4a75e9 The boot.php had been cleared of most functions 2021-11-04 20:29:59 +00:00
4236a9a105 Improved http error handling 2021-10-29 23:21:07 +00:00
Balázs Úr
054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
f60697110e Clear all previous template variables before replacing Macros in FriendicaSmartyEngine
- Prevents variables leaking between replaceMacros() calls
2020-06-12 22:06:09 -04:00
8b05af176c Add detailed error messages for admin user in Core\Renderer and Render\FriendicaSmartyEngine 2020-05-18 18:10:21 -04:00
ef9b51e631 Replace direct error output and exit by logger + exception in Core\Renderer
- Same in Render\FriendicaSmartyEngine
2020-05-18 01:21:58 -04:00
346f99b877 Add new TemplateEngine->testInstall method
- Add admin summary template engine error messages
2020-05-18 01:20:47 -04:00
c6ba92c43d Refactor template engine code
- Convert ITemplateEngine interface to abstract class
- Remove dependency to App in FriendicaSmarty and FriendicaSmartyEngine
- Normalize replaceMacro parameter behavior using Smarty template string prefixes
- Remove obsolete FriendicaSmarty->parsed method
- Update unused Smarty directory paths
2020-05-18 01:18:41 -04:00
f5f62d3f42
Template Engine with Subdirectory
- Use explicit root path for template engine
- Replace "__DIR__" calls in addons with subdirectories
- Fixes local tests, where call is made out of '/' and not '/vagrant/'
2020-04-26 15:45:25 +02:00
nupplaPhil
85dc9bb96b
Add license info at Friendica PHP files 2020-02-09 16:18:46 +01:00
f0eea6f875
Remove get_app() in favor of DI::app() 2020-01-04 23:42:01 +01:00
ad854d5d40 Define absolute paths for various includes
- Fix errors running local tests in IDE
2019-03-09 23:21:19 -05:00
55e54bb950 Replace deprecated Addon::callHooks with Hook::callAll
- Update documentation
2019-01-21 09:50:56 -05:00
895b3abf32 Remove/replace killme() with *exit() 2019-01-21 09:49:17 -05:00
5e1ceb57de Escape global namespaced get_app() calls
- Add deprecated status
2019-01-03 21:27:36 -05:00
6d90d35d25 Enable Smarty default HTML escaping 2018-12-16 22:38:30 -05:00
458981f75c Replace x() by isset(), !empty() or defaults()
- Remove extraneous parentheses around empty() calls
- Remove duplicate calls to intval(), count() or strlen() after empty()
- Replace ternary operators outputting binary value with empty() return value
- Rewrite defaults() without x()
2018-11-30 09:06:22 -05:00
Adam Magness
3f74ba88c2 Move delimiter props and functions
move left and right delimiter functions and properties to Render class.
2018-10-31 12:12:15 -04:00
3d04562c87
some more renamings & doku 2018-10-10 08:54:18 +02:00
5a02e39a65
Rename App Methods
- renamed a lot of App methods to CamelCase
- replaced direct public variables with get-/set-Methods
2018-10-10 00:16:06 +02:00
Hypolite Petovan
9d0a6f90b6 Update "mrpetovan" email address
- Fix Tobias' email address
- Fix copypasted doc block in Console/PostUpdate
2018-09-15 19:28:38 -04:00
Hypolite Petovan
fde3d6f870 Replace current_theme() and current_theme_url() calls 2018-04-28 18:37:25 -04:00
15a857e411 Line endings are converted to unix style 2018-02-09 03:49:49 +00:00
Hypolite Petovan
411a400472 Move SMARTY3_TEMPLATE_FOLDER to FriendicaSmarty
- Copy get_template_file into only class calling it
2018-02-03 08:52:43 -05:00
6500c32362 added missing constant 2018-02-03 11:11:00 +01:00
Hypolite Petovan
03c1f2cbf8 Fix formatting in Render/FriendicaSmarty* 2018-02-02 07:47:42 -05:00
Hypolite Petovan
f574528338 Add FriendicaSmarty and FriendicaSmartyEngine classes in src 2018-02-02 07:46:13 -05:00
Hypolite Petovan
104a1d7fd3 Move ITemplateEngine to src
- Fix method name format
2017-11-19 10:22:18 -05:00