Commit Graph

38 Commits

Author SHA1 Message Date
nupplaPhil 9e9429b56d
Move PConfig::get() to DI::pConfig()->get() 2020-01-18 16:50:57 +01:00
nupplaPhil 6e2880c679
Move PConfig::load() to DI::pConfig()->load() 2020-01-18 15:59:01 +01:00
Hypolite Petovan b839a291d7 [frio] Use server theme settings for user's empty settings 2019-07-14 16:28:10 -04:00
Hypolite Petovan 2b8a99fabe
Revert "Default theme = login theme" 2019-07-14 15:18:50 -04:00
Jeroen De Meerleer 660ed6df22 Updated towards hypolite's first suggestion 2019-07-14 10:57:54 +02:00
Jeroen De Meerleer 5aa3cf1e2d Revert "Updated towards hypolites suggestions"
This reverts commit aa5b3c20b3.
2019-07-14 10:54:08 +02:00
Jeroen De Meerleer b70e3d1c22 Revert "Fixed issues"
This reverts commit 5e6b23bd4e.
2019-07-14 10:54:03 +02:00
Jeroen De Meerleer 5e6b23bd4e Fixed issues 2019-07-14 10:48:24 +02:00
Jeroen De Meerleer aa5b3c20b3 Updated towards hypolites suggestions 2019-07-14 10:34:42 +02:00
Jeroen De Meerleer 43625b437b Default theme = login theme 2019-07-13 23:27:54 +02:00
Hypolite Petovan 27c7d233ac [frio] Add expected "none.png" background image 2019-07-05 13:41:48 -04:00
Hypolite Petovan b529c03a20 Sanitize theme path items
- Sanitize theme style/color/scheme path items
2019-03-31 21:52:48 -04:00
Philipp Holzer 6c22f70b62
revert style.php changes 2019-02-18 14:48:26 +01:00
Philipp Holzer f825fa1d1c
tmp alert 2019-02-18 14:21:13 +01:00
Hypolite Petovan 1bdb3c916a Make style.php require query parameter puid for specific stylesheets 2019-01-12 02:21:12 -05: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
Michael Vogel 1283b99c6f Removed notices in the frio theme (#5610)
* Removed notices in the frio theme

* And fixed notices in the notifications

* And some more in frio

* Null is the default value

* And some small notice in the probing removed

* Added note

* Clarified note

* And a removed notice in OStatus
2018-08-14 19:37:44 +00:00
Michael Vogel c72c64a6d8 Notices again (#5543)
* And again notices

* Notices in the directory

* Much more places

* Fix some double $

* Notice in ping

* Missing field

* Fix: We now remove deleted users from the directory

* Some more stuff

* Notices when removing users

* Added logging

* More logging

* Two more
2018-08-02 07:21:01 +02:00
Hypolite Petovan 7feeb0af78 Add backward-compatibility for config variables after schema rename 2018-04-26 04:22:04 -04:00
Hypolite Petovan 86e4690b5f [frio] Add background-repeat attribute to background image options
- Update background image options names and labels
- Add background image option label tag
2018-04-24 20:42:23 -04:00
Hypolite Petovan 0f82c3348d [frio] Rename bgcolor to background-color 2018-04-24 20:39:34 -04:00
Hypolite Petovan 3bfa6facfc [frio] Fix typo schema -> scheme 2018-04-24 20:26:14 -04:00
Hypolite Petovan eb9b832c3a [frio] Normalize quoting style in PHP files 2018-04-24 20:12:43 -04:00
Hypolite Petovan b65c8c55a4 [frio] Fix formatting in PHP files 2018-04-24 20:05:20 -04:00
fabrixxm fc8e8feec1 Frio: add login background color admin option 2018-01-17 16:33:27 +01:00
Hypolite Petovan e36f2bb1fb Use short form array syntax everywhere
- Add short form array syntax to po2php.php generation
2018-01-15 14:07:17 -05:00
Adam Magness 2ef8d72b60 Missing use
missing use statement for profile
2018-01-14 21:29:19 -05:00
Adam Magness 4fb2547df8 Update function calls
update function calls to use profile class
2018-01-14 21:22:39 -05:00
fabrixxm 5392f9eb8b spaces to tabs 2018-01-14 21:53:37 +01:00
fabrixxm de227e305e Frio: add input for login backround image in admin settings 2018-01-14 19:19:24 +01:00
fabrixxm 1064da1052 New home/login page style 2018-01-14 18:45:00 +01:00
Hypolite Petovan 54d598ce7c Fix formatting and PHP Notice in frio theme
- Fix undefined variable $a->install in frio/style
- Removed unused $args assignments in frio/theme
- Removed unused $sql_extra2 variable in frio_acl_lookup()
2018-01-02 08:09:49 -05:00
rabuzarus 578dc6f967 frio: sanitize $schema only if the variable is initialized 2017-10-24 14:44:31 +02:00
rabuzarus 2687a42e3c frio: sanitise $schema 2017-10-23 22:14:35 +02:00
rabuzarus 6a8969452a frio: add the possibility for the admin to change the colors for non personal pages 2017-10-23 20:26:31 +02:00
rabuzarus 1585918f29 frio: set a dummy img for background image if no img was set (Otherwise the empty value would be replaced in the browser with a path to the theme and the css would be loaded a second time) 2017-10-23 15:25:09 +02:00
rabuzarus 9be6dfadba frio: use cached css if no settings (or file) have changed 2017-10-23 15:16:23 +02:00
rabuzarus b67378ac69 restructuring for PR for friendica main repo 2016-05-25 15:12:29 +02:00