0byt3m1n1
Path:
/
home
/
mgatv524
/
public_html
/
somares
/
cache
/
a4
/
[
Home
]
File: a4575d02ce50a39a4a53452d5df17319e27c0d0ef468044fe14a51dda3912640.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-edit.twig */ class __TwigTemplate_271d49f792e9305892ba78d2cb8ee65ae9a261919e46d6ac7f49a79c8904bc98 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-edit.twig", 24)->unwrap(); // line 23 $this->parent = $this->loadTemplate("form-base.twig", "layout-form-edit.twig", 23); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 26 public function block_formTitle($context, array $blocks = []) { // line 27 echo " "; echo __("Edit Layout"); } // line 30 public function block_formButtons($context, array $blocks = []) { // line 31 echo " "; echo __("Help"); echo ", XiboHelpRender(\""; echo twig_escape_filter($this->env, ($context["help"] ?? null), "html", null, true); echo "\") "; // line 32 echo __("Cancel"); echo ", XiboDialogClose() "; // line 33 echo __("Save"); echo ", \$(\"#layoutEditForm\").submit() "; } // line 36 public function block_formHtml($context, array $blocks = []) { // line 37 echo " <div class=\"row\"> <div class=\"col-md-12\"> <ul class=\"nav nav-tabs\" role=\"tablist\"> <li class=\"active\"><a href=\"#general\" role=\"tab\" data-toggle=\"tab\"><span>"; // line 40 echo __("General"); echo "</span></a></li> <li><a href=\"#description\" role=\"tab\" data-toggle=\"tab\"><span>"; // line 41 echo __("Description"); echo "</span></a></li> </ul> <form id=\"layoutEditForm\" class=\"XiboForm form-horizontal\" method=\"put\" action=\""; // line 43 echo twig_escape_filter($this->env, $this->env->getExtension('Slim\Views\TwigExtension')->urlFor("layout.edit", ["id" => $this->getAttribute(($context["layout"] ?? null), "layoutId", [])]), "html", null, true); echo "\" data-gettag=\""; echo twig_escape_filter($this->env, $this->env->getExtension('Slim\Views\TwigExtension')->urlFor("tag.getByName"), "html", null, true); echo "\"> <div class=\"tab-content\"> <div class=\"tab-pane active\" id=\"general\"> "; // line 46 ob_start(function () { return ''; }); echo __("Name"); $context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 47 echo " "; ob_start(function () { return ''; }); echo __("The Name of the Layout - (1 - 50 characters)"); $context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 48 echo " "; echo $context["forms"]->getinput("name", ($context["title"] ?? null), $this->getAttribute(($context["layout"] ?? null), "layout", []), ($context["helpText"] ?? null)); echo " "; // line 50 ob_start(function () { return ''; }); echo __("Tags"); $context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 51 echo " "; ob_start(function () { return ''; }); echo __("Tags for this Layout - Comma separated string of Tags or Tag|Value format. If you choose a Tag that has associated values, they will be shown for selection below."); $context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 52 echo " "; echo $context["forms"]->getinputWithTags("tags", ($context["title"] ?? null), ($context["tags"] ?? null), ($context["helpText"] ?? null), "tags-with-value"); echo " <p id=\"loadingValues\" style=\"margin-left: 17%\"></p> "; // line 56 ob_start(function () { return ''; }); echo __("Tag value"); $context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 57 echo " "; echo $context["forms"]->getdropdown("tagValue", "single", ($context["title"] ?? null), "", ($context["options"] ?? null), "key", "value"); echo " <div id=\"tagValueContainer\"> "; // line 60 ob_start(function () { return ''; }); echo __("Tag value"); $context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 61 echo " "; ob_start(function () { return ''; }); echo __("Please provide the value for this Tag and confirm by pressing enter on your keyboard."); $context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 62 echo " "; echo $context["forms"]->getinput("tagValueInput", ($context["title"] ?? null), "", ($context["helpText"] ?? null)); echo " </div> <div id=\"tagValueRequired\" class=\"alert alert-info\"> <p>"; // line 66 echo __("This tag requires a set value, please select one from the Tag value dropdown or provide Tag value in the dedicated field."); echo "</p> </div> "; // line 69 ob_start(function () { return ''; }); echo __("Retired"); $context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 70 echo " "; ob_start(function () { return ''; }); echo __("Retire this layout or not? It will no longer be visible in lists"); $context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 71 echo " "; echo $context["forms"]->getcheckbox("retired", ($context["title"] ?? null), $this->getAttribute(($context["layout"] ?? null), "retired", []), ($context["helpText"] ?? null)); echo " "; // line 73 ob_start(function () { return ''; }); echo __("Enable Stats Collection?"); $context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 74 echo " "; ob_start(function () { return ''; }); echo __("Enable the collection of Proof of Play statistics for this Layout. 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 75 echo " "; echo $context["forms"]->getcheckbox("enableStat", ($context["title"] ?? null), $this->getAttribute(($context["layout"] ?? null), "enableStat", []), ($context["helpText"] ?? null)); echo " </div> <div class=\"tab-pane\" id=\"description\"> "; // line 78 ob_start(function () { return ''; }); echo __("Description"); $context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 79 echo " "; ob_start(function () { return ''; }); echo __("An optional description of the Layout. (1 - 250 characters)"); $context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 80 echo " "; echo $context["forms"]->gettextarea("description", ($context["title"] ?? null), $this->getAttribute(($context["layout"] ?? null), "description", []), ($context["helpText"] ?? null)); echo " </div> </div> </form> </div> </div> "; } public function getTemplateName() { return "layout-form-edit.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 203 => 80, 198 => 79, 194 => 78, 187 => 75, 182 => 74, 178 => 73, 172 => 71, 167 => 70, 163 => 69, 157 => 66, 149 => 62, 144 => 61, 140 => 60, 133 => 57, 129 => 56, 121 => 52, 116 => 51, 112 => 50, 106 => 48, 101 => 47, 97 => 46, 89 => 43, 84 => 41, 80 => 40, 75 => 37, 72 => 36, 66 => 33, 62 => 32, 55 => 31, 52 => 30, 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("", "layout-form-edit.twig", "/home/mgatv524/public_html/somares/views/layout-form-edit.twig"); } }