0byt3m1n1
Path:
/
home
/
mgatv524
/
medcenter.mgaplay.com.br
/
cache
/
54
/
[
Home
]
File: 54a9778a106f081ec97919c7c49fb7ec7c69a64acf264536fcfd779e2016d6fc.php
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; 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; /* dashboard-form-edit.twig */ class __TwigTemplate_a608700fed5001309727d57afd25dbeff89a66e739df1a471efd7e06772bcad7 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'formTitle' => [$this, 'block_formTitle'], 'formHtml' => [$this, 'block_formHtml'], ]; } protected function doGetParent(array $context) { // line 23 return "form-base.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 24 $macros["forms"] = $this->macros["forms"] = $this->loadTemplate("forms.twig", "dashboard-form-edit.twig", 24)->unwrap(); // line 23 $this->parent = $this->loadTemplate("form-base.twig", "dashboard-form-edit.twig", 23); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 26 public function block_formTitle($context, array $blocks = []) { $macros = $this->macros; // line 27 echo " "; echo __("Edit"); } // line 30 public function block_formHtml($context, array $blocks = []) { $macros = $this->macros; // line 31 echo " <div class=\"row\"> <ul class=\"nav nav-tabs\" role=\"tablist\"> <li class=\"nav-item\"><a class=\"nav-link active\" href=\"#generalTab\" role=\"tab\" data-toggle=\"tab\"><span>"; // line 33 echo __("General"); echo "</span></a></li> </ul> <div class=\"col-md-12\"> <form id=\"moduleEditForm\" class=\"XiboForm form-horizontal\" method=\"put\" action=\""; // line 36 echo twig_escape_filter($this->env, $this->env->getRuntime('Slim\Views\TwigRuntimeExtension')->urlFor("module.widget.edit", ["id" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["module"] ?? null), "widget", [], "any", false, false, false, 36), "widgetId", [], "any", false, false, false, 36)]), "html", null, true); echo "\"> <div class=\"tab-content\"> <div class=\"tab-pane active\" id=\"generalTab\"> "; // line 39 ob_start(function () { return ''; }); echo __("Type"); $context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 40 echo " "; ob_start(function () { return ''; }); echo __("Select the dashboards type below"); $context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 41 echo " "; echo twig_call_macro($macros["forms"], "macro_dropdown", ["type", "single", ($context["title"] ?? null), twig_get_attribute($this->env, $this->source, ($context["module"] ?? null), "getOption", [0 => "type"], "method", false, false, false, 41), twig_get_attribute($this->env, $this->source, ($context["options"] ?? null), "serviceType", [], "any", false, false, false, 41), "type", "name", ($context["helptext"] ?? null)], 41, $context, $this->getSourceContext()); echo " "; // line 43 ob_start(function () { return ''; }); echo __("Name"); $context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 44 echo " "; ob_start(function () { return ''; }); echo __("An optional name for this widget"); $context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 45 echo " "; echo twig_call_macro($macros["forms"], "macro_input", ["name", ($context["title"] ?? null), twig_get_attribute($this->env, $this->source, ($context["module"] ?? null), "getOption", [0 => "name"], "method", false, false, false, 45), ($context["helpText"] ?? null)], 45, $context, $this->getSourceContext()); echo " "; // line 47 ob_start(function () { return ''; }); echo __("Set a duration?"); $context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 48 echo " "; ob_start(function () { return ''; }); echo __("Select to provide a specific duration for this Widget"); $context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 49 echo " "; echo twig_call_macro($macros["forms"], "macro_checkbox", ["useDuration", ($context["title"] ?? null), twig_get_attribute($this->env, $this->source, ($context["module"] ?? null), "getUseDuration", [], "method", false, false, false, 49), ($context["helpText"] ?? null)], 49, $context, $this->getSourceContext()); echo " "; // line 51 ob_start(function () { return ''; }); echo __("Duration"); $context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 52 echo " "; ob_start(function () { return ''; }); echo __("The duration in seconds this should be displayed"); $context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 53 echo " "; echo twig_call_macro($macros["forms"], "macro_number", ["duration", ($context["title"] ?? null), twig_get_attribute($this->env, $this->source, ($context["module"] ?? null), "getDuration", [], "method", false, false, false, 53), ($context["helpText"] ?? null), "duration-fields", "required"], 53, $context, $this->getSourceContext()); echo " "; // line 55 ob_start(function () { return ''; }); echo __("Enable Stats Collection?"); $context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 56 echo " "; ob_start(function () { return ''; }); echo __("Enable the collection of Proof of Play statistics for this Widget. Ensure that ‘Enable Stats Collection’ is set to ‘On’ in the Display Settings."); $context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 57 echo " "; // line 58 ob_start(function () { return ''; }); echo __("Off"); $context["offOption"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 59 echo " "; ob_start(function () { return ''; }); echo __("On"); $context["onOption"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 60 echo " "; ob_start(function () { return ''; }); echo __("Inherit"); $context["inheritOption"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 61 echo " "; $context["options"] = [0 => ["id" => "Off", "value" => // line 62 ($context["offOption"] ?? null)], 1 => ["id" => "On", "value" => // line 63 ($context["onOption"] ?? null)], 2 => ["id" => "Inherit", "value" => // line 64 ($context["inheritOption"] ?? null)]]; // line 66 echo " "; echo twig_call_macro($macros["forms"], "macro_dropdown", ["enableStat", "single", ($context["title"] ?? null), twig_get_attribute($this->env, $this->source, ($context["module"] ?? null), "getOption", [0 => "enableStat", 1 => twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "getSetting", [0 => "WIDGET_STATS_ENABLED_DEFAULT"], "method", false, false, false, 66)], "method", false, false, false, 66), ($context["options"] ?? null), "id", "value", ($context["helpText"] ?? null)], 66, $context, $this->getSourceContext()); echo " "; // line 68 ob_start(function () { return ''; }); echo __("Link"); $context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 69 echo " "; ob_start(function () { return ''; }); echo __("The Location (URL) of the webpage"); $context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 70 echo " "; echo twig_call_macro($macros["forms"], "macro_input", ["url", ($context["title"] ?? null), urldecode(twig_get_attribute($this->env, $this->source, ($context["module"] ?? null), "getOption", [0 => "url"], "method", false, false, false, 70)), ($context["helpText"] ?? null), "required"], 70, $context, $this->getSourceContext()); echo " "; // line 72 ob_start(function () { return ''; }); echo __("Update Interval (mins)"); $context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 73 echo " "; ob_start(function () { return ''; }); echo __("Please enter the update interval in minutes. This should be kept as high as possible. For example, if the data will only change once per hour this could be set to 60."); $context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 74 echo " "; echo twig_call_macro($macros["forms"], "macro_number", ["updateInterval", ($context["title"] ?? null), twig_get_attribute($this->env, $this->source, ($context["module"] ?? null), "getOption", [0 => "updateInterval", 1 => 60], "method", false, false, false, 74), ($context["helpText"] ?? null), "", "required"], 74, $context, $this->getSourceContext()); echo " </div> </div> </form> </div> </div> "; } public function getTemplateName() { return "dashboard-form-edit.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 201 => 74, 196 => 73, 192 => 72, 186 => 70, 181 => 69, 177 => 68, 171 => 66, 169 => 64, 168 => 63, 167 => 62, 165 => 61, 160 => 60, 155 => 59, 151 => 58, 148 => 57, 143 => 56, 139 => 55, 133 => 53, 128 => 52, 124 => 51, 118 => 49, 113 => 48, 109 => 47, 103 => 45, 98 => 44, 94 => 43, 88 => 41, 83 => 40, 79 => 39, 73 => 36, 67 => 33, 63 => 31, 59 => 30, 54 => 27, 50 => 26, 45 => 23, 43 => 24, 36 => 23,); } public function getSourceContext() { return new Source("", "dashboard-form-edit.twig", "/home/flatsis/cms.flatsistemas.com.br/modules/dashboard-form-edit.twig"); } }