@extends('layouts.cms') @section('content')

{{ Lang::get('cms.ustawienia_globalne') }}

{{ Form::open(array('url' => 'admin/config/basic/save', 'role' => 'form', 'class' => 'form-horizontal', 'name' => 'banner_content', 'files'=> true)) }}
@if ($status=(isset($settings) && $settings->disable_site == 1) ? true : false) @endif
{{ Form::textarea('disable_site_exception_ip', @$settings->disable_site_exception_ip, array('class' => Config::get('custom.form.input-class'), 'rows' => 5)) }}
@define $pages = \Page::where('parent', '=', 0)->orderBy('sort', 'ASC')->get();
{{ Form::text('leady_listing_limit', @$settings->leady_listing_limit, array('class' => Config::get('custom.form.input-class'))) }}
{{ Form::text('robots', @$settings->robots, array('class' => Config::get('custom.form.input-class'))) }}
{{ Form::text('author', @$settings->author, array('class' => Config::get('custom.form.input-class'))) }}
{{ Form::text('id_google_analitics', @$settings->id_google_analitics, array('class' => Config::get('custom.form.input-class'))) }}
{{ Form::hidden('form_type', 'global') }} {{ Form::close() }}
{{--

{{ Lang::get('cms.ustawienia_smtp') }}

{{ Form::open(array('url' => 'admin/config/basic/save', 'role' => 'form', 'class' => 'form-horizontal', 'name' => 'banner_content', 'files'=> true)) }}
{{ Form::text('send_notification_to', @$settings->send_notification_to, array('class' => Config::get('custom.form.input-class'))) }}
{{ Form::text('reply_to', @$settings->reply_to, array('class' => Config::get('custom.form.input-class'))) }}
{{ Form::text('smtp_from', @$settings->smtp_from, array('class' => Config::get('custom.form.input-class'))) }}
{{ Form::text('smtp_name', @$settings->smtp_name, array('class' => Config::get('custom.form.input-class'))) }}
{{ Form::text('smtp_server', @$settings->smtp_server, array('class' => Config::get('custom.form.input-class'))) }}
{{ Form::text('smtp_login', @$settings->smtp_login, array('class' => Config::get('custom.form.input-class'))) }}
{{ Form::text('smtp_port', @$settings->smtp_port, array('class' => Config::get('custom.form.input-class'))) }}
dkim_enabled)checked='checked'@endif class='checkbox_status' data-show-on-check='dkim-container'>
{{ Form::hidden('form_type', 'smtp') }} {{ Form::close() }}
--}}

{{ Lang::get('cms.znaczniki_meta') }}

{{ Form::open(array('url' => 'admin/config/basic/save', 'role' => 'form', 'class' => 'form-horizontal', 'name' => 'banner_content', 'files'=> true)) }}
@if ($show_language_tabs) @endif
@foreach ($languages as $key => $language) @if ($code = strtolower($language->code)) @endif
{{ Form::text('meta['.$language->id.'][meta_title]', @$settings->$code->meta_title, array('class' => Config::get('custom.form.input-class'), 'id' => 'meta_title_' . $code)) }}
{{ Form::textarea('meta['.$language->id.'][meta_keywords]', @$settings->$code->meta_keywords, array('class' => Config::get('custom.form.input-class') . " textarea", 'id' => 'meta_keywords_' . $code)) }}
{{ Form::textarea('meta['.$language->id.'][meta_description]', @$settings->$code->meta_description, array('class' => Config::get('custom.form.input-class') . " textarea", 'id' => 'meta_description_' . $code)) }}
@endforeach
{{ Form::hidden('form_type', 'meta_tag') }} {{ Form::close() }}

Cookies info

{{ Form::open(array('url' => 'admin/config/basic/save', 'role' => 'form', 'class' => 'form-horizontal', 'name' => 'banner_content', 'files'=> true)) }}
@if ($show_language_tabs) @endif
@foreach ($languages as $key => $language) @if ($code = strtolower($language->code)) @endif @endforeach
{{ Form::hidden('form_type', 'cookie_info') }} {{ Form::close() }}
@stop