• currentUrl() == $wa_app_url} class="selected"{/if}> [`All photos`]
  • param('action') neq 'page' && $wa->param('action') neq 'album' && $wa->param('hash') == 'favorites'} class="selected"{/if}> [`Editors’ choice`]
  • {* @event frontend_sidebar.%plugin_id%.menu *} {foreach $frontend_sidebar as $plugin_id => $item}{if !empty($item.menu)}
  • {$item.menu}
  • {/if}{/foreach} {if $theme_settings.header_links != 'photos-pages'} {* display static page list in case it was not yet displayed in the core index.html layout template *} {foreach $wa->photos->pages() as $page} 1 && $wa->currentUrl()|strstr:$page.url} class="selected"{/if}>{$page.name} {/foreach} {/if}