Commit graph

116 commits

Author SHA1 Message Date
Michael 28090bd793 Get rid of App->user completely 2021-08-08 19:30:21 +00:00
Michael fc283ab928 Remove direct calls to App->user 2021-08-08 10:14:56 +00:00
Michael 5a87ccf026 Getter/Setter for theme info 2021-07-25 19:39:10 +00:00
Michael c52b8595e8 theme infos are now bundled in a single array 2021-07-25 19:07:03 +00:00
Hypolite Petovan 43638fa29b Fix undefined variables in nav.tpl
- Reworked the nav_info hook to include the rest of the array keys defined in Nav::getInfo
- Replaced the theme-specific template variable nav.userinfo with the regular userinfo in frio nav.tpl
- Initialized all the nav array keys
2021-05-10 19:03:33 -04:00
Roland Häder 5691099a15
Added missing type-hints
Signed-off-by: Roland Häder <roland@mxchange.org>
2021-03-09 13:37:48 +01:00
Hypolite Petovan 2f590b2e07
Fix condition formatting in view/theme/frio/theme.php 2021-02-28 07:44:36 -05:00
Michael 530cfba71e Offer "follow thread" only when you don't already follow 2021-02-28 07:47:07 +00:00
Hypolite Petovan 7f78d6e722 Replace references of GET mod/substhread with POST item/{id}/follow 2021-01-31 17:36:18 -05:00
Hypolite Petovan e4a1ace3ad [frio] Add more color accents 2020-08-19 23:12:52 -04:00
Hypolite Petovan cb588eb535 [frio] Add scheme accent feature
- Add new accented scheme light
- Add first accent blue
2020-08-19 23:12:48 -04:00
Hypolite Petovan 0ae6c9708a [frio] Remove unused theme functions 2020-08-15 19:15:38 -04:00
Hypolite Petovan 8042119447
Merge pull request #8974 from annando/issue-8967
Issue 8967: Fix avatar in top bar
2020-08-05 10:30:20 -04:00
Michael d56ac8d58f Fix wrong parameter order 2020-08-05 12:57:02 +00:00
Michael Vogel 0224bc8367
Update view/theme/frio/theme.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-08-05 05:39:00 +02:00
Michael f1380e6af4 Issue 8967: Fix avatar in top bar 2020-08-04 20:15:42 +00:00
Michael b026901dbc Added additional field 2020-08-02 15:44:41 +00:00
Michael c03cf39c26 "gcontact" removed in the themes as well 2020-08-02 07:54:18 +00:00
Hypolite Petovan cd84f9a921 Reduce number of calls to Hook::delete when uninstalling addons/themes
- Add a sweeping Hook deletion on theme uninstall (like for addons)
2020-07-27 08:24:55 -04:00
Hypolite Petovan cb03418937 Add checks for $a->user existence
- Variable can be empty/null in many cases
2020-07-09 15:09:07 -04:00
Michael 0acb5d4558 "parent = id" is replaced with gravity check 2020-05-28 16:02:36 +00:00
Hypolite Petovan 7f04aea8b1 Move poke module to src/
- Add new route contact/<cid>/poke and update all references
- Rework template with form field includes
- [frio] Enable modal behavior
2020-04-20 11:47:08 -04:00
Michael 825a7f9f93 Issue 8321: Follow items now work again 2020-03-05 07:16:47 +00:00
Michael Vogel eefa699bb2
Merge pull request #8317 from MrPetovan/task/frio-remove-compose-setting
[frio] Remove "Enable Compose page" setting
2020-02-20 09:35:48 +01:00
Hypolite Petovan cf99c752ea [frio] Remove "Enable Compose page" setting 2020-02-19 15:11:54 -05:00
Hypolite Petovan b9325251e8 Add Theme::getBackgroundColor and Theme::getThemeColor methods 2020-02-19 10:28:57 -05:00
Hypolite Petovan a607656607 Replace profile tab GET parameter by route 2020-01-27 19:21:18 -05:00
Hypolite Petovan 04d620fc2f
Merge pull request #8142 from nupplaphil/task/di_config
CleanUp Config namespace
2020-01-19 22:22:57 -05:00
Philipp Holzer ed9392469e
Remove unneeded Config namespace usages 2020-01-19 22:50:44 +01:00
Michael dcbd44ab88 Removed the rest of the @brief fields 2020-01-19 20:44:01 +00:00
Philipp Holzer 6c36fd9e01
Move Config::get() to DI::config()->get() 2020-01-19 21:21:13 +01:00
Philipp Holzer d6efc90194
cleanup namespace usages for L10n 2020-01-19 16:31:33 +01:00
Philipp Holzer 5dfee31108
Move L10n::t() calls to DI::l10n()->t() calls 2020-01-19 16:31:16 +01:00
Michael 0a4119adaf @brief is removed completely 2020-01-19 06:05:23 +00:00
Philipp Holzer 9e9429b56d
Move PConfig::get() to DI::pConfig()->get() 2020-01-18 16:50:57 +01:00
Michael b83f328983 Remove "f" parameter / network page parameter cleanup 2020-01-13 20:10:13 +00:00
Philipp Holzer 6d7362da41
Replace deprecated $a->page with DI::page() 2019-12-30 20:02:09 +01:00
Philipp Holzer 26af2feee2
Remove deprecated App::is_mobile/is_tablet - replace with DI::mode()->isMobile()/isTablet() 2019-12-29 20:17:50 +01:00
Philipp Holzer e93fba5136
Remove deprecated App::removeBaseURL - process methods to DI::baseUrl()->remove() 2019-12-29 20:17:45 +01:00
Hypolite Petovan d5efca1171 [frio] Add compose page JS trigger and theme setting 2019-07-29 20:31:47 -04:00
Hypolite Petovan b9ab613777 Merge branch 'master' into develop 2019-06-23 17:40:52 -04:00
Hypolite Petovan 0af10a42b0 Normalize logout link behavior across themes 2019-06-11 19:42:08 -04:00
Hypolite Petovan 01e71254d9 Replace defaults() calls on $_SESSION by Core\Session calls
- Replace direct calls to $_SESSION by Core\Session calls in Module\Login
2019-05-26 21:26:59 -04:00
Peter Liebetrau eee0e22856 frio - fix PHP Notices reported in #6338 2019-01-27 13:21:18 +01:00
Peter Liebetrau 189e179088 frio - fixed bug in user menu for visitors - see after-merge discussion in #6526 2019-01-26 23:02:23 +01:00
Peter Liebetrau 7918e41097 frio - fixed bug in user menu for remote user - see issue #6495 2019-01-26 20:15:56 +01:00
Hypolite Petovan c90314cd6a Replace deprecated Addon::*registerHook by Hook::*register
- Updated documentation
2019-01-21 09:50:57 -05:00
Hypolite Petovan 765784aad3 [frio] Remove unused code in frio_init() 2019-01-19 21:54:10 -05:00
Michael 28f14c7d60 Don't show deleted contacts, changed "pending" behaviour 2019-01-12 13:28:14 +00:00
Hypolite Petovan 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