0byt3m1n1
Path:
/
home
/
mgatv524
/
public_html
/
somares
/
cache
/
a2
/
[
Home
]
File: a234f96cefdd0d370240f4f1fc3b8f65afe206e7d520c337e0abf884220a60aa.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; /* dataset-rss-form-delete.twig */ class __TwigTemplate_dd61c8818577c7aee63a1780206ed27ab1e61c69138dcfaaf504e0091de87063 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 24 return "form-base.twig"; } protected function doDisplay(array $context, array $blocks = []) { // line 25 $context["forms"] = $this->loadTemplate("forms.twig", "dataset-rss-form-delete.twig", 25)->unwrap(); // line 24 $this->parent = $this->loadTemplate("form-base.twig", "dataset-rss-form-delete.twig", 24); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 27 public function block_formTitle($context, array $blocks = []) { // line 28 echo " "; echo __("Delete this RSS?"); } // line 31 public function block_formButtons($context, array $blocks = []) { // line 32 echo " "; echo __("Cancel"); echo ", XiboDialogClose() "; // line 33 echo __("Yes"); echo ", \$(\"#dataSetColumnRssForm\").submit() "; } // line 36 public function block_formHtml($context, array $blocks = []) { // line 37 echo " <div class=\"row\"> <div class=\"col-md-12\"> <form id=\"dataSetColumnRssForm\" class=\"XiboForm form-horizontal\" method=\"delete\" action=\""; // line 39 echo twig_escape_filter($this->env, $this->env->getExtension('Slim\Views\TwigExtension')->urlFor("dataSet.rss.delete", ["id" => $this->getAttribute(($context["dataSet"] ?? null), "dataSetId", []), "rssId" => $this->getAttribute(($context["feed"] ?? null), "id", [])]), "html", null, true); echo "\"> "; // line 40 ob_start(); echo __("Are you sure you want to delete?"); $context["message"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 41 echo " "; echo $context["forms"]->getmessage(($context["message"] ?? null)); echo " </form> </div> </div> "; } public function getTemplateName() { return "dataset-rss-form-delete.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 81 => 41, 77 => 40, 73 => 39, 69 => 37, 66 => 36, 60 => 33, 55 => 32, 52 => 31, 47 => 28, 44 => 27, 39 => 24, 37 => 25, 31 => 24,); } /** @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("{# /** * Copyright (C) 2018 Xibo Signage Ltd * * Xibo - Digital Signage - http://www.xibo.org.uk * * 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 %} {% trans \"Delete this RSS?\" %} {% endblock %} {% block formButtons %} {% trans \"Cancel\" %}, XiboDialogClose() {% trans \"Yes\" %}, \$(\"#dataSetColumnRssForm\").submit() {% endblock %} {% block formHtml %} <div class=\"row\"> <div class=\"col-md-12\"> <form id=\"dataSetColumnRssForm\" class=\"XiboForm form-horizontal\" method=\"delete\" action=\"{{ urlFor(\"dataSet.rss.delete\", {id: dataSet.dataSetId, rssId: feed.id}) }}\"> {% set message %}{% trans \"Are you sure you want to delete?\" %}{% endset %} {{ forms.message(message) }} </form> </div> </div> {% endblock %}", "dataset-rss-form-delete.twig", "/home/mgatv524/public_html/somares/views/dataset-rss-form-delete.twig"); } }