source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ 'title' => [$this, 'block_title'], ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 yield "

"; // line 3 yield PhpMyAdmin\Html\Generator::getImage("b_import", _gettext("Import")); yield " "; // line 4 yield from $this->unwrap()->yieldBlock('title', $context, $blocks); // line 5 yield "

"; // line 7 yield ($context["page_settings_error_html"] ?? null); yield " "; // line 8 yield ($context["page_settings_html"] ?? null); yield "
env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("ajax_clock_small.gif"), "html", null, true); yield "\" width=\"16\" height=\"16\" alt=\"ajax clock\" class=\"hide\">
"; // line 23 yield PhpMyAdmin\Url::getHiddenInputs(($context["hidden_inputs"] ?? null)); yield "
"; yield _gettext("File to import:"); // line 26 yield "
"; // line 29 yield " "; if ( !Twig\Extension\CoreExtension::testEmpty(($context["compressions"] ?? null))) { // line 30 yield "

"; // line 31 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf(_gettext("File may be compressed (%s) or uncompressed."), Twig\Extension\CoreExtension::join(($context["compressions"] ?? null), ", ")), "html", null, true); yield "
"; yield _gettext("A compressed file's name must end in .[format].[compression]. Example: .sql.zip"); // line 33 yield "

"; } // line 35 yield " "; // line 36 if ((($context["is_upload"] ?? null) && !Twig\Extension\CoreExtension::testEmpty(($context["upload_dir"] ?? null)))) { // line 37 yield " "; $context["use_local_file_import"] = ( !Twig\Extension\CoreExtension::testEmpty(($context["timeout_passed_global"] ?? null)) && !Twig\Extension\CoreExtension::testEmpty(($context["local_import_file"] ?? null))); // line 38 yield "
env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["max_upload_size"] ?? null), "html", null, true); yield "\">

"; yield _gettext("You may also drag and drop a file on any page."); // line 55 yield "

"; // line 59 if ((($context["local_files"] ?? null) === false)) { // line 60 yield " "; yield $this->env->getFilter('error')->getCallable()(_gettext("The directory you set for upload work cannot be reached.")); yield " "; } elseif ( !Twig\Extension\CoreExtension::testEmpty( // line 61 ($context["local_files"] ?? null))) { // line 62 yield " "; } else { // line 68 yield "
"; yield _gettext("There are no files to import!"); // line 70 yield "
"; } // line 72 yield "
"; } elseif ( // line 74 ($context["is_upload"] ?? null)) { // line 75 yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["max_upload_size"] ?? null), "html", null, true); yield "\">

"; yield _gettext("You may also drag and drop a file on any page."); // line 82 yield "

"; } elseif ( !Twig\Extension\CoreExtension::testEmpty( // line 83 ($context["upload_dir"] ?? null))) { // line 84 yield " "; if ((($context["local_files"] ?? null) === false)) { // line 85 yield " "; yield $this->env->getFilter('error')->getCallable()(_gettext("The directory you set for upload work cannot be reached.")); yield " "; } elseif ( !Twig\Extension\CoreExtension::testEmpty( // line 86 ($context["local_files"] ?? null))) { // line 87 yield "
"; } else { // line 95 yield "
"; yield _gettext("There are no files to import!"); // line 97 yield "
"; } // line 99 yield " "; } else { // line 100 yield " "; yield $this->env->getFilter('notice')->getCallable()(_gettext("File uploads are not allowed on this server.")); yield " "; } // line 102 yield " "; // line 104 if (($context["is_encoding_supported"] ?? null)) { // line 105 yield " "; } else { // line 113 yield " "; } // line 122 yield "
"; yield _gettext("Partial import:"); // line 126 yield "
"; // line 128 if ((array_key_exists("timeout_passed", $context) && ($context["timeout_passed"] ?? null))) { // line 129 yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["offset"] ?? null), "html", null, true); yield "\">
"; // line 131 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf(_gettext("Previous import timed out, after resubmitting will continue from position %d."), ($context["offset"] ?? null)), "html", null, true); yield "
"; } // line 134 yield "
"; yield _gettext("This might be a good way to import large files, however it can break transactions."); // line 140 yield "
"; // line 143 if ( !(array_key_exists("timeout_passed", $context) && ($context["timeout_passed"] ?? null))) { // line 144 yield " "; } else { // line 147 yield " "; // line 148 yield " "; } // line 150 yield "
"; yield _gettext("Other options"); // line 154 yield "
"; yield _gettext("Format"); // line 165 yield "
"; // line 173 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["plugins_choice"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["option"]) { // line 174 yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 174), "html", null, true); yield "\" value=\"true\"> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 176 yield "
"; yield _gettext("Format-specific options:"); // line 182 yield "
"; // line 184 yield ($context["options"] ?? null); yield "
"; // line 189 yield " "; if (($context["can_convert_kanji"] ?? null)) { // line 190 yield "
"; yield _gettext("Encoding Conversion:"); // line 191 yield "
"; // line 193 yield from $this->loadTemplate("encoding/kanji_encoding_form.twig", "import.twig", 193)->unwrap()->yield($context); // line 194 yield "
"; } // line 197 yield "
"; return; yield ''; } // line 4 public function block_title($context, array $blocks = []) { $macros = $this->macros; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "import.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 529 => 4, 519 => 199, 514 => 197, 509 => 194, 507 => 193, 503 => 191, 499 => 190, 496 => 189, 489 => 184, 485 => 182, 476 => 176, 467 => 174, 463 => 173, 459 => 171, 446 => 169, 442 => 168, 439 => 167, 434 => 165, 425 => 159, 420 => 158, 414 => 154, 407 => 150, 401 => 148, 399 => 147, 394 => 145, 389 => 144, 387 => 143, 382 => 140, 378 => 139, 372 => 136, 368 => 134, 362 => 131, 356 => 129, 354 => 128, 350 => 126, 343 => 122, 339 => 120, 332 => 118, 330 => 117, 322 => 116, 318 => 115, 314 => 113, 310 => 111, 303 => 109, 301 => 108, 293 => 107, 289 => 106, 286 => 105, 284 => 104, 281 => 103, 277 => 102, 271 => 100, 268 => 99, 264 => 97, 260 => 95, 253 => 91, 247 => 88, 244 => 87, 242 => 86, 237 => 85, 234 => 84, 232 => 83, 229 => 82, 219 => 77, 212 => 75, 210 => 74, 206 => 72, 202 => 70, 198 => 68, 192 => 65, 185 => 62, 183 => 61, 178 => 60, 176 => 59, 172 => 58, 167 => 55, 157 => 50, 151 => 48, 147 => 47, 136 => 43, 126 => 40, 122 => 38, 119 => 37, 117 => 36, 114 => 35, 110 => 33, 105 => 31, 102 => 30, 99 => 29, 95 => 26, 88 => 23, 82 => 22, 79 => 21, 74 => 18, 72 => 17, 65 => 13, 57 => 8, 53 => 7, 49 => 5, 47 => 4, 43 => 3, 39 => 1,); } public function getSourceContext() { return new Source("", "import.twig", "/home/suvo/web/pg.ns77.siliconpin.com/public_html/pma/templates/import.twig"); } }