";
// line 49
ob_start(function () { return ''; });
echo __("Name");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 50
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 51
echo " ";
echo $context["forms"]->getinput("name", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "name"], "method"), ($context["helpText"] ?? null));
echo "
";
// line 53
ob_start(function () { return ''; });
echo __("Set a duration?");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 54
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 55
echo " ";
echo $context["forms"]->getcheckbox("useDuration", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getUseDuration", [], "method"), ($context["helpText"] ?? null));
echo "
";
// line 57
ob_start(function () { return ''; });
echo __("Duration");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 58
echo " ";
ob_start(function () { return ''; });
echo __("The duration in seconds this item should be displayed.");
$context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 59
echo " ";
echo $context["forms"]->getnumber("duration", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getDuration", [], "method"), ($context["helpText"] ?? null), "duration-fields", "required");
echo "
";
// line 61
ob_start(function () { return ''; });
echo __("Enable Stats Collection?");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 62
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 63
echo "
";
// line 64
ob_start(function () { return ''; });
echo __("Off");
$context["offOption"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 65
echo " ";
ob_start(function () { return ''; });
echo __("On");
$context["onOption"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 66
echo " ";
ob_start(function () { return ''; });
echo __("Inherit");
$context["inheritOption"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 67
echo " ";
$context["options"] = [0 => ["id" => "Off", "value" => // line 68
($context["offOption"] ?? null)], 1 => ["id" => "On", "value" => // line 69
($context["onOption"] ?? null)], 2 => ["id" => "Inherit", "value" => // line 70
($context["inheritOption"] ?? null)]];
// line 72
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 "
";
// line 76
ob_start(function () { return ''; });
echo __("Use the Display Location");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 77
echo " ";
ob_start(function () { return ''; });
echo __("Use the location configured on the display");
$context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 78
echo " ";
echo $context["forms"]->getcheckbox("useDisplayLocation", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "useDisplayLocation", 1 => 1], "method"), ($context["helpText"] ?? null));
echo "
";
// line 80
ob_start(function () { return ''; });
echo __("Latitude");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 81
echo " ";
ob_start(function () { return ''; });
echo __("The Latitude for this widget");
$context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 82
echo " ";
echo $context["forms"]->getnumber("latitude", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "latitude"], "method"), ($context["helpText"] ?? null), "locationControls");
echo "
";
// line 84
ob_start(function () { return ''; });
echo __("Longitude");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 85
echo " ";
ob_start(function () { return ''; });
echo __("The Longitude for this widget");
$context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 86
echo " ";
echo $context["forms"]->getnumber("longitude", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "longitude"], "method"), ($context["helpText"] ?? null), "locationControls");
echo "
";
// line 88
ob_start(function () { return ''; });
echo __("Units");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 89
echo " ";
ob_start(function () { return ''; });
echo __("Select the units you would like to use.");
$context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 90
echo " ";
echo $context["forms"]->getdropdown("units", "single", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "units"], "method"), $this->getAttribute(($context["module"] ?? null), "unitsAvailable", [], "method"), "id", "value", ($context["helpText"] ?? null));
echo "
";
// line 92
ob_start(function () { return ''; });
echo __("Language");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 93
echo " ";
ob_start(function () { return ''; });
echo __("Select the language you would like to use.");
$context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 94
echo " ";
echo $context["forms"]->getdropdown("lang", "single", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "lang", 1 => "en"], "method"), $this->getAttribute(($context["module"] ?? null), "supportedLanguages", [], "method"), "id", "value", ($context["helpText"] ?? null));
echo "
";
// line 96
ob_start(function () { return ''; });
echo __("Only show Daytime weather conditions");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 97
echo " ";
ob_start(function () { return ''; });
echo __("Tick if you would like to only show the Daytime weather conditions.");
$context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 98
echo " ";
echo $context["forms"]->getcheckbox("dayConditionsOnly", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "dayConditionsOnly"], "method"), ($context["helpText"] ?? null));
echo "
";
// line 102
ob_start(function () { return ''; });
echo __("Weather Template");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 103
echo " ";
ob_start(function () { return ''; });
echo __("Select the template you would like to apply. This can be overridden using the check box below.");
$context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 104
echo " ";
echo $context["forms"]->getdropdown("templateId", "single", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "templateId"], "method"), $this->getAttribute(($context["module"] ?? null), "templatesAvailable", [], "method"), "id", "value", ($context["helpText"] ?? null), "template-selector-control selectPicker selectPickerWithImage", null, null, null, [0 => ["name" => "data-minimum-results-for-search", "value" => "Infinity"], 1 => ["name" => "data-width", "value" => "100%"]], null, "image");
echo "
";
// line 106
ob_start(function () { return ''; });
echo __("Override the template?");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 107
echo " ";
ob_start(function () { return ''; });
echo __("Tick if you would like to override the template.");
$context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 108
echo " ";
echo $context["forms"]->getcheckbox("overrideTemplate", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "overrideTemplate"], "method"), ($context["helpText"] ?? null));
echo "
";
// line 110
ob_start(function () { return ''; });
// line 111
echo " ";
echo __("With Override the Template selected enter your own text, html and css by using the Templates drop down menu in the tab header above.");
echo "
";
$context["useTemplatesMessage"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 113
echo " ";
echo $context["forms"]->getmessage(($context["useTemplatesMessage"] ?? null), "template-override-controls");
echo "
";
// line 115
ob_start(function () { return ''; });
echo __("Original Width");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 116
echo " ";
ob_start(function () { return ''; });
echo __("This is the intended width of the template and is used to scale the Widget within its region when the template is applied.");
$context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 117
echo " ";
echo $context["forms"]->getnumber("widgetOriginalWidth", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "widgetOriginalWidth", 1 => ($context["undefined"] ?? null)], "method"), ($context["helpText"] ?? null), "template-override-controls", "", "number");
echo "
";
// line 119
ob_start(function () { return ''; });
echo __("Original Height");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 120
echo " ";
ob_start(function () { return ''; });
echo __("This is the intended height of the template and is used to scale the Widget within its region when the template is applied.");
$context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 121
echo " ";
echo $context["forms"]->getnumber("widgetOriginalHeight", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "widgetOriginalHeight", 1 => ($context["undefined"] ?? null)], "method"), ($context["helpText"] ?? null), "template-override-controls", "", "number");
echo "
";
// line 126
echo __("Current Forecast Template");
echo "
getAttribute(($context["module"] ?? null), "getOption", [0 => "currentTemplate_advanced", 1 => 0], "method") == 1)) {
echo "checked";
}
echo "
data-size=\"small\"
data-label-text=\"";
// line 129
echo __("Visual editor");
echo "\"
data-label-width=\"80px\"
data-on-text=\"";
// line 131
echo __("On");
echo "\"
data-off-text=\"";
// line 132
echo __("Off");
echo "\">
";
// line 136
ob_start(function () { return ''; });
// line 137
echo " ";
echo __("Enter text or HTML in the box below.");
echo "
";
$context["simpleTextEditorMessage"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 139
echo " ";
echo $context["forms"]->getmessage(($context["simpleTextEditorMessage"] ?? null), "currentTemplate-advanced-editor-hide");
echo "
";
// line 141
ob_start(function () { return ''; });
// line 142
echo " ";
echo __("Enter the text to display. The red rectangle reflects the size of the region you are editing.");
// line 143
echo " ";
echo __("Shift+Enter will drop a single line. Enter alone starts a new paragraph.");
// line 144
echo " ";
$context["simpleTextEditorMessage2"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 145
echo " ";
echo $context["forms"]->getmessage(($context["simpleTextEditorMessage2"] ?? null), "currentTemplate-advanced-editor-show");
echo "
";
// line 148
ob_start(function () { return ''; });
echo __("Enter the template for the current forecast. For a list of substitutions click Get Forecast below.");
$context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 149
echo " ";
echo $context["forms"]->gettextarea("currentTemplate", "", $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "currentTemplate"], "method"), ($context["helpText"] ?? null), "template-override-controls", "required", 10);
echo "
";
// line 154
echo __("Daily Forecast Template");
echo "
getAttribute(($context["module"] ?? null), "getOption", [0 => "dailyTemplate_advanced", 1 => 0], "method") == 1)) {
echo "checked";
}
echo "
data-size=\"small\"
data-label-text=\"";
// line 157
echo __("Visual editor");
echo "\"
data-label-width=\"80px\"
data-on-text=\"";
// line 159
echo __("On");
echo "\"
data-off-text=\"";
// line 160
echo __("Off");
echo "\">
";
// line 164
ob_start(function () { return ''; });
// line 165
echo " ";
echo __("Enter text or HTML in the box below.");
echo "
";
$context["simpleTextEditorMessage"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 167
echo " ";
echo $context["forms"]->getmessage(($context["simpleTextEditorMessage"] ?? null), "dailyTemplate-advanced-editor-hide");
echo "
";
// line 169
ob_start(function () { return ''; });
// line 170
echo " ";
echo __("Enter the text to display. The red rectangle reflects the size of the region you are editing.");
// line 171
echo " ";
echo __("Shift+Enter will drop a single line. Enter alone starts a new paragraph.");
// line 172
echo " ";
$context["simpleTextEditorMessage2"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 173
echo " ";
echo $context["forms"]->getmessage(($context["simpleTextEditorMessage2"] ?? null), "dailyTemplate-advanced-editor-show");
echo "
";
// line 176
ob_start(function () { return ''; });
echo __("Enter the template for the daily forecast. Replaces [dailyForecast] in main template.");
$context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 177
echo " ";
echo $context["forms"]->gettextarea("dailyTemplate", "", $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "dailyTemplate"], "method"), ($context["helpText"] ?? null), "template-override-controls", "", 10);
echo "
";
// line 182
echo __("CSS Style Sheet");
echo "
";
// line 185
ob_start(function () { return ''; });
echo __("Enter a CSS style sheet to style the weather widget");
$context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 186
echo " ";
echo $context["forms"]->gettextarea("styleSheet", "", $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "styleSheet"], "method"), ($context["helpText"] ?? null), "template-override-controls", "required", 10);
echo "
";
// line 191
echo __("Optional JavaScript");
echo "
";
// line 194
echo $context["forms"]->gettextarea("javaScript", "", $this->getAttribute(($context["module"] ?? null), "getRawNode", [0 => "javaScript"], "method"), "", "", "", 10);
echo "
";
// line 198
ob_start(function () { return ''; });
echo __("Update Interval (mins)");
$context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 199
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 200
echo " ";
echo $context["forms"]->getnumber("updateInterval", ($context["title"] ?? null), $this->getAttribute(($context["module"] ?? null), "getOption", [0 => "updateInterval", 1 => 60], "method"), ($context["helpText"] ?? null), "", "required");
echo "
";
// line 204
ob_start(function () { return ''; });
echo __("Please press Get Forecast");
$context["message"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 205
echo " ";
echo $context["forms"]->getmessage(($context["message"] ?? null));
echo "
";
// line 209
if ((($this->getAttribute(($context["module"] ?? null), "getSetting", [0 => "apiKey"], "method") == "") && ($this->getAttribute(($context["module"] ?? null), "getSetting", [0 => "owmApiKey"], "method") == ""))) {
// line 210
echo " ";
ob_start(function () { return ''; });
echo __("The Weather Widget has not been configured yet, please ask your CMS Administrator to look at it for you.");
$context["message"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 211
echo " ";
echo $context["forms"]->getmessage(($context["message"] ?? null), "alert alert-danger");
echo "
";
}
// line 213
echo "