diff options
author | Julius Haertl <jus@bitgrid.net> | 2017-03-03 15:09:21 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2017-03-16 11:55:10 +0100 |
commit | b8ef61645522322486a055df40d3d773964de720 (patch) | |
tree | e8969b0265e1f3dfe2a1fcf5c6577543c83411d8 /core/templates | |
parent | 780400302cc0d2fac77ae5640e4f572707c36665 (diff) | |
download | nextcloud-server-b8ef61645522322486a055df40d3d773964de720.tar.gz nextcloud-server-b8ef61645522322486a055df40d3d773964de720.zip |
Fix html formating issues
Signed-off-by: Julius Haertl <jus@bitgrid.net>
Diffstat (limited to 'core/templates')
-rw-r--r-- | core/templates/layout.user.php | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index f5be365a365..3cfb88bf423 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -74,31 +74,22 @@ </a> </li> <?php endforeach; ?> - <li id="more-apps" class="menutoggle<?php - if ( !(count($_['navigation']) > $headerIconCount - || (OC_User::isAdminUser(OC_User::getUser()) && count($_['navigation'])>=$headerIconCount))): ?> hidden<?php endif; ?>"> + <li id="more-apps" class="menutoggle<?php if (!(count($_['navigation']) > $headerIconCount || (OC_User::isAdminUser(OC_User::getUser()) && count($_['navigation'])>=$headerIconCount))): ?> hidden<?php endif; ?>"> <a href="#"> <div class="icon-more-white"></div> - <span><?php p($l->t('More apps')); ?> - </span> + <span><?php p($l->t('More apps')); ?></span> </a> </li> - <?php - /* show "More apps" link to app administration directly in app navigation, as last entry */ - if(OC_User::isAdminUser(OC_User::getUser())): - ?> + <?php if(OC_User::isAdminUser(OC_User::getUser())): ?> <li id="apps-management" <?php if(count($_['navigation'])>$headerIconCount-1): ?>class="hidden"<?php endif; ?>> <a href="<?php print_unescaped(\OC::$server->getURLGenerator()->linkToRoute('settings.AppSettings.viewApps')); ?>" tabindex="4" <?php if( $_['appsmanagement_active'] ): ?> class="active"<?php endif; ?>> <img src="<?php print_unescaped(image_path('settings', 'apps.svg') . '?v=' . $_['versionHash']); ?>" /> - </svg> <div class="icon-loading-dark" style="display:none;"></div> - <span> - <?php p($l->t('Apps')); ?> - </span> + <span><?php p($l->t('Apps')); ?></span> </a> </li> - <?php endif; ?> + <?php endif; ?> </ul> </div> |