0byt3m1n1
Path:
/
home
/
mgatv524
/
public_html
/
somares
/
cache
/
4b
/
[
Home
]
File: 4b1f3169396314ea5efef2e552241068b8200d2b1d6bbf05ea241e2f77abb1a3.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; /* clock-form-edit.twig */ class __TwigTemplate_23ca01a43a52b3c04c36706c7123a0473c2adba1c8a9a9acc0d30109a9f24d0b extends \Twig\Template { public function __construct(Environment $env) { parent::__construct($env); $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 = []) { // line 24 $context["forms"] = $this->loadTemplate("forms.twig", "clock-form-edit.twig", 24)->unwrap(); // line 23 $this->parent = $this->loadTemplate("form-base.twig", "clock-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 Clock"); } // line 30 public function block_formHtml($context, array $blocks = []) { // line 31 echo " <div class=\"row\"> <ul class=\"nav nav-tabs\" role=\"tablist\"> <li class=\"active\"><a href=\"#generalTab\" role=\"tab\" data-toggle=\"tab\"><span>"; // line 33 echo __("General"); echo "</span></a></li> <li><a href=\"#appearanceTab\" role=\"tab\" data-toggle=\"tab\"><span>"; // line 34 echo __("Appearance"); echo "</span></a></li> <li><a href=\"#editorTab\" class=\"digital-control-group\" role=\"tab\" data-toggle=\"tab\"><span>"; // line 35 echo __("Editor"); echo "</span></a></li> </ul> <div class=\"col-md-12\"> <form id=\"clockFormEdit\" class=\"XiboForm form-horizontal\" method=\"put\" action=\""; // line 38 echo twig_escape_filter($this->env, $this->env->getExtension('Slim\Views\TwigExtension')->urlFor("module.widget.edit", ["id" => $this->getAttribute($this->getAttribute(($context["module"] ?? null), "widget", []), "widgetId", [])]), "html", null, true); echo "\"> <div class=\"tab-content\"> <div class=\"tab-pane active\" id=\"generalTab\"> "; // line 41 ob_start(function () { return ''; }); echo __("Name"); $context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 42 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 43 echo " "; echo $context["forms"]->getinput("name", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "name"], "method"), ($context["helpText"] ?? null)); echo " "; // line 45 ob_start(function () { return ''; }); echo __("Set a duration?"); $context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 46 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 47 echo " "; echo $context["forms"]->getcheckbox("useDuration", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getUseDuration", [], "method"), ($context["helpText"] ?? null)); echo " "; // line 49 ob_start(function () { return ''; }); echo __("Duration"); $context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 50 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 51 echo " "; echo $context["forms"]->getnumber("duration", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getDuration", [], "method"), ($context["helpText"] ?? null), "duration-fields", "required"); echo " "; // line 53 ob_start(function () { return ''; }); echo __("Enable Stats Collection?"); $context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 54 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 55 echo " "; // line 56 ob_start(function () { return ''; }); echo __("Off"); $context["offOption"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 57 echo " "; ob_start(function () { return ''; }); echo __("On"); $context["onOption"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 58 echo " "; ob_start(function () { return ''; }); echo __("Inherit"); $context["inheritOption"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 59 echo " "; $context["options"] = [0 => ["id" => "Off", "value" => // line 60 ($context["offOption"] ?? null)], 1 => ["id" => "On", "value" => // line 61 ($context["onOption"] ?? null)], 2 => ["id" => "Inherit", "value" => // line 62 ($context["inheritOption"] ?? null)]]; // line 64 echo " "; echo $context["forms"]->getdropdown("enableStat", "single", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "enableStat", 1 => $this->getAttribute(($context["theme"] ?? null), "getSetting", [0 => "WIDGET_STATS_ENABLED_DEFAULT"], "method")], "method"), ($context["options"] ?? null), "id", "value", ($context["helpText"] ?? null)); echo " </div> <div class=\"tab-pane\" id=\"appearanceTab\"> "; // line 68 ob_start(function () { return ''; }); echo __("Clock Type"); $context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 69 echo " "; ob_start(function () { return ''; }); echo __("Please select the type of clock to display."); $context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 70 echo " "; ob_start(function () { return ''; }); echo __("Analog"); $context["analog"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 71 echo " "; ob_start(function () { return ''; }); echo __("Digital"); $context["digital"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 72 echo " "; ob_start(function () { return ''; }); echo __("Flip Clock"); $context["flip"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 73 echo " "; $context["options"] = [0 => ["id" => 1, "value" => // line 74 ($context["analog"] ?? null)], 1 => ["id" => 2, "value" => // line 75 ($context["digital"] ?? null)], 2 => ["id" => 3, "value" => // line 76 ($context["flip"] ?? null)]]; // line 78 echo " "; echo $context["forms"]->getdropdown("clockTypeId", "single", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "clockTypeId"], "method"), ($context["options"] ?? null), "id", "value", ($context["helpText"] ?? null)); echo " "; // line 80 ob_start(function () { return ''; }); echo __("Clock Face"); $context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 81 echo " "; ob_start(function () { return ''; }); echo __("Please select a clock face."); $context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 82 echo " "; echo $context["forms"]->getdropdown("clockFace", "single", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "clockFace", 1 => "TwentyFourHourClock"], "method"), $this->getAttribute(($context["module"] ?? null), "clockFaces", [], "method"), "id", "value", ($context["helpText"] ?? null), "flip-control-group"); echo " "; // line 84 ob_start(function () { return ''; }); echo __("Offset"); $context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 85 echo " "; ob_start(function () { return ''; }); echo __("The offset in minutes that should be applied to the current time, or if a counter then date/time to run from in the format Y-m-d H:i:s."); $context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 86 echo " "; echo $context["forms"]->getinput("offset", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "offset"], "method"), ($context["helpText"] ?? null)); echo " "; // line 88 ob_start(function () { return ''; }); echo __("Show Seconds?"); $context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 89 echo " "; ob_start(function () { return ''; }); echo __("Should the clock show seconds or not?"); $context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 90 echo " "; echo $context["forms"]->getcheckbox("showSeconds", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "showSeconds", 1 => 1], "method"), ($context["helpText"] ?? null), "flip-control-group"); echo " "; // line 92 ob_start(function () { return ''; }); echo __("Theme"); $context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 93 echo " "; ob_start(function () { return ''; }); echo __("Please select a theme for the clock."); $context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 94 echo " "; ob_start(function () { return ''; }); echo __("Light"); $context["light"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 95 echo " "; ob_start(function () { return ''; }); echo __("Dark"); $context["dark"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 96 echo " "; $context["options"] = [0 => ["id" => 1, "value" => // line 97 ($context["light"] ?? null)], 1 => ["id" => 2, "value" => // line 98 ($context["dark"] ?? null)]]; // line 100 echo " "; echo $context["forms"]->getdropdown("themeId", "single", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "theme"], "method"), ($context["options"] ?? null), "id", "value", ($context["helpText"] ?? null), "analogue-control-group"); echo " </div> <div class=\"tab-pane\" id=\"editorTab\"> <div class=\"form-content-title container-fluid text-right\"> <h4 class=\"col-xs-6 text-left\">"; // line 105 echo __("Clock Template"); echo "</h4> <input type=\"checkbox\" class=\"col-xs-6 pull-right bootstrap-switch-target\" id=\"ta_text_advanced\" name=\"ta_text_advanced\" "; // line 106 if (($this->getAttribute(($context["module"] ?? null), "getOption", [0 => "ta_text_advanced", 1 => 0], "method") == 1)) { echo "checked"; } echo " data-size=\"small\" data-label-text=\""; // line 108 echo __("Visual editor"); echo "\" data-label-width=\"80px\" data-on-text=\""; // line 110 echo __("On"); echo "\" data-off-text=\""; // line 111 echo __("Off"); echo "\"> </div> <div class=\"editor-messages\"> "; // line 115 ob_start(function () { return ''; }); echo __("Enter a format for the Digital Clock e.g. [HH:mm] or [DD/MM/YYYY]. See the manual for more information."); $context["message"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 116 echo " "; echo $context["forms"]->getmessage(($context["message"] ?? null), ""); echo " "; // line 118 ob_start(function () { return ''; }); // line 119 echo " "; echo __("Enter text or HTML in the box below."); echo "<br> "; $context["simpleTextEditorMessage"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 121 echo " "; echo $context["forms"]->getmessage(($context["simpleTextEditorMessage"] ?? null), "ta_text-advanced-editor-hide inline-editor-hide"); echo " "; // line 124 echo " "; ob_start(function () { return ''; }); // line 125 echo " "; echo __("Enter text to display using the inline editor which can be opened by clicking in the preview on the left."); // line 126 echo " "; echo __("When using the inline editor Shift+Enter will drop a single line. Enter alone starts a new paragraph."); // line 127 echo " "; $context["layoutDesignerMessage"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 128 echo " "; echo $context["forms"]->getmessage(($context["layoutDesignerMessage"] ?? null), "layout-designer-message inline-editor-show"); echo " "; // line 131 echo " "; ob_start(function () { return ''; }); // line 132 echo " "; echo __("Enter the text to display. The red rectangle reflects the size of the region you are editing."); // line 133 echo " "; echo __("Shift+Enter will drop a single line. Enter alone starts a new paragraph."); // line 134 echo " "; $context["playlistEditorMessage"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 135 echo " "; echo $context["forms"]->getmessage(($context["playlistEditorMessage"] ?? null), "playlist-editor-message ta_text-advanced-editor-show"); echo " </div> <div class=\"ckeditor_controls inline-editor-hide container-fluid\" data-linked-to=\"ta_text\"> <div class=\"col-sm-offset-4 col-sm-8\"> <div class=\"form-group\"> <label class=\"col-sm-4 control-label\" for=\"ckeditor_snippets_select\">"; // line 141 echo __("Snippets"); echo "</label> <div class=\"col-sm-8 ckeditor_select_container\"> <select id=\"ckeditor_snippets_select\" class=\"ckeditor_snippets_select form-control\" data-linked-to=\"ta_text\"> <option value=\"\"></option> <option value=\"HH:mm\">HH:mm</option> <option value=\"DD/MM/YYYY\">DD/MM/YYYY</option> </select> </div> </div> </div> </div> "; // line 155 echo $context["forms"]->gettextarea("ta_text", "", $this->getAttribute(($context["module"] ?? null), "getRawNode", [0 => "format"], "method"), "", "inline-editor-hide", "", 10); echo " </div> </div> </form> </div> </div> "; } public function getTemplateName() { return "clock-form-edit.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 385 => 155, 368 => 141, 358 => 135, 355 => 134, 352 => 133, 349 => 132, 346 => 131, 340 => 128, 337 => 127, 334 => 126, 331 => 125, 328 => 124, 322 => 121, 316 => 119, 314 => 118, 308 => 116, 304 => 115, 297 => 111, 293 => 110, 288 => 108, 281 => 106, 277 => 105, 268 => 100, 266 => 98, 265 => 97, 263 => 96, 258 => 95, 253 => 94, 248 => 93, 244 => 92, 238 => 90, 233 => 89, 229 => 88, 223 => 86, 218 => 85, 214 => 84, 208 => 82, 203 => 81, 199 => 80, 193 => 78, 191 => 76, 190 => 75, 189 => 74, 187 => 73, 182 => 72, 177 => 71, 172 => 70, 167 => 69, 163 => 68, 155 => 64, 153 => 62, 152 => 61, 151 => 60, 149 => 59, 144 => 58, 139 => 57, 135 => 56, 132 => 55, 127 => 54, 123 => 53, 117 => 51, 112 => 50, 108 => 49, 102 => 47, 97 => 46, 93 => 45, 87 => 43, 82 => 42, 78 => 41, 72 => 38, 66 => 35, 62 => 34, 58 => 33, 54 => 31, 51 => 30, 46 => 27, 43 => 26, 38 => 23, 36 => 24, 30 => 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("", "clock-form-edit.twig", "/home/mgatv524/public_html/somares/modules/clock-form-edit.twig"); } }