diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-11-05 13:54:29 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-11-05 13:54:29 +0100 |
commit | 06267fec8fb57ba6921d4c704cb2c05eb1d4c36e (patch) | |
tree | fe61836863d5a37225abcb7c82b903505f3f01f3 /lib | |
parent | 7f41048a338c1dfb170bae211a6f591016c8d0d5 (diff) | |
parent | be5ae6c44f8fae9364c0be65f4f685d7c1afa104 (diff) | |
download | nextcloud-server-06267fec8fb57ba6921d4c704cb2c05eb1d4c36e.tar.gz nextcloud-server-06267fec8fb57ba6921d4c704cb2c05eb1d4c36e.zip |
Merge pull request #11928 from owncloud/support-HTML-in-logo
Support HTML in logo
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/defaults.php | 12 | ||||
-rw-r--r-- | lib/public/defaults.php | 8 |
2 files changed, 20 insertions, 0 deletions
diff --git a/lib/private/defaults.php b/lib/private/defaults.php index cc6c819f03f..c16ebdbe24c 100644 --- a/lib/private/defaults.php +++ b/lib/private/defaults.php @@ -157,6 +157,18 @@ class OC_Defaults { } /** + * Returns the short name of the software containing HTML strings + * @return string title + */ + public function getHTMLName() { + if ($this->themeExist('getHTMLName')) { + return $this->theme->getHTMLName(); + } else { + return $this->defaultName; + } + } + + /** * Returns entity (e.g. company name) - used for footer, copyright * @return string entity name */ diff --git a/lib/public/defaults.php b/lib/public/defaults.php index 9af31245ff4..662071a29a9 100644 --- a/lib/public/defaults.php +++ b/lib/public/defaults.php @@ -98,6 +98,14 @@ class Defaults { } /** + * name of your ownCloud instance containing HTML styles + * @return string + */ + public function getHTMLName() { + return $this->defaults->getHTMLName(); + } + + /** * Entity behind your onwCloud instance * @return string */ |