-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Theming fixes #405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Theming fixes #405
Conversation
4f8c8be to
1a1e33d
Compare
1a1e33d to
f35b696
Compare
|
@nickvergessen Is this ready to review? |
|
|
||
| // setup realm | ||
| $defaults = new \OC_Defaults(); | ||
| $defaults = new \OCP\Defaults(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any reasons why we don't use \OC::$server->getThemingDefaults() here and below?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
getThemingDefaults() is marked as internal, and the constructor of OCP\Default uses this internal method after this PR.
|
Yes, ready for review |
|
|
||
| public function getShortFooter() { | ||
| $slogan = $this->getSlogan(); | ||
| $footer = '<a href="'. $this->getBaseUrl() . '" target="_blank"' . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needs escaping?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No? Or atleast this is just copy paste of the parent class, so it would need fixing there as.
|
Tested and works 👍 Code looks good |
|
looks good 👍 |
Fixes https://help.nextcloud.com/t/absender-von-freigabelinks/1620
Should backport to 9.0: #406
@LukasReschke @MorrisJobke @schiessle