Fix unallowed child elements
This commit is contained in:
parent
b24c21b00f
commit
3ae17d0785
|
@ -48,15 +48,16 @@
|
||||||
<a href="<?php print_unescaped(link_to('', 'index.php')); ?>" title="" id="owncloud"><img class="svg"
|
<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="<?php p($theme->getName()); ?>" /></a>
|
src="<?php print_unescaped(image_path('', 'logo-wide.svg')); ?>" alt="<?php p($theme->getName()); ?>" /></a>
|
||||||
<div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
|
<div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
|
||||||
<ul id="settings" class="svg">
|
<div id="settings" class="svg">
|
||||||
<span id="expand" tabindex="0" role="link">
|
<span id="expand" tabindex="0" role="link">
|
||||||
<span id="expandDisplayName"><?php p(trim($_['user_displayname']) != '' ? $_['user_displayname'] : $_['user_uid']) ?></span>
|
<span id="expandDisplayName"><?php p(trim($_['user_displayname']) != '' ? $_['user_displayname'] : $_['user_uid']) ?></span>
|
||||||
<img class="svg" src="<?php print_unescaped(image_path('', 'actions/caret.svg')); ?>" />
|
<img class="svg" src="<?php print_unescaped(image_path('', 'actions/caret.svg')); ?>" />
|
||||||
|
</span>
|
||||||
<?php if ($_['enableAvatars']): ?>
|
<?php if ($_['enableAvatars']): ?>
|
||||||
<div class="avatardiv"></div>
|
<div class="avatardiv"></div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</span>
|
|
||||||
<div id="expanddiv">
|
<div id="expanddiv">
|
||||||
|
<ul>
|
||||||
<?php foreach($_['settingsnavigation'] as $entry):?>
|
<?php foreach($_['settingsnavigation'] as $entry):?>
|
||||||
<li>
|
<li>
|
||||||
<a href="<?php print_unescaped($entry['href']); ?>" title=""
|
<a href="<?php print_unescaped($entry['href']); ?>" title=""
|
||||||
|
@ -72,8 +73,9 @@
|
||||||
<?php p($l->t('Log out'));?>
|
<?php p($l->t('Log out'));?>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</div>
|
|
||||||
</ul>
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<form class="searchbox" action="#" method="post">
|
<form class="searchbox" action="#" method="post">
|
||||||
<input id="searchbox" class="svg" type="search" name="query"
|
<input id="searchbox" class="svg" type="search" name="query"
|
||||||
|
@ -83,8 +85,8 @@
|
||||||
</div></header>
|
</div></header>
|
||||||
|
|
||||||
<nav><div id="navigation">
|
<nav><div id="navigation">
|
||||||
<ul id="apps" class="svg">
|
<div id="apps" class="svg">
|
||||||
<div class="wrapper"><!-- for sticky footer of apps management -->
|
<ul class="wrapper"><!-- for sticky footer of apps management -->
|
||||||
<?php foreach($_['navigation'] as $entry): ?>
|
<?php foreach($_['navigation'] as $entry): ?>
|
||||||
<li data-id="<?php p($entry['id']); ?>">
|
<li data-id="<?php p($entry['id']); ?>">
|
||||||
<a href="<?php print_unescaped($entry['href']); ?>" title=""
|
<a href="<?php print_unescaped($entry['href']); ?>" title=""
|
||||||
|
@ -96,14 +98,16 @@
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
|
||||||
<?php if(OC_User::isAdminUser(OC_User::getUser())): ?>
|
<?php if(OC_User::isAdminUser(OC_User::getUser())): ?>
|
||||||
<div class="push"></div><!-- for for sticky footer of apps management -->
|
<li class="push"></li><!-- for sticky footer of apps management -->
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</ul>
|
||||||
|
|
||||||
<!-- show "More apps" link to app administration directly in app navigation, as sticky footer -->
|
<!-- show "More apps" link to app administration directly in app navigation, as sticky footer -->
|
||||||
<?php if(OC_User::isAdminUser(OC_User::getUser())): ?>
|
<?php if(OC_User::isAdminUser(OC_User::getUser())): ?>
|
||||||
<li id="apps-management">
|
<ul id="apps-management">
|
||||||
|
<li>
|
||||||
<a href="<?php print_unescaped(OC_Helper::linkToRoute('settings_apps').'?installed'); ?>" title=""
|
<a href="<?php print_unescaped(OC_Helper::linkToRoute('settings_apps').'?installed'); ?>" title=""
|
||||||
<?php if( $_['appsmanagement_active'] ): ?> class="active"<?php endif; ?>>
|
<?php if( $_['appsmanagement_active'] ): ?> class="active"<?php endif; ?>>
|
||||||
<img class="icon svg" src="<?php print_unescaped(OC_Helper::imagePath('settings', 'apps.svg')); ?>"/>
|
<img class="icon svg" src="<?php print_unescaped(OC_Helper::imagePath('settings', 'apps.svg')); ?>"/>
|
||||||
|
@ -112,8 +116,9 @@
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<?php endif; ?>
|
|
||||||
</ul>
|
</ul>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
||||||
</div></nav>
|
</div></nav>
|
||||||
|
|
||||||
<div id="content-wrapper">
|
<div id="content-wrapper">
|
||||||
|
|
Loading…
Reference in New Issue