/home/techb158/tmp/pma_template_compiles_techb158/twig/bc
Edit: /home/techb158/tmp/pma_template_compiles_techb158/twig/bc/bcc9b80176c05a3fd2fa3c5412c6524a.php (8441B)
source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'selection_options' => [$this, 'block_selection_options'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "export.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 60
$context["filename_hint"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
// line 61
yield " ";
yield _gettext("@SERVER@ will become the server name and @DATABASE@ will become the database name.");
return; yield '';
})())) ? '' : new Markup($tmp, $this->env->getCharset());
// line 1
$this->parent = $this->loadTemplate("export.twig", "database/export/index.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
// line 4
yield " ";
if ((($context["export_type"] ?? null) == "raw")) {
// line 5
yield " ";
// l10n: A query that the user has written freely
yield _gettext("Exporting a raw query");
// line 6
yield " ";
} else {
// line 7
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf(_gettext("Exporting tables from \"%s\" database"), ($context["db"] ?? null)), "html", null, true);
yield "
";
}
return; yield '';
}
// line 11
public function block_selection_options($context, array $blocks = [])
{
$macros = $this->macros;
// line 12
yield " ";
if ((($context["export_type"] ?? null) != "raw")) {
// line 13
yield "
env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["structure_or_data_forced"] ?? null), "html", null, true);
yield "\">
|
";
yield _gettext("Tables");
// line 22
yield " |
";
yield _gettext("Structure");
// line 23
yield " |
";
yield _gettext("Data");
// line 24
yield " |
|
";
yield _gettext("Select all");
// line 28
yield " |
|
|
";
// line 39
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["tables"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["each_table"]) {
// line 40
yield "
|
env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["each_table"], "name", [], "any", false, false, false, 42), "html", null, true);
yield "\"";
yield ((CoreExtension::getAttribute($this->env, $this->source, $context["each_table"], "is_checked_select", [], "any", false, false, false, 42)) ? (" checked") : (""));
yield ">
|
";
// line 44
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["each_table"], "name", [], "any", false, false, false, 44), "html", null, true);
yield " |
env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["each_table"], "name", [], "any", false, false, false, 46), "html", null, true);
yield "\"";
yield ((CoreExtension::getAttribute($this->env, $this->source, $context["each_table"], "is_checked_structure", [], "any", false, false, false, 46)) ? (" checked") : (""));
yield ">
|
env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["each_table"], "name", [], "any", false, false, false, 49), "html", null, true);
yield "\"";
yield ((CoreExtension::getAttribute($this->env, $this->source, $context["each_table"], "is_checked_data", [], "any", false, false, false, 49)) ? (" checked") : (""));
yield ">
|
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['each_table'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 53
yield "
";
}
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "database/export/index.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 178 => 53, 166 => 49, 158 => 46, 153 => 44, 146 => 42, 142 => 40, 138 => 39, 130 => 33, 124 => 30, 119 => 28, 112 => 24, 108 => 23, 104 => 22, 94 => 16, 90 => 14, 86 => 13, 83 => 12, 79 => 11, 70 => 7, 67 => 6, 63 => 5, 60 => 4, 56 => 3, 51 => 1, 46 => 61, 44 => 60, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "database/export/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/export/index.twig");
}
}