0byt3m1n1
Path:
/
home
/
mgatv524
/
www
/
midiatech
/
cache
/
98
/
[
Home
]
File: 9880f302f619dc54c04ef3e3cacfbd800f0beddbac0ba66c76ef8834d99c528e.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; /* applications-form-add-dooh.twig */ class __TwigTemplate_2b7327629961566b0be963efd22821b4973a071dd4bb878030b0bdeb6f3cafca 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 24 return "form-base.twig"; } protected function doDisplay(array $context, array $blocks = []) { // line 25 $context["forms"] = $this->loadTemplate("forms.twig", "applications-form-add-dooh.twig", 25)->unwrap(); // line 24 $this->parent = $this->loadTemplate("form-base.twig", "applications-form-add-dooh.twig", 24); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 27 public function block_formTitle($context, array $blocks = []) { // line 28 echo " "; echo __("Add Application for DOOH"); } // line 31 public function block_formButtons($context, array $blocks = []) { // line 32 echo " "; echo __("Cancel"); echo ", XiboDialogClose() "; // line 33 echo __("Help"); echo ", XiboHelpRender(\""; echo twig_escape_filter($this->env, ($context["help"] ?? null), "html", null, true); echo "\") "; // line 34 echo __("Save"); echo ", \$(\"#applicationAddFormSubmit\").submit() "; } // line 37 public function block_formHtml($context, array $blocks = []) { // line 38 echo " <div class=\"row\"> <div class=\"col-md-12\"> <form id=\"applicationAddFormSubmit\" class=\"XiboForm form-horizontal\" method=\"post\" action=\""; // line 40 echo twig_escape_filter($this->env, $this->env->getExtension('Slim\Views\TwigExtension')->urlFor("application.addDooh"), "html", null, true); echo "\"> "; // line 41 ob_start(function () { return ''; }); echo __("Application Name"); $context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 42 echo " "; echo $context["forms"]->getinput("name", ($context["title"] ?? null)); echo " "; // line 44 ob_start(function () { return ''; }); echo __("User"); $context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 45 echo " "; ob_start(function () { return ''; }); echo __("Please select your DOOH user"); $context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 46 echo " "; $context["attributes"] = [0 => ["name" => "data-search-url", "value" => $this->env->getExtension('Slim\Views\TwigExtension')->urlFor("user.search")], 1 => ["name" => "data-search-term", "value" => "userName"], 2 => ["name" => "data-id-property", "value" => "userId"], 3 => ["name" => "data-text-property", "value" => "userName"], 4 => ["name" => "data-filter-options", "value" => "{\"userTypeId\":\"4\"}"]]; // line 53 echo " "; echo $context["forms"]->getdropdown("userId", "single", ($context["title"] ?? null), "", ($context["users"] ?? null), "userId", "userName", ($context["helpText"] ?? null), "pagedSelect", "", "", "", ($context["attributes"] ?? null)); echo " </form> </div> </div> "; } public function getTemplateName() { return "applications-form-add-dooh.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 105 => 53, 102 => 46, 97 => 45, 93 => 44, 87 => 42, 83 => 41, 79 => 40, 75 => 38, 72 => 37, 66 => 34, 60 => 33, 55 => 32, 52 => 31, 47 => 28, 44 => 27, 39 => 24, 37 => 25, 31 => 24,); } /** @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("", "applications-form-add-dooh.twig", "/home/mgatv524/public_html/midiatech/views/applications-form-add-dooh.twig"); } }