Create New Item
×
Item Type
File
Folder
Item Name
×
Search file in folder and subfolders...
File Manager
/
system
/
storage
/
cache
/
d5
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php /* default/template/common/currency.twig */ class __TwigTemplate_ed0046f42231b8e22b934b6323e9a20654f2d44ad274953d350b93fd08951d7d extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( ); } protected function doDisplay(array $context, array $blocks = array()) { // line 1 if ((twig_length_filter($this->env, (isset($context["currencies"]) ? $context["currencies"] : null)) > 1)) { // line 2 echo "<div class=\"pull-left\"> <form action=\""; // line 3 echo (isset($context["action"]) ? $context["action"] : null); echo "\" method=\"post\" enctype=\"multipart/form-data\" id=\"form-currency\"> <div class=\"btn-group\"> <button class=\"btn btn-link dropdown-toggle\" data-toggle=\"dropdown\">"; // line 5 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((isset($context["currencies"]) ? $context["currencies"] : null)); foreach ($context['_seq'] as $context["_key"] => $context["currency"]) { // line 6 echo " "; if (($this->getAttribute($context["currency"], "symbol_left", array()) && ($this->getAttribute($context["currency"], "code", array()) == (isset($context["code"]) ? $context["code"] : null)))) { echo " <strong>"; echo $this->getAttribute($context["currency"], "symbol_left", array()); echo "</strong> "; } elseif (($this->getAttribute($context["currency"], "symbol_right", array()) && ($this->getAttribute($context["currency"], "code", array()) == (isset($context["code"]) ? $context["code"] : null)))) { echo " <strong>"; echo $this->getAttribute($context["currency"], "symbol_right", array()); echo "</strong> "; } // line 7 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['currency'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; echo " <span class=\"hidden-xs hidden-sm hidden-md\">"; echo (isset($context["text_currency"]) ? $context["text_currency"] : null); echo "</span> <i class=\"fa fa-caret-down\"></i></button> <ul class=\"dropdown-menu\"> "; // line 9 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((isset($context["currencies"]) ? $context["currencies"] : null)); foreach ($context['_seq'] as $context["_key"] => $context["currency"]) { // line 10 echo " "; if ($this->getAttribute($context["currency"], "symbol_left", array())) { // line 11 echo " <li> <button class=\"currency-select btn btn-link btn-block\" type=\"button\" name=\""; // line 12 echo $this->getAttribute($context["currency"], "code", array()); echo "\">"; echo $this->getAttribute($context["currency"], "symbol_left", array()); echo " "; echo $this->getAttribute($context["currency"], "title", array()); echo "</button> </li> "; } else { // line 15 echo " <li> <button class=\"currency-select btn btn-link btn-block\" type=\"button\" name=\""; // line 16 echo $this->getAttribute($context["currency"], "code", array()); echo "\">"; echo $this->getAttribute($context["currency"], "symbol_right", array()); echo " "; echo $this->getAttribute($context["currency"], "title", array()); echo "</button> </li> "; } // line 19 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['currency'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 20 echo " </ul> </div> <input type=\"hidden\" name=\"code\" value=\"\" /> <input type=\"hidden\" name=\"redirect\" value=\""; // line 23 echo (isset($context["redirect"]) ? $context["redirect"] : null); echo "\" /> </form> </div> "; } // line 26 echo " "; } public function getTemplateName() { return "default/template/common/currency.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 106 => 26, 99 => 23, 94 => 20, 88 => 19, 78 => 16, 75 => 15, 65 => 12, 62 => 11, 59 => 10, 55 => 9, 44 => 7, 33 => 6, 29 => 5, 24 => 3, 21 => 2, 19 => 1,); } } /* {% if currencies|length > 1 %}*/ /* <div class="pull-left">*/ /* <form action="{{ action }}" method="post" enctype="multipart/form-data" id="form-currency">*/ /* <div class="btn-group">*/ /* <button class="btn btn-link dropdown-toggle" data-toggle="dropdown">{% for currency in currencies %}*/ /* {% if currency.symbol_left and currency.code == code %} <strong>{{ currency.symbol_left }}</strong> {% elseif currency.symbol_right and currency.code == code %} <strong>{{ currency.symbol_right }}</strong> {% endif %}*/ /* {% endfor %} <span class="hidden-xs hidden-sm hidden-md">{{ text_currency }}</span> <i class="fa fa-caret-down"></i></button>*/ /* <ul class="dropdown-menu">*/ /* {% for currency in currencies %}*/ /* {% if currency.symbol_left %}*/ /* <li>*/ /* <button class="currency-select btn btn-link btn-block" type="button" name="{{ currency.code }}">{{ currency.symbol_left }} {{ currency.title }}</button>*/ /* </li>*/ /* {% else %}*/ /* <li>*/ /* <button class="currency-select btn btn-link btn-block" type="button" name="{{ currency.code }}">{{ currency.symbol_right }} {{ currency.title }}</button>*/ /* </li>*/ /* {% endif %}*/ /* {% endfor %}*/ /* </ul>*/ /* </div>*/ /* <input type="hidden" name="code" value="" />*/ /* <input type="hidden" name="redirect" value="{{ redirect }}" />*/ /* </form>*/ /* </div>*/ /* {% endif %} */