@section('content') @define $settings = \Setting::get() @define $main_page = @$settings->global->main_page
@if($allow_sort_button)
@endif {{ Lang::get('cms.dodaj_podstrone') }}
@if ($show_language_tabs) @endif
@foreach ($languages as $key => $language_tabs) @if ($code = strtolower($language_tabs->code)) @endif
@if($show_sort_arrow) @endif @if(\Config::get('custom.cms.podstrony.menu_rozwijane', true) || (!isset($data['id']) || $data['id'] == 0)) @endif @if(\Config::get('custom.cms.podstrony.menu_rozwijane', true)) @endif @if(!\Config::get('custom.cms.podstrony.ukryj_kol_menu_dolne', false)) @endif @if(\Config::get('custom.one_page', false) && (!isset($data['id']) || $data['id'] == 0)) @endif @forelse ($data['pages'] as $page) @define $content = $page->getContentByLanguage($language_tabs->id) @if($show_sort_arrow) @endif @if(\Config::get('custom.cms.podstrony.menu_rozwijane', true) || (!isset($data['id']) || $data['id'] == 0)) @endif @if(\Config::get('custom.cms.podstrony.menu_rozwijane', true)) @endif @if(!\Config::get('custom.cms.podstrony.ukryj_kol_menu_dolne', false)) @endif @if(\Config::get('custom.one_page', false) && (!isset($data['id']) || $data['id'] == 0)) @endif @empty @endforelse
{{ Lang::get('cms.zaznacz') }} {{ Lang::get('cms.tytul') }} {{ Lang::get('cms.link') }} {{ Lang::get('cms.aktywna') }}{{ Lang::get('cms.w_menu') }}{{ Lang::get('cms.klikalna') }}{{ Lang::get('cms.menu_dolne') }}{{ Lang::get('cms.sekcja_onepage') }}{{ Lang::get('cms.podglad') }} {{ Lang::get('cms.podstrony') }} {{ Lang::get('cms.galerie') }} {{ Lang::get('cms.wersje') }} {{ Lang::get('cms.opcje') }}
@if($content && @$content->title != ''){{ @$content->title }}@else {{ $page->getDefaultTitle() }} @endif @if(trim($content->redirect) != '') {{ trim($content->redirect) }} @else @define $language_prefix = ''; @if(!$language_tabs->is_default) @define $language_prefix = '/' . strtolower($language_tabs->code); @endif id, $language_tabs->code) }}' target='_blank'>{{ $language_prefix }}{{ \UrlRoute::getRoute('pages', $page->id, $language_tabs->code) }} @endif @if($page->id != $main_page)
active)checked='checked'@endif>
@else
active)checked='checked'@endif disabled="disabled">
@endif
show_in_menu)checked='checked'@endif>
clickable)checked='checked'@endif>
bottom_menu)checked='checked'@endif>
onepage_separate)checked='checked'@endif>
{{ Lang::get('cms.podglad') }}
@if(!$content->onepage_separate || ($content->onepage_separate && $page->display_lead)) ({{ $page->totalSubpage() }}) @else - @endif ({{ $page->albums()->count() }}) @if($page->id != $main_page) @else @endif
{{ Lang::get('cms.nic_tu_nie_ma') }}
 
{{ Lang::get('cms.zaznacz_wszystkie') }} | {{ Lang::get('cms.odznacz_wszystkie') }}