<commit_before>@extends('skins.neverland.admin.layout')

@section('module')
	<section id="admin-site">
		{{
			Form::open(array(
				'autocomplete'   => 'off',
				'role'           => 'form',
			))
		}}

		<div class="row-fluid">
			<div class="span12">
				<fieldset>
					<legend>{{ Lang::get('admin.site_settings') }}</legend>

					<ul id="tabs-site" class="nav nav-tabs">
						<li class="active">
							<a href="#site-general" data-toggle="tab">{{ Lang::get('admin.general') }}</a>
						</li>

						<li>
							<a href="#site-content" data-toggle="tab">{{ Lang::get('admin.content') }}</a>
						</li>
					</ul>

					<div class="tab-content form-horizontal">
						<div id="site-general" class="tab-pane fade in active">
							<div class="control-group">
								{{
									Form::label('fqdn', Lang::get('admin.fqdn'), array(
										'class' => 'control-label span2'
									))
								}}

								<div class="span9">
									{{
										Form::text('fqdn', $site->general->fqdn, array(
											'class' => 'input-xxlarge',
										))
									}}

									<div class="help-block">
										{{ Lang::get('admin.fqdn_exp') }}
									</div>
								</div>
							</div>

							<div class="control-group">
								{{
									Form::label('title', Lang::get('admin.site_title'), array(
										'class' => 'control-label span2'
									))
								}}

								<div class="span9">
									{{
										Form::text('title', $site->general->title, array(
											'class'      => 'input-xxlarge',
											'maxlength'  => 20
										))
									}}
								</div>
							</div>

							<div class="control-group">
								{{
									Form::label('copyright', Lang::get('admin.copyright'), array(
										'class' => 'control-label span2'
									))
								}}

								<div class="span9">
									{{
										Form::textarea('copyright', $site->general->copyright, array(
											'class' => 'input-xxlarge',
											'rows'  => 4,
										))
									}}
								</div>
							</div>

							<div class="control-group">
								{{
									Form::label('lang', Lang::get('admin.language'), array(
										'class' => 'control-label span2'
									))
								}}

								<div class="span9">
									{{
										Form::select('lang', $langs, $site->general->lang, array(
											'class' => 'input-xxlarge'
										))
									}}
								</div>
							</div>

							<div class="control-group">
								{{
									Form::label('per_page', Lang::get('admin.list_length'), array(
										'class' => 'control-label span2'
									))
								}}

								<div class="span9">
									{{
										Form::text('per_page', $site->general->perPage, array(
											'class' => 'input-xxlarge',
										))
									}}

									<div class="help-block">
										{{ Lang::get('admin.list_length_exp') }}
									</div>
								</div>
							</div>

							<div class="control-group">
								{{
									Form::label('proxy', Lang::get('admin.ip_tracking'), array(
										'class' => 'control-label span2'
									))
								}}

								<div class="span9">
									{{
										Form::select('proxy', array(
											'0' => Lang::get('admin.ignore_proxy'),
											'1' => Lang::get('admin.trust_proxy'),
										), $site->general->proxy, array(
											'class' => 'input-xxlarge'
										))
									}}

									<div class="help-block">
										{{ Lang::get('admin.ip_tracking_exp') }}
									</div>
								</div>
							</div>
						</div>

						<div id="site-content" class="tab-pane fade">
							<div class="control-group">
								{{
									Form::label('guest_posts', Lang::get('admin.guest_posts'), array(
										'class' => 'control-label span2'
									))
								}}

								<div class="span9">
									{{
										Form::select('guest_posts', array(
											'1' => Lang::get('admin.enabled'),
											'0' => Lang::get('admin.disabled'),
										), $site->general->guestPosts, array(
											'class' => 'input-xxlarge'
										))
									}}

									<div class="help-block">
										{{ Lang::get('admin.guest_posts_exp') }}
									</div>
								</div>
							</div><commit_msg>Template changes for CSRF config<commit_after>@extends('skins.neverland.admin.layout')

