X Tutup
Skip to content

Commit 256c2a5

Browse files
authored
Merge pull request #35273 from owncloud/backport-30882
[Stable10] allow html in claim and use htmlname in layout
2 parents 2798149 + 2accb36 commit 256c2a5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

core/templates/layout.guest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737
<div id="header">
3838
<div class="logo">
3939
<h1 class="hidden-visually">
40-
<?php p($theme->getName()); ?>
40+
<?php print_unescaped($theme->getHTMLName()); ?>
4141
</h1>
4242
</div>
43-
<div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
43+
<div id="logo-claim" style="display:none;"><?php print_unescaped($theme->getLogoClaim()); ?></div>
4444
</div>
4545
</header>
4646
<?php endif; ?>

core/templates/layout.user.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<div id="header">
4646
<a href="<?php print_unescaped(link_to('', 'index.php')); ?>" id="owncloud" tabindex="1">
4747
<h1 class="logo-icon">
48-
<?php p($theme->getName()); ?>
48+
<?php print_unescaped($theme->getHTMLName()); ?>
4949
</h1>
5050
</a>
5151
<a href="#" class="header-appname-container menutoggle" tabindex="2">
@@ -56,7 +56,7 @@
5656
<?php p(!empty($_['application']) ? $_['application'] : $l->t('Apps')); ?>
5757
</h1>
5858
</a>
59-
<div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
59+
<div id="logo-claim" style="display:none;"><?php print_unescaped($theme->getLogoClaim()); ?></div>
6060
<div id="settings">
6161
<div id="expand" tabindex="6" role="link" class="menutoggle">
6262
<?php if ($_['enableAvatars']): ?>

0 commit comments

Comments
 (0)
X Tutup