0byt3m1n1
Path:
/
home
/
mgatv524
/
www
/
midiatech
/
cache
/
12
/
[
Home
]
File: 12bfb3ad6e837a39bc084a80e2dd0f612dfd441f79bd38a0f4b0433b79e67080.php
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* layout-form-checkout.twig */ class __TwigTemplate_623fc37e2f04114862c395208bf123c455fdf71215bad2f36c437917377f3287 extends \Twig\Template { public function __construct(Environment $env) { parent::__construct($env); $this->blocks = [ 'formTitle' => [$this, 'block_formTitle'], 'formButtons' => [$this, 'block_formButtons'], 'formHtml' => [$this, 'block_formHtml'], ]; } protected function doGetParent(array $context) { // line 23 return "form-base.twig"; } protected function doDisplay(array $context, array $blocks = []) { // line 24 $context["forms"] = $this->loadTemplate("forms.twig", "layout-form-checkout.twig", 24)->unwrap(); // line 23 $this->parent = $this->loadTemplate("form-base.twig", "layout-form-checkout.twig", 23); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 26 public function block_formTitle($context, array $blocks = []) { // line 27 echo " "; $context["layout"] = $this->getAttribute(($context["layout"] ?? null), "layout", []); // line 28 echo " "; /* xgettext:no-php-format */ echo strtr(__("Checkout %layout%"), array("%layout%" => ($context["layout"] ?? null), )); } // line 31 public function block_formButtons($context, array $blocks = []) { // line 32 echo " "; echo __("Cancel"); echo ", XiboDialogClose() "; // line 33 echo __("Checkout"); echo ", \$(\"#layoutCheckoutForm\").submit() "; } // line 36 public function block_formHtml($context, array $blocks = []) { // line 37 echo " <div class=\"row\"> <div class=\"col-md-12\"> <form id=\"layoutCheckoutForm\" class=\"XiboForm form-horizontal\" method=\"put\" action=\""; // line 39 echo twig_escape_filter($this->env, $this->env->getExtension('Slim\Views\TwigExtension')->urlFor("layout.checkout", ["id" => $this->getAttribute(($context["layout"] ?? null), "layoutId", [])]), "html", null, true); echo "\"> \t\t\t\t"; // line 40 echo $context["forms"]->getmessage("Are you sure you want to checkout this Layout? It will be put in a Draft state so you can make edits."); echo " </form> </div> </div> "; } public function getTemplateName() { return "layout-form-checkout.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 80 => 40, 76 => 39, 72 => 37, 69 => 36, 63 => 33, 58 => 32, 55 => 31, 50 => 28, 47 => 27, 44 => 26, 39 => 23, 37 => 24, 31 => 23,); } /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */ public function getSource() { @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED); return $this->getSourceContext()->getCode(); } public function getSourceContext() { return new Source("{# /* * Xibo - Digital Signage - http://www.xibo.org.uk * Copyright (C) 2018 Spring Signage Ltd * * This file is part of Xibo. * * Xibo is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * any later version. * * Xibo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with Xibo. If not, see <http://www.gnu.org/licenses/>. */ #} {% extends \"form-base.twig\" %} {% import \"forms.twig\" as forms %} {% block formTitle %} {% set layout = layout.layout %} {% trans %}Checkout {{ layout }}{% endtrans %} {% endblock %} {% block formButtons %} {% trans \"Cancel\" %}, XiboDialogClose() {% trans \"Checkout\" %}, \$(\"#layoutCheckoutForm\").submit() {% endblock %} {% block formHtml %} <div class=\"row\"> <div class=\"col-md-12\"> <form id=\"layoutCheckoutForm\" class=\"XiboForm form-horizontal\" method=\"put\" action=\"{{ urlFor(\"layout.checkout\", {id: layout.layoutId}) }}\"> \t\t\t\t{{ forms.message(\"Are you sure you want to checkout this Layout? It will be put in a Draft state so you can make edits.\") }} </form> </div> </div> {% endblock %}", "layout-form-checkout.twig", "/home2/mgatv524/public_html/serraazul/views/layout-form-checkout.twig"); } }