@section('module')
	<section id="admin-site">
		{{
			Form::open(array(
				'autocomplete'   => 'off',
				'role'           => 'form',
			))
		}}

		<div class="row-fluid">
			<div class="span12">
				<fieldset>
					<legend>{{ Lang::get('admin.site_settings') }}</legend>

					<ul id="tabs-site" class="nav nav-tabs">
						<li class="active">
							<a href="#site-general" data-toggle="tab">{{ Lang::get('admin.general') }}</a>
						</li>

						<li>
							<a href="#site-content" data-toggle="tab">{{ Lang::get('admin.content') }}</a>
						</li>
					</ul>

					<div class="tab-content form-horizontal">
						<div id="site-general" class="tab-pane fade in active">
							<div class="control-group">
								{{
									Form::label('fqdn', Lang::get('admin.fqdn'), array(
										'class' => 'control-label span2'
									))
								}}

								<div class="span9">
									{{
										Form::text('fqdn', $site->general->fqdn, array(
											'class' => 'input-xxlarge',
										))
									}}

									<div class="help-block">
										{{ Lang::get('admin.fqdn_exp') }}
									</div>
								</div>
							</div>

							<div class="control-group">
								{{
									Form::label('title', Lang::get('admin.site_title'), array(
										'class' => 'control-label span2'
									))
								}}

								<div class="span9">
									{{
										Form::text('title', $site->general->title, array(
											'class'      => 'input-xxlarge',
											'maxlength'  => 20
										))
									}}
								</div>
							</div>

							<div class="control-group">
								{{
									Form::label('copyright', Lang::get('admin.copyright'), array(
										'class' => 'control-label span2'
									))
								}}

								<div class="span9">
									{{
										Form::textarea('copyright', $site->general->copyright, array(
											'class' => 'input-xxlarge',
											'rows'  => 4,
										))
									}}
								</div>
							</div>

							<div class="control-group">
								{{
									Form::label('lang', Lang::get('admin.language'), array(
										'class' => 'control-label span2'
									))
								}}

								<div class="span9">
									{{
										Form::select('lang', $langs, $site->general->lang, array(
											'class' => 'input-xxlarge'
										))
									}}
								</div>
							</div>

							<div class="control-group">
								{{
									Form::label('per_page', Lang::get('admin.list_length'), array(
										'class' => 'control-label span2'
									))
								}}

								<div class="span9">
									{{
										Form::text('per_page', $site->general->perPage, array(
											'class' => 'input-xxlarge',
										))
									}}

									<div class="help-block">
										{{ Lang::get('admin.list_length_exp') }}
									</div>
								</div>
							</div>

							<div class="control-group">
								{{
									Form::label('proxy', Lang::get('admin.ip_tracking'), array(
										'class' => 'control-label span2'
									))
								}}

								<div class="span9">
									{{
										Form::select('proxy', array(
											'0' => Lang::get('admin.ignore_proxy'),
											'1' => Lang::get('admin.trust_proxy'),
										), $site->general->proxy, array(
											'class' => 'input-xxlarge'
										))
									}}

									<div class="help-block">
										{{ Lang::get('admin.ip_tracking_exp') }}
									</div>
								</div>
							</div>

							<div class="control-group">
								{{
									Form::label('csrf', Lang::get('admin.csrf_token'), array(
										'class' => 'control-label span2'
									))
								}}

								<div class="span9">
									{{
										Form::select('csrf', array(
											'1' => Lang::get('admin.enabled'),
											'0' => Lang::get('admin.disabled'),
										), $site->general->csrf, array(
											'class' => 'input-xxlarge'
										))
									}}

									<div class="help-block">
										{{ Lang::get('admin.csrf_token_exp') }}
									</div>
								</div>
							</div>
						</div>

						<div id="site-content" class="tab-pane fade">
							<div class="control-group">
								{{
									Form::label('guest_posts', Lang::get('admin.guest_posts'), array(
										'class' => 'control-label span2'
									))
								}}

								<div class="span9">
									{{
										Form::select('guest_posts', array(
											'1' => Lang::get('admin.enabled'),
											'0' => Lang::get('admin.disabled'),
										), $site->general->guestPosts, array(
											'class' => 'input-xxlarge'
										))
									}}

									<div class="help-block">
										{{ Lang::get('admin.guest_posts_exp') }}
									</div>
								</div>
							</div>
{'fraction_non_alphanumeric': 0.1982102908277405, 'fraction_numerical': 0.005592841163310962, 'mean_word_length': 1.6273875991771967, 'pattern_counts': {'":': 0, '<': 121, '<?xml version=': 0, '>': 199, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2485753', 'n_tokens_mistral': 5016, 'n_tokens_neox': 2803, 'n_words': 431}