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

pageview Référencement

{!! Form::open(array('class' => '')) !!}
@if(count(getAllLangues()) > 1) @endif

Page d'accueil

{!! Form::textarea('nav_accueil', getParametre('nav_accueil'), array("rows" => 1, "class" => "form-control", "placeholder" => "Balise title")) !!}
{!! Form::textarea('description_site', getParametre('description_site'), array("rows" => 2, "class" => "form-control", "placeholder" => "META Description")) !!}
@if(count(getAllLangues()) > 1) @foreach (getAllLangues() as $langue) @if($langue->suffixe != "fre")

Page d'accueil

{!! Form::text($langue->suffixe.'_nav_accueil_ml', getParametreLangue($langue->suffixe, 'nav_accueil'), array("rows" => 1, "class" => "form-control", "placeholder" => "Balise title")) !!}
{!! Form::textarea($langue->suffixe . '_description_site_ml', getParametreLangue($langue->suffixe, 'description_site'), array("rows" => 2, "class" => "form-control", "placeholder" => "META Description")) !!}
@endif @endforeach @endif
@if(count(getAllLangues()) > 1) @endif

Page de contact

{!! Form::textarea('nav_contact', getParametre('nav_contact'), array("rows" => 1, "class" => "form-control", "placeholder" => "Balise title")) !!}
{!! Form::textarea('contact_description', getParametre('contact_description'), array("rows" => 2, "class" => "form-control", "placeholder" => "META Description")) !!}
{!! Form::textarea('contact_rewrite', getParametre("contact_rewrite"), array("rows" => 1, "class" => "form-control", "placeholder" => "Rewrite URL")) !!}
@if(count(getAllLangues()) > 1) @foreach (getAllLangues() as $langue) @if($langue->suffixe != "fre")

Page de contact

{!! Form::text($langue->suffixe.'_nav_contact_ml', getParametreLangue($langue->suffixe, 'nav_contact'), array("rows" => 1, "class" => "form-control", "placeholder" => "Balise title")) !!}
{!! Form::textarea($langue->suffixe . '_contact_description_ml', getParametreLangue($langue->suffixe, 'contact_description'), array("rows" => 2, "class" => "form-control", "placeholder" => "META Description")) !!}
{!! Form::textarea($langue->suffixe . '_contact_rewrite_ml', getParametre("contact_rewrite"), array("rows" => 1, "class" => "form-control", "placeholder" => "Rewrite URL")) !!}
@endif @endforeach @endif
@foreach ($pages as $page)
@if(count(getAllLangues()) > 1) @endif

Page {{ $page->titre }}

{!! Form::textarea('page_'.$page->id.'_nom', $page->nom, array("rows" => 1, "class" => "form-control", "placeholder" => "Balise title")) !!}
{!! Form::textarea('page_'.$page->id.'_description', $page->description, array("rows" => 2, "class" => "form-control", "placeholder" => "META Description")) !!}
{!! Form::textarea('page_'.$page->id.'_rewrite', $page->rewrite, array("rows" => 1, "class" => "form-control", "placeholder" => "Rewrite URL")) !!}
@if(count(getAllLangues()) > 1) @foreach (getAllLangues() as $langue) @if($langue->suffixe != "fre")

Page {{ $page->titre }}

{!! Form::text('page_'.$page->id.'_'.$langue->suffixe.'_nom_ml', getTranslation("Page", "nom", $page->id, $page->nom, $langue->suffixe), array("rows" => 1, "class" => "form-control", "placeholder" => "Balise title")) !!}
{!! Form::textarea('page_'.$page->id.'_'.$langue->suffixe.'_description_ml', getTranslation("Page", "description", $page->id, $page->description, $langue->suffixe), array("rows" => 2, "class" => "form-control", "placeholder" => "META Description")) !!}
{!! Form::textarea('page_'.$page->id.'_'.$langue->suffixe.'_rewrite_ml', getTranslation("Page", "rewrite", $page->id, $page->rewrite, $langue->suffixe), array("rows" => 1, "class" => "form-control", "placeholder" => "Rewrite URL")) !!}
@endif @endforeach @endif
@endforeach @foreach($modules as $module)
@if(count(getAllLangues()) > 1) @endif

Module {{ $module->nom }}

{!! Form::textarea('module_'.$module->id.'_title', $module->title, array("rows" => 1, "class" => "form-control", "placeholder" => "Balise title")) !!}
{!! Form::textarea('module_'.$module->id.'_description', $module->description, array("rows" => 2, "class" => "form-control", "placeholder" => "META Description")) !!}
{!! Form::textarea('module_'.$module->id.'_rewrite', $module->rewrite, array("rows" => 1, "class" => "form-control", "placeholder" => "Rewrite URL")) !!}
@if(count(getAllLangues()) > 1) @foreach (getAllLangues() as $langue) @if($langue->suffixe != "fre")

Page {{ $page->titre }}

{!! Form::text('module_'.$module->id.'_'.$langue->suffixe.'_title_ml', getTranslation("Module", "title", $module->id, $module->title, $langue->suffixe), array("rows" => 1, "class" => "form-control", "placeholder" => "Balise title")) !!}
{!! Form::textarea('module_'.$module->id.'_'.$langue->suffixe.'_description_ml', getTranslation("Module", "description", $module->id, $module->description, $langue->suffixe), array("rows" => 2, "class" => "form-control", "placeholder" => "META Description")) !!}
{!! Form::textarea('module'.$module->id.'_'.$langue->suffixe.'_rewrite_ml', getTranslation("Module", "rewrite", $module->id, $module->rewrite, $langue->suffixe), array("rows" => 1, "class" => "form-control", "placeholder" => "Rewrite URL")) !!}
@endif @endforeach @endif
@endforeach
{!! Form::close() !!} @stop