User without javascript enabled will be able to see these 2 pages to switch language or currency
This commit is contained in:
25
templates/default/currency.html
Normal file
25
templates/default/currency.html
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
{extends file="layout.tpl"}
|
||||||
|
|
||||||
|
{* Body Class *}
|
||||||
|
{block name="body-class"}page-currency{/block}
|
||||||
|
|
||||||
|
{* Breadcrumb *}
|
||||||
|
{block name='no-return-functions' append}
|
||||||
|
{$breadcrumbs = [
|
||||||
|
['title' => {intl l="Currency"}, 'url'=>{url path="/currency"}]
|
||||||
|
]}
|
||||||
|
{/block}
|
||||||
|
|
||||||
|
|
||||||
|
{block name="main-content"}
|
||||||
|
<div class="main">
|
||||||
|
<article class="col-main" role="main" aria-labelledby="main-label">
|
||||||
|
<h1 id="main-label" class="page-header">{intl l="SELECT YOUR CURRENCY"}</h1>
|
||||||
|
<ul class="nav nav-tabs nav-justified" style="margin-bottom:60px;">
|
||||||
|
{loop type="currency" name="currency_available"}
|
||||||
|
<li{if $ID eq "{currency attr="id"}"} class="active"{/if}><a href="{url path="{navigate to="current"}" currency={$ISOCODE}}">{$SYMBOL} - {$NAME}</a></li>
|
||||||
|
{/loop}
|
||||||
|
</ul>
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
{/block}
|
||||||
25
templates/default/language.html
Normal file
25
templates/default/language.html
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
{extends file="layout.tpl"}
|
||||||
|
|
||||||
|
{* Body Class *}
|
||||||
|
{block name="body-class"}page-language{/block}
|
||||||
|
|
||||||
|
{* Breadcrumb *}
|
||||||
|
{block name='no-return-functions' append}
|
||||||
|
{$breadcrumbs = [
|
||||||
|
['title' => {intl l="Language"}, 'url'=>{url path="/language"}]
|
||||||
|
]}
|
||||||
|
{/block}
|
||||||
|
|
||||||
|
|
||||||
|
{block name="main-content"}
|
||||||
|
<div class="main">
|
||||||
|
<article class="col-main" role="main" aria-labelledby="main-label">
|
||||||
|
<h1 id="main-label" class="page-header">{intl l="SELECT YOUR LANGUAGE"}</h1>
|
||||||
|
<ul class="nav nav-tabs nav-justified" style="margin-bottom:60px;">
|
||||||
|
{loop type="lang" name="lang_available"}
|
||||||
|
<li{if $ID eq "{lang attr="id"}"} class="active"{/if}><a href="{url path="{navigate to="current"}" lang={$CODE}}">{$TITLE}</a></li>
|
||||||
|
{/loop}
|
||||||
|
</ul>
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
{/block}
|
||||||
Reference in New Issue
Block a user