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 ob_start(function () { return ''; }); // line 61 echo " "; echo _gettext("@SERVER@ will become the server name and @DATABASE@ will become the database name."); $context["filename_hint"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 1 $this->parent = $this->loadTemplate("export.twig", "database/export/index.twig", 1); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 3 public function block_title($context, array $blocks = []) { $macros = $this->macros; // line 4 echo " "; if ((($context["export_type"] ?? null) == "raw")) { // line 5 echo " "; // l10n: A query that the user has written freely echo _gettext("Exporting a raw query"); // line 6 echo " "; } else { // line 7 echo " "; echo twig_escape_filter($this->env, twig_sprintf(_gettext("Exporting tables from \"%s\" database"), ($context["db"] ?? null)), "html", null, true); echo " "; } } // line 11 public function block_selection_options($context, array $blocks = []) { $macros = $this->macros; // line 12 echo " "; if ((($context["export_type"] ?? null) != "raw")) { // line 13 echo "
"; echo _gettext("Tables"); // line 22 echo " | "; echo _gettext("Structure"); // line 23 echo " | "; echo _gettext("Data"); // line 24 echo " | |
---|---|---|---|
"; echo _gettext("Select all"); // line 28 echo " | |||
env, twig_get_attribute($this->env, $this->source, $context["each_table"], "name", [], "any", false, false, false, 42), "html", null, true); echo "\""; echo ((twig_get_attribute($this->env, $this->source, $context["each_table"], "is_checked_select", [], "any", false, false, false, 42)) ? (" checked") : ("")); echo "> | "; // line 44 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["each_table"], "name", [], "any", false, false, false, 44), "html", null, true); echo " | env, twig_get_attribute($this->env, $this->source, $context["each_table"], "name", [], "any", false, false, false, 46), "html", null, true); echo "\""; echo ((twig_get_attribute($this->env, $this->source, $context["each_table"], "is_checked_structure", [], "any", false, false, false, 46)) ? (" checked") : ("")); echo "> | env, twig_get_attribute($this->env, $this->source, $context["each_table"], "name", [], "any", false, false, false, 49), "html", null, true); echo "\""; echo ((twig_get_attribute($this->env, $this->source, $context["each_table"], "is_checked_data", [], "any", false, false, false, 49)) ? (" checked") : ("")); echo "> |