2015-09-21 10:24:25 +02:00
|
|
|
<header role="banner" class="clearfix">
|
2014-12-12 13:43:43 +01:00
|
|
|
{if count($langs)>1}
|
2015-01-04 02:00:02 +01:00
|
|
|
<form method="post" action="" class="hidden-print">
|
2015-09-19 16:51:57 +02:00
|
|
|
<div class="input-group input-group-sm pull-right col-xs-12 col-sm-2">
|
2015-03-30 15:19:56 +02:00
|
|
|
<select name="lang" class="form-control" title="{__('Language selector', 'Select the language')}" >
|
2014-12-12 13:43:43 +01:00
|
|
|
{foreach $langs as $lang_key=>$lang_value}
|
2015-04-11 23:12:01 +02:00
|
|
|
<option lang="{substr($lang_key, 0, 2)}" {if substr($lang_key, 0, 2)==$locale}selected{/if} value="{$lang_key|html}">{$lang_value|html}</option>
|
2014-12-12 13:43:43 +01:00
|
|
|
{/foreach}
|
|
|
|
</select>
|
|
|
|
<span class="input-group-btn">
|
2015-03-30 15:19:56 +02:00
|
|
|
<button type="submit" class="btn btn-default btn-sm" title="{__('Language selector', 'Change the language')}">OK</button>
|
2014-12-12 13:43:43 +01:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
{/if}
|
|
|
|
|
2015-09-21 10:24:25 +02:00
|
|
|
<h1 class="row col-xs-12 col-sm-10">
|
2015-09-21 10:03:18 +02:00
|
|
|
<a href="{$SERVER_URL|html}" title="{__('Generic', 'Home')} - {$APPLICATION_NAME|html}" >
|
2015-09-19 16:51:57 +02:00
|
|
|
<img src="{$TITLE_IMAGE|resource}" alt="{$APPLICATION_NAME|html}" class="img-responsive"/>
|
|
|
|
</a>
|
|
|
|
</h1>
|
2015-09-21 10:24:25 +02:00
|
|
|
{if !empty($title)}<h2 class="lead col-xs-12"><i>{$title|html}</i></h2>{/if}
|
|
|
|
<hr class="trait col-xs-12" role="presentation" />
|
2014-12-12 13:43:43 +01:00
|
|
|
</header>
|
2015-09-21 10:03:18 +02:00
|
|
|
<main role="main">
|