PATH:
home
/
cf7x
/
tmp
/
pma_template_compiles_cf7x
/
twig
/
a7
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\CoreExtension; 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; /* database/structure/copy_form.twig */ class __TwigTemplate_0cc492727fb1c0c71ebe369cf4efbcb0 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 yield "<form id=\"ajax_form\" action=\""; yield PhpMyAdmin\Url::getFromRoute("/database/structure/copy-table"); yield "\" method=\"post\"> "; // line 2 yield PhpMyAdmin\Url::getHiddenInputs(($context["url_params"] ?? null)); yield " <fieldset class=\"pma-fieldset\"> <strong><label for=\"db_name_dropdown\">"; yield _gettext("Database:"); // line 5 yield "</label></strong> <select id=\"db_name_dropdown\" name=\"target_db\"> "; // line 7 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["options"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["each_db"]) { // line 8 yield " <option value=\""; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["each_db"], "name", [], "any", false, false, false, 8), "html", null, true); yield "\""; yield ((CoreExtension::getAttribute($this->env, $this->source, $context["each_db"], "is_selected", [], "any", false, false, false, 8)) ? (" selected") : ("")); yield ">"; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["each_db"], "name", [], "any", false, false, false, 8), "html", null, true); yield "</option> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['each_db'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 10 yield " </select> <br><br> <strong><label>"; yield _gettext("Options:"); // line 14 yield "</label></strong> <br> <input type=\"radio\" id=\"what_structure\" value=\"structure\" name=\"what\"> <label for=\"what_structure\">"; yield _gettext("Structure only"); // line 19 yield "</label> <br> <input type=\"radio\" id=\"what_data\" value=\"data\" name=\"what\" checked> <label for=\"what_data\">"; yield _gettext("Structure and data"); // line 24 yield "</label> <br> <input type=\"radio\" id=\"what_dataonly\" value=\"dataonly\" name=\"what\"> <label for=\"what_dataonly\">"; yield _gettext("Data only"); // line 29 yield "</label> <br><br> <input type=\"checkbox\" id=\"checkbox_drop\" value=\"true\" name=\"drop_if_exists\"> <label for=\"checkbox_drop\">"; yield _gettext("Add DROP TABLE"); // line 34 yield "</label> <br> <input type=\"checkbox\" id=\"checkbox_auto_increment_cp\" value=\"1\" name=\"sql_auto_increment\"> <label for=\"checkbox_auto_increment_cp\">"; yield _gettext("Add AUTO INCREMENT value"); // line 39 yield "</label> <br> <input type=\"checkbox\" id=\"checkbox_constraints\" value=\"1\" name=\"sql_auto_increment\" checked> <label for=\"checkbox_constraints\">"; yield _gettext("Add constraints"); // line 44 yield "</label> <br><br> <input type=\"checkbox\" name=\"adjust_privileges\" value=\"1\" id=\"checkbox_adjust_privileges\" checked> <label for=\"checkbox_adjust_privileges\"> "; yield _gettext("Adjust privileges"); // line 51 yield " "; yield PhpMyAdmin\Html\MySQLDocumentation::showDocumentation("faq", "faq6-39"); yield " </label> </fieldset> </form> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "database/structure/copy_form.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 135 => 51, 126 => 44, 118 => 39, 110 => 34, 102 => 29, 94 => 24, 86 => 19, 78 => 14, 71 => 10, 58 => 8, 54 => 7, 50 => 5, 43 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "database/structure/copy_form.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/copy_form.twig"); } }
[+]
..
[-] a770b4e2878e0ffe1c3cc3c693e8e55d.php
[open]