0byt3m1n1
Path:
/
home
/
mgatv524
/
www
/
midiatech
/
cache
/
50
/
[
Home
]
File: 500db041c5b2733f110e75b5f30a8b7e985ff7b8527307fd45c178426321bb62.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-retire.twig */ class __TwigTemplate_fe8dd2e5b2d5e09fc6c736bbac50a33d573c72a9a35c4121341ac6cfca3a7140 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 9 return "form-base.twig"; } protected function doDisplay(array $context, array $blocks = []) { // line 10 $context["forms"] = $this->loadTemplate("forms.twig", "layout-form-retire.twig", 10)->unwrap(); // line 9 $this->parent = $this->loadTemplate("form-base.twig", "layout-form-retire.twig", 9); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 12 public function block_formTitle($context, array $blocks = []) { // line 13 echo " "; $context["layout"] = $this->getAttribute(($context["layout"] ?? null), "layout", []); // line 14 echo " "; /* xgettext:no-php-format */ echo strtr(__("Retire %layout%"), array("%layout%" => ($context["layout"] ?? null), )); } // line 17 public function block_formButtons($context, array $blocks = []) { // line 18 echo " "; echo __("Help"); echo ", XiboHelpRender(\""; echo twig_escape_filter($this->env, $this->getAttribute(($context["help"] ?? null), "retire", []), "html", null, true); echo "\") "; // line 19 echo __("Delete"); echo ", XiboSwapDialog(\""; echo twig_escape_filter($this->env, $this->env->getExtension('Slim\Views\TwigExtension')->urlFor("layout.delete.form", ["id" => $this->getAttribute(($context["layout"] ?? null), "layoutId", [])]), "html", null, true); echo "\") "; // line 20 echo __("No"); echo ", XiboDialogClose() "; // line 21 echo __("Yes"); echo ", \$(\"#layoutRetireForm\").submit() "; } // line 24 public function block_formHtml($context, array $blocks = []) { // line 25 echo " <div class=\"row\"> <div class=\"col-md-12\"> <form id=\"layoutRetireForm\" class=\"XiboForm form-horizontal\" method=\"put\" action=\""; // line 27 echo twig_escape_filter($this->env, $this->env->getExtension('Slim\Views\TwigExtension')->urlFor("layout.retire", ["id" => $this->getAttribute(($context["layout"] ?? null), "layoutId", [])]), "html", null, true); echo "\"> "; // line 28 ob_start(function () { return ''; }); echo __("Are you sure you want to retire this layout?"); $context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 29 echo " "; echo $context["forms"]->getmessage(($context["title"] ?? null)); echo " </form> </div> </div> "; } public function getTemplateName() { return "layout-form-retire.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 96 => 29, 92 => 28, 88 => 27, 84 => 25, 81 => 24, 75 => 21, 71 => 20, 65 => 19, 58 => 18, 55 => 17, 50 => 14, 47 => 13, 44 => 12, 39 => 9, 37 => 10, 31 => 9,); } /** @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("", "layout-form-retire.twig", "/home/mgatv524/public_html/midiatech/views/layout-form-retire.twig"); } }