{{if theme.vala_navtopm_breadcrumb_enabled}} {{if \count( \IPS\Output::i()->breadcrumb )}} {{if \count( \IPS\Output::i()->breadcrumb ) == 1}}
  • {lang="home"}
  • {{else}} {{$i = 0;}} {{foreach \IPS\Output::i()->breadcrumb as $k => $b}} {{if $i + 2 == \count( \IPS\Output::i()->breadcrumb )}}
  • {$b[1]}
  • {{endif}} {{$i++;}} {{endforeach}} {{endif}} {{endif}} {{else}}
  • {{if \count( \IPS\Output::i()->breadcrumb )}} {{if \count( \IPS\Output::i()->breadcrumb ) == 1}} {{else}} {{$i = 0;}} {{foreach \IPS\Output::i()->breadcrumb as $k => $b}} {{if $i + 2 == \count( \IPS\Output::i()->breadcrumb )}} {{endif}} {{$i++;}} {{endforeach}} {{endif}} {{endif}} {template="logo" app="core" group="global" params=""}
  • {{endif}} {{if theme.vala_navtopm_stream_enabled}} {{$defaultStream = \IPS\core\Stream::defaultStream();}}
  • canAccessModule( \IPS\Application\Module::get( 'core', 'discover' ) ) }}class='ipsHide'{{endif}}>
  • {{endif}} {{if theme.vala_navtopm_create_enabled}} {{if !\IPS\Member::loggedIn()->restrict_post and \count( \IPS\Member::loggedIn()->createMenu() )}}
  • {{endif}} {{endif}} {{if theme.vala_navtopm_search_enabled}} {{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'search' ) )}}
  • {{endif}} {{endif}}
  • {{$total = \IPS\Member::loggedIn()->notification_cnt;}} {{if !\IPS\Member::loggedIn()->members_disable_pm and \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'messaging' ) )}} {{$total += \IPS\Member::loggedIn()->msg_count_new;}} {{endif}} {{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'modcp' ) ) and \IPS\Member::loggedIn()->modPermission('can_view_reports')}} {{$total += \IPS\Member::loggedIn()->reportCount();}} {{endif}} {{if $total}} {$total} {{endif}}