Skip to content
Snippets Groups Projects
Commit 06267fec authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #11928 from owncloud/support-HTML-in-logo

Support HTML in logo
parents 7f41048a be5ae6c4
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@
if(OC_Util::getEditionString() === '') {
p(!empty($_['application'])?$_['application']: $l->t('Apps'));
} else {
p($theme->getName());
print_unescaped($theme->getHTMLName());
}
?>
</div>
......
......@@ -156,6 +156,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
......
......@@ -97,6 +97,14 @@ class Defaults {
return $this->defaults->getName();
}
/**
* name of your ownCloud instance containing HTML styles
* @return string
*/
public function getHTMLName() {
return $this->defaults->getHTMLName();
}
/**
* Entity behind your onwCloud instance
* @return string
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment