%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/varak.net/paste.varak.net-5.6/app/storage/views/
Upload File :
Create Path :
Current File : /www/varak.net/paste.varak.net-5.6/app/storage/views/5eb8c90386893b59e5667a25cc1b8401

<?php $__env->startSection('module'); ?>
	<section id="admin-auth">
		<?php echo Form::open(array(
				'autocomplete'   => 'off',
				'role'           => 'form',
				'class'          => 'form-horizontal',
			)); ?>


		<div class="row">
			<div class="col-sm-12">
				<fieldset>
					<legend><?php echo Lang::get('admin.auth_settings'); ?></legend>

					<div class="form-group">
						<?php echo Form::label('method', Lang::get('admin.auth_method'), array(
								'class' => 'control-label col-sm-3 col-lg-2'
							)); ?>


						<div class="col-sm-9 col-lg-10">
							<?php echo Form::select('method', array(
									'db'      => Lang::get('admin.db'),
									'ldap'    => Lang::get('admin.ldap'),
									'oauth'   => Lang::get('admin.oauth'),
								), $site->auth->method, array(
									'class' => 'form-control'
								)); ?>

						</div>
					</div>

					<div class="form-group">
						<?php echo Form::label('method', Lang::get('admin.banner_text'), array(
								'class' => 'control-label col-sm-3 col-lg-2'
							)); ?>


						<div class="col-sm-9 col-lg-10">
							<?php echo Form::textarea('banner_text', $site->auth->bannerText, array(
									'class' => 'form-control',
									'rows'  => 2,
								)); ?>


							<div class="help-block">
								<?php echo Lang::get('admin.banner_text_exp'); ?>

							</div>
						</div>
					</div>

					<div class="form-group">
						<?php echo Form::label('info_url', Lang::get('admin.info_url'), array(
								'class' => 'control-label col-sm-3 col-lg-2'
							)); ?>


						<div class="col-sm-9 col-lg-10">
							<?php echo Form::text('info_url', $site->auth->infoUrl, array(
									'class' => 'form-control',
								)); ?>


							<div class="help-block">
								<?php echo Lang::get('admin.info_url_exp'); ?>

							</div>
						</div>
					</div>

					<div class="form-group">
						<?php echo Form::label('info_url_text', Lang::get('admin.info_url_text'), array(
								'class' => 'control-label col-sm-3 col-lg-2'
							)); ?>


						<div class="col-sm-9 col-lg-10">
							<?php echo Form::text('info_url_text', $site->auth->infoUrlText, array(
									'class' => 'form-control',
								)); ?>


							<div class="help-block">
								<?php echo Lang::get('admin.info_url_text_exp'); ?>

							</div>
						</div>
					</div>

					<ul id="tabs-auth" class="nav nav-tabs">
						<li class="active">
							<a href="#auth-db" data-toggle="tab"><?php echo Lang::get('admin.db'); ?></a>
						</li>

						<li>
							<a href="#auth-ldap" data-toggle="tab"><?php echo Lang::get('admin.ldap'); ?></a>
						</li>

						<li>
							<a href="#auth-oauth" data-toggle="tab"><?php echo Lang::get('admin.oauth'); ?></a>
						</li>
					</ul>

					<div class="tab-content">
						<div id="auth-db" class="tab-pane fade in active">
							<div class="form-group">
								<?php echo Form::label('db_allow_reg', Lang::get('admin.user_reg'), array(
										'class' => 'control-label col-sm-3 col-lg-2'
									)); ?>


								<div class="col-sm-9 col-lg-10">
									<?php echo Form::select('db_allow_reg', array(
											'1' => Lang::get('admin.enabled'),
											'0' => Lang::get('admin.disabled'),
										), $site->auth->dbAllowReg, array(
											'class' => 'form-control'
										)); ?>


									<div class="help-block">
										<?php echo Lang::get('admin.user_reg_exp'); ?>

									</div>
								</div>
							</div>

							<div class="form-group">
								<?php echo Form::label('db_show_captcha', Lang::get('admin.reg_captcha'), array(
										'class' => 'control-label col-sm-3 col-lg-2'
									)); ?>


								<div class="col-sm-9 col-lg-10">
									<?php echo Form::select('db_show_captcha', array(
											'1' => Lang::get('admin.enabled'),
											'0' => Lang::get('admin.disabled'),
										), $site->auth->dbShowCaptcha, array(
											'class' => 'form-control'
										)); ?>


									<div class="help-block">
										<?php echo Lang::get('admin.reg_captcha_exp'); ?>

									</div>
								</div>
							</div>
						</div>

						<div id="auth-ldap" class="tab-pane fade">
							<div class="form-group">
								<?php echo Form::label('ldap_server', Lang::get('admin.ldap_server'), array(
										'class' => 'control-label col-sm-3 col-lg-2'
									)); ?>


								<div class="col-sm-9 col-lg-10">
									<?php echo Form::text('ldap_server', $site->auth->ldapServer, array(
											'class' => 'form-control',
										)); ?>


									<div class="help-block">
										<?php echo Lang::get('admin.ldap_server_exp'); ?>

									</div>
								</div>
							</div>

							<div class="form-group">
								<?php echo Form::label('ldap_port', Lang::get('admin.ldap_port'), array(
										'class' => 'control-label col-sm-3 col-lg-2'
									)); ?>


								<div class="col-sm-9 col-lg-10">
									<?php echo Form::text('ldap_port', $site->auth->ldapPort, array(
											'class' => 'form-control',
										)); ?>


									<div class="help-block">
										<?php echo Lang::get('admin.ldap_port_exp'); ?>

									</div>
								</div>
							</div>

							<div class="form-group">
								<?php echo Form::label('ldap_base_dn', Lang::get('admin.base_dn'), array(
										'class' => 'control-label col-sm-3 col-lg-2'
									)); ?>


								<div class="col-sm-9 col-lg-10">
									<?php echo Form::text('ldap_base_dn', $site->auth->ldapBaseDn, array(
											'class' => 'form-control',
										)); ?>


									<div class="help-block">
										<?php echo Lang::get('admin.base_dn_exp'); ?>

									</div>
								</div>
							</div>

							<div class="form-group">
								<?php echo Form::label('ldap_uid', Lang::get('admin.uid'), array(
										'class' => 'control-label col-sm-3 col-lg-2'
									)); ?>


								<div class="col-sm-9 col-lg-10">
									<?php echo Form::text('ldap_uid', $site->auth->ldapUid, array(
											'class' => 'form-control',
										)); ?>


									<div class="help-block">
										<?php echo Lang::get('admin.uid_exp'); ?>

									</div>
								</div>
							</div>

							<div class="form-group">
								<?php echo Form::label('ldap_filter', Lang::get('admin.user_filter'), array(
										'class' => 'control-label col-sm-3 col-lg-2'
									)); ?>


								<div class="col-sm-9 col-lg-10">
									<?php echo Form::text('ldap_filter', $site->auth->ldapFilter, array(
											'class' => 'form-control',
										)); ?>


									<div class="help-block">
										<?php echo Lang::get('admin.user_filter_exp'); ?>

									</div>
								</div>
							</div>

							<div class="form-group">
								<?php echo Form::label('ldap_admin', Lang::get('admin.admin_group'), array(
										'class' => 'control-label col-sm-3 col-lg-2'
									)); ?>


								<div class="col-sm-9 col-lg-10">
									<?php echo Form::text('ldap_admin', $site->auth->ldapAdmin, array(
											'class' => 'form-control',
										)); ?>


									<div class="help-block">
										<?php echo Lang::get('admin.admin_group_exp'); ?>

									</div>
								</div>
							</div>

							<div class="form-group">
								<?php echo Form::label('ldap_user_dn', Lang::get('admin.user_dn'), array(
										'class' => 'control-label col-sm-3 col-lg-2'
									)); ?>


								<div class="col-sm-9 col-lg-10">
									<?php echo Form::text('ldap_user_dn', $site->auth->ldapUserDn, array(
											'class' => 'form-control',
										)); ?>


									<div class="help-block">
										<?php echo Lang::get('admin.user_dn_exp'); ?>

									</div>
								</div>
							</div>

							<div class="form-group">
								<?php echo Form::label('ldap_password', Lang::get('global.password'), array(
										'class' => 'control-label col-sm-3 col-lg-2'
									)); ?>


								<div class="col-sm-9 col-lg-10">
									<?php echo Form::input('password', 'ldap_password', $site->auth->ldapPassword, array(
											'class' => 'form-control',
										));; ?>


									<div class="help-block">
										<?php echo Lang::get('admin.ldap_password_exp'); ?>

									</div>
								</div>
							</div>
						</div>

						<div id="auth-oauth" class="tab-pane fade">
							<div class="form-group">
								<?php echo Form::label('oauth_google_id', Lang::get('admin.client_id'), array(
										'class' => 'control-label col-sm-3 col-lg-2'
									)); ?>


								<div class="col-sm-9 col-lg-10">
									<?php echo Form::text('oauth_google_id', $site->auth->oauthGoogleId, array(
											'class' => 'form-control',
										)); ?>

								</div>
							</div>

							<div class="form-group">
								<?php echo Form::label('oauth_google_secret', Lang::get('admin.client_secret'), array(
										'class' => 'control-label col-sm-3 col-lg-2'
									)); ?>


								<div class="col-sm-9 col-lg-10">
									<?php echo Form::text('oauth_google_secret', $site->auth->oauthGoogleSecret, array(
											'class' => 'form-control',
										)); ?>


									<div class="help-block">
										<?php echo Lang::get('admin.client_secret_exp'); ?>

										<?php echo link_to('https://cloud.google.com/console', Lang::get('admin.google_cloud_console')); ?>.
									</div>
								</div>
							</div>

							<div class="form-group">
								<?php echo Form::label('oauth_google_admins', Lang::get('admin.admin_emails'), array(
										'class' => 'control-label col-sm-3 col-lg-2'
									)); ?>


								<div class="col-sm-9 col-lg-10">
									<?php echo Form::textarea('oauth_google_admins', $site->auth->oauthGoogleAdmins, array(
											'class' => 'form-control',
											'rows'  => 5,
										)); ?>


									<div class="help-block">
										<?php echo Lang::get('admin.admin_emails_exp'); ?>

									</div>
								</div>
							</div>
						</div>
					</div>

					<hr />

					<div class="form-group">
						<div class="col-sm-12">
							<?php echo Form::submit(Lang::get('admin.save_all'), array(
									'name'    => '_save',
									'class'   => 'btn btn-primary'
								)); ?>

						</div>
					</div>
				</fieldset>
			</div>
		</div>

		<?php echo Form::close(); ?>

	</section>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('skins.bootstrap.admin.layout', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

Zerion Mini Shell 1.0