2014-12-12 13:43:43 +01:00
|
|
|
<header role="banner">
|
|
|
|
{if count($langs)>1}
|
2015-01-04 02:00:02 +01:00
|
|
|
<form method="post" action="" class="hidden-print">
|
2014-12-12 13:43:43 +01:00
|
|
|
<div class="input-group input-group-sm pull-right col-md-2 col-xs-4">
|
|
|
|
<select name="lang" class="form-control" title="${_("Select the language")}" >
|
|
|
|
{foreach $langs as $lang_key=>$lang_value}
|
2015-01-02 00:19:56 +01:00
|
|
|
<option lang="{substr($lang_key, 0, 2)}" {if substr($lang_key, 0, 2)==$lang}selected{/if} value="{$lang_key}">{$lang_value}</option>
|
2014-12-12 13:43:43 +01:00
|
|
|
{/foreach}
|
|
|
|
</select>
|
|
|
|
<span class="input-group-btn">
|
|
|
|
<button type="submit" class="btn btn-default btn-sm" title="{_("Change the language")}">OK</button>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
<h1><a href="{$SERVER_URL}" title="{_("Home")} - {$APPLICATION_NAME}"><img src="{$TITLE_IMAGE}" alt="{$APPLICATION_NAME}"/></a></h1>
|
|
|
|
{if !empty($title)}<h2 class="lead"><i>{$title}</i></h2>{/if}
|
|
|
|
<hr class="trait" role="presentation" />
|
|
|
|
</header>
|
|
|
|
<main role="main">
|