hide the logo claim in case the theme is not loaded

This commit is contained in:
Jan-Christoph Borchardt 2013-06-17 20:35:08 +02:00
parent 0089437c25
commit aaefa157fd
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@
<header><div id="header">
<img src="<?php print_unescaped(image_path('', 'logo.svg')); ?>" class="svg" alt="ownCloud" />
<?php if (OC_Util::getEditionString() !== ''): ?>
<div id="logo-claim">Enterprise Edition</div>
<div id="logo-claim" style="display:none;">Enterprise Edition</div>
<?php endif; ?>
</div></header>
<?php print_unescaped($_['content']); ?>

View File

@ -44,7 +44,7 @@
<a href="<?php print_unescaped(link_to('', 'index.php')); ?>" title="" id="owncloud"><img class="svg"
src="<?php print_unescaped(image_path('', 'logo-wide.svg')); ?>" alt="ownCloud" /></a>
<?php if (OC_Util::getEditionString() !== ''): ?>
<div id="logo-claim">Enterprise Edition</div>
<div id="logo-claim" style="display:none;">Enterprise Edition</div>
<?php endif; ?>
<ul id="settings" class="svg">
<span id="expand" tabindex="0" role="link">