Commit d854ed7f by Aan Choesni Herlingga

select for language

parent 0c11a2f2
...@@ -82,22 +82,11 @@ ...@@ -82,22 +82,11 @@
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12"> <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12">
<div class="topmenu"> <div class="topmenu">
<span class="topbar-cart"><i class="fa fa-globe"></i> <a href="https://www.unesa.ac.id" target="_blank">UNESA</a></span> <span class="topbar-cart"><i class="fa fa-globe"></i> <a href="https://www.unesa.ac.id" target="_blank">UNESA</a></span>
<div class="ua-lang pull-right hidden-sm" style="padding-top: 7px;"> <span class="topbar-cart">
{!! Form::open(array('url' => route('language'), 'method' => 'POST', 'style'=>'display:inline', 'id'=>'en')) !!} {!! Form::open(array('url' => route('language'), 'method' => 'POST', 'style'=>'display:inline')) !!}
<input type="hidden" value="en" name="language"> {{ Form::select('language', ['id'=>'Indonesia', 'en'=>'English', 'de'=>'German'], session('selected_language'), ['class'=>'custom-select form-control', 'style'=>'border-style:none; border-radius: 10px; border-color: white, height: 15px;', 'onChange'=>'form.submit()']) }}
<a href="javascript:;" onclick="document.getElementById('en').submit();"><img src="https://www.unesa.ac.id/assets2/images/en.png"></a>
{!! Form::close() !!} {!! Form::close() !!}
</span>
{!! Form::open(array('url' => route('language'), 'method' => 'POST', 'style'=>'display:inline', 'id'=>'id')) !!}
<input type="hidden" value="id" name="language">
<a href="javascript:;" onclick="document.getElementById('id').submit();"><img src="https://www.unesa.ac.id/assets2/images/id.png"></a>
{!! Form::close() !!}
{!! Form::open(array('url' => route('language'), 'method' => 'POST', 'style'=>'display:inline', 'id'=>'de')) !!}
<input type="hidden" value="de" name="language">
<a href="javascript:;" onclick="document.getElementById('de').submit();"><img src="https://www.unesa.ac.id/assets2/images/de.png"></a>
{!! Form::close() !!}
</div>
</div><!-- end top menu --> </div><!-- end top menu -->
<div class="callus"> <div class="callus">
@if (array_key_exists('facebook', $setting)) @if (array_key_exists('facebook', $setting))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment