diff options
author | fnuesse <felix.nuesse@t-online.de> | 2018-06-18 12:42:43 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-07-12 16:49:38 +0200 |
commit | bff99c6e266c34b0ecff3b57f600b0485851eeb4 (patch) | |
tree | 7178ac6622bd57132c764105d4a54d96c3ed29a7 /apps/files/templates | |
parent | 60e6ac3b6e8597a5cc63c9f60c943fa122b70698 (diff) | |
download | nextcloud-server-bff99c6e266c34b0ecff3b57f600b0485851eeb4.tar.gz nextcloud-server-bff99c6e266c34b0ecff3b57f600b0485851eeb4.zip |
Changed toggle
Signed-off-by: fnuesse <felix.nuesse@t-online.de>
Fixed Codestyle and changed linkgeneration
Signed-off-by: fnuesse <felix.nuesse@t-online.de>
Fixed Codestyle
Signed-off-by: fnuesse <felix.nuesse@t-online.de>
Fixed Codestyle (Renamed Variables)
Signed-off-by: fnuesse <felix.nuesse@t-online.de>
Diffstat (limited to 'apps/files/templates')
-rw-r--r-- | apps/files/templates/appnavigation.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/apps/files/templates/appnavigation.php b/apps/files/templates/appnavigation.php index f88bf7866f4..7bf92995de6 100644 --- a/apps/files/templates/appnavigation.php +++ b/apps/files/templates/appnavigation.php @@ -7,17 +7,17 @@ ?> <li data-id="<?php p(isset($item['href']) ? $item['href'] : $item['id']) ?>" - class="nav-<?php p($item['id']) ?> <?php p($item['classes']) ?> <?php p($pinned===1?'first-pinned':'') ?> <?php if($item['enableQuickaccess']=='true'){ ?> open<?php } ?>" - <?php if(isset($item['folderPosition'])){ ?> folderPos="<?php p($item['folderPosition']);?>"<?php } ?> - <?php if($item['id']=='favorites'){?>id="favorites-toggle"<?php } ?>> + class="nav-<?php p($item['id']) ?> <?php p($item['classes']) ?> <?php p($pinned===1?'first-pinned':'') ?> <?php if ($item['enableQuickaccess'] === 'true') { ?> open<?php } ?>" + <?php if (isset($item['folderPosition'])){ ?> folderPos="<?php p($item['folderPosition']);?>"<?php } ?> + <?php if ($item['id'] === 'favorites'){?>id="favorites-toggle"<?php } ?>> - <?php if($item['id']=='favorites'){?> - <button id="button-collapseQuickAccess" class="collapse" <?php if($item['favoritescount']==0){ ?> style="display: none"<?php } ?>></button><?php } ?> + <?php if ($item['id'] === 'favorites'){?> + <button id="button-collapseQuickAccess" class="collapse" <?php if ($item['favoritescount'] === 0){ ?> style="display: none"<?php } ?>></button><?php } ?> <a href="<?php p(isset($item['href']) ? $item['href'] : '#') ?>" class="nav-icon-<?php p($item['icon'] !== '' ? $item['icon'] : $item['id']) ?> svg"><?php p($item['name']);?></a> - <?php if($item['id']=='favorites'){?> - <div id="quickaccessbutton" class="app-navigation-entry-utils" <?php if($item['favoritescount']==0){ ?> style="display: none"<?php } ?>> + <?php if ($item['id'] === 'favorites') {?> + <div id="quickaccessbutton" class="app-navigation-entry-utils" <?php if ($item['favoritescount'] === 0) { ?> style="display: none"<?php } ?>> <ul> <li class="app-navigation-entry-utils-menu-button svg"> <button id="button-<?php p($item['id']) ?>"></button> @@ -53,10 +53,10 @@ </ul> </div> <ul id="quickaccess-list" > - <?php /*This fixes the styleerrors if no favorites are set*/ if($item['favoritescount']==0){?></ul><?php } ?> + <?php /*This fixes the styleerrors if no favorites are set*/ if ($item['favoritescount'] === 0) {?></ul><?php } ?> <?php } ?> - <?php if($item['quickaccesselement']=='last'){?> + <?php if ($item['quickaccesselement'] === 'last') {?> </ul> <?php } ?> </li> |