parent = $this->env->loadTemplate("grid-gallery.twig"); $this->blocks = array( 'header' => array($this, 'block_header'), 'content' => array($this, 'block_content'), ); } protected function doGetParent(array $context) { return "grid-gallery.twig"; } protected function doDisplay(array $context, array $blocks = array()) { $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 25 public function block_header($context, array $blocks = array()) { // line 26 echo " "; } // line 33 public function block_content($context, array $blocks = array()) { // line 34 echo "

"; echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Choose Gallery Template.You can change template and settings on the next step.")), "html", null, true); echo "

"; // line 50 echo " "; } // line 3 public function getputPreset($_data = null) { $context = $this->env->mergeGlobals(array( "data" => $_data, )); $blocks = array(); ob_start(); try { // line 4 echo "
getAttribute($_environment_, "isPro", array(), "method") == false) && $this->getAttribute($_data_, "pro"))) { echo "disabled"; } echo "\" data-preset=\""; // line 5 if (isset($context["data"])) { $_data_ = $context["data"]; } else { $_data_ = null; } echo twig_escape_filter($this->env, $this->getAttribute($_data_, "value"), "html", null, true); echo "\"> env, $this->getAttribute($this->getAttribute($_environment_, "getModule", array(0 => "galleries"), "method"), "getLocationUrl", array(), "method"), "html", null, true); echo "/assets/img/"; if (isset($context["data"])) { $_data_ = $context["data"]; } else { $_data_ = null; } echo twig_escape_filter($this->env, $this->getAttribute($_data_, "image"), "html", null, true); echo "\" alt=\"\"/> "; // line 7 if (isset($context["data"])) { $_data_ = $context["data"]; } else { $_data_ = null; } if (isset($context["environment"])) { $_environment_ = $context["environment"]; } else { $_environment_ = null; } if (($this->getAttribute($_data_, "pro") && ($this->getAttribute($_environment_, "isPro", array(), "method") == false))) { // line 8 echo " Available in PRO "; } else { // line 12 echo "
Select "; // line 16 echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Selected")), "html", null, true); echo "
"; } // line 19 echo "

"; // line 20 if (isset($context["data"])) { $_data_ = $context["data"]; } else { $_data_ = null; } echo twig_escape_filter($this->env, twig_title_string_filter($this->env, $this->getAttribute($_data_, "title")), "html", null, true); echo "

"; } catch (Exception $e) { ob_end_clean(); throw $e; } return ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset()); } public function getTemplateName() { return "@galleries/gallery_preset.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 185 => 20, 182 => 19, 176 => 16, 170 => 12, 164 => 8, 160 => 7, 152 => 6, 147 => 5, 138 => 4, 127 => 3, 115 => 73, 104 => 71, 99 => 70, 96 => 69, 94 => 66, 91 => 64, 89 => 54, 86 => 53, 84 => 52, 80 => 50, 74 => 45, 69 => 40, 62 => 36, 56 => 34, 53 => 33, 43 => 29, 35 => 27, 32 => 26, 29 => 25,); } }