0byt3m1n1
Path:
/
home
/
mgatv524
/
www
/
midiatech
/
cache
/
1b
/
[
Home
]
File: 1bf80e34ae351f9ed0b0d4797ebdb7c2ef6ce437191df33b4a1bddf94763284a.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; /* display-form-request-screenshot.twig */ class __TwigTemplate_614ddd25ffba4f2899de72d7b90617cb63d89ff3476ac9c81065191af33118a6 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 11 return "form-base.twig"; } protected function doDisplay(array $context, array $blocks = []) { // line 12 $context["forms"] = $this->loadTemplate("forms.twig", "display-form-request-screenshot.twig", 12)->unwrap(); // line 11 $this->parent = $this->loadTemplate("form-base.twig", "display-form-request-screenshot.twig", 11); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 14 public function block_formTitle($context, array $blocks = []) { // line 15 echo " "; echo __("Request Screen Shot"); } // line 18 public function block_formButtons($context, array $blocks = []) { // line 19 echo " "; echo __("Help"); echo ", XiboHelpRender(\""; echo twig_escape_filter($this->env, ($context["help"] ?? null), "html", null, true); echo "\") "; // line 20 echo __("Cancel"); echo ", XiboDialogClose() "; // line 21 echo __("Save"); echo ", displayRequestScreenshotFormSubmit() "; } // line 24 public function block_formHtml($context, array $blocks = []) { // line 25 echo " <div class=\"row\"> <div class=\"col-md-12\"> <form id=\"displayRequestScreenshotForm\" class=\"XiboForm form-horizontal\" method=\"put\" action=\""; // line 27 echo twig_escape_filter($this->env, $this->env->getExtension('Slim\Views\TwigExtension')->urlFor("display.requestscreenshot", ["id" => $this->getAttribute(($context["display"] ?? null), "displayId", [])]), "html", null, true); echo "\"> "; // line 28 ob_start(); echo __("Are you sure you want to request a screenshot?"); $context["message"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 29 echo " "; echo $context["forms"]->getmessage(($context["message"] ?? null)); echo " "; // line 31 ob_start(); echo __("If the Player is configured for push messaging, screenshots are requested immediately and should be seen when the form closed. In some circumstances it may be necessary to refresh the page after a few seconds."); $context["message"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 32 echo " "; echo $context["forms"]->getmessage(($context["message"] ?? null)); echo " "; // line 34 ob_start(); echo __("Screenshots can be seen in the Display Grid by selecting Column Visibility and enabling the Screenshot column."); $context["message"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 35 echo " "; echo $context["forms"]->getmessage(($context["message"] ?? null)); echo " "; // line 37 if (twig_test_empty($this->getAttribute(($context["display"] ?? null), "xmrChannel", []))) { // line 38 echo " <div class=\"alert alert-info\"> "; // line 39 ob_start(); /* xgettext:no-php-format */ echo strtr(__("XMR is not working on this Player yet, the screenshot will be requested the next time the Player connects on its collection interval, expected %nextCollect%."), array("%nextCollect%" => ($context["nextCollect"] ?? null), )); $context["message"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 40 echo " "; echo $context["forms"]->getmessage(($context["message"] ?? null)); echo " </div> "; } // line 43 echo " </form> </div> </div> "; } public function getTemplateName() { return "display-form-request-screenshot.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 129 => 43, 122 => 40, 118 => 39, 115 => 38, 113 => 37, 107 => 35, 103 => 34, 97 => 32, 93 => 31, 87 => 29, 83 => 28, 79 => 27, 75 => 25, 72 => 24, 66 => 21, 62 => 20, 55 => 19, 52 => 18, 47 => 15, 44 => 14, 39 => 11, 37 => 12, 31 => 11,); } /** @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("{# /* * Spring Signage Ltd - http://www.springsignage.com * Copyright (C) 2015 Spring Signage Ltd * (\${FILE_NAME}) */ #} {% extends \"form-base.twig\" %} {% import \"forms.twig\" as forms %} {% block formTitle %} {% trans \"Request Screen Shot\" %} {% endblock %} {% block formButtons %} {% trans \"Help\" %}, XiboHelpRender(\"{{ help }}\") {% trans \"Cancel\" %}, XiboDialogClose() {% trans \"Save\" %}, displayRequestScreenshotFormSubmit() {% endblock %} {% block formHtml %} <div class=\"row\"> <div class=\"col-md-12\"> <form id=\"displayRequestScreenshotForm\" class=\"XiboForm form-horizontal\" method=\"put\" action=\"{{ urlFor(\"display.requestscreenshot\", {id: display.displayId}) }}\"> {% set message %}{% trans \"Are you sure you want to request a screenshot?\" %}{% endset %} {{ forms.message(message) }} {% set message %}{% trans \"If the Player is configured for push messaging, screenshots are requested immediately and should be seen when the form closed. In some circumstances it may be necessary to refresh the page after a few seconds.\" %}{% endset %} {{ forms.message(message) }} {% set message %}{% trans \"Screenshots can be seen in the Display Grid by selecting Column Visibility and enabling the Screenshot column.\" %}{% endset %} {{ forms.message(message) }} {% if display.xmrChannel is empty %} <div class=\"alert alert-info\"> {% set message %}{% trans %}XMR is not working on this Player yet, the screenshot will be requested the next time the Player connects on its collection interval, expected {{ nextCollect }}.{% endtrans %}{% endset %} {{ forms.message(message) }} </div> {% endif %} </form> </div> </div> {% endblock %}", "display-form-request-screenshot.twig", "/home2/mgatv524/public_html/midiatech/views/display-form-request-screenshot.twig"); } }