]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix html formating issues 3008/head
authorJulius Haertl <jus@bitgrid.net>
Fri, 3 Mar 2017 14:09:21 +0000 (15:09 +0100)
committerJulius Härtl <jus@bitgrid.net>
Thu, 16 Mar 2017 10:55:10 +0000 (11:55 +0100)
Signed-off-by: Julius Haertl <jus@bitgrid.net>
core/templates/layout.user.php

index f5be365a3653bd5059caf52ff6c101a44c373cae..3cfb88bf423d92fdfa405b33b1d1ac60bf7add13 100644 (file)
                                                                </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>