D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
mihaidwf
/
tmp
/
pma_template_compiles_mihaidwf
/
twig
/
2c
/
Filename :
2c76ec76efbe139cac73bc8c6d7b4847.php
back
Copy
<?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; /* table/find_replace/replace_preview.twig */ class __TwigTemplate_2543f7ee2cc8ea5c164dc9e9b8bc6267 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 method=\"post\" action=\""; yield PhpMyAdmin\Url::getFromRoute("/table/find-replace"); yield "\"> "; // line 2 yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null)); yield " <input type=\"hidden\" name=\"replace\" value=\"true\"> <input type=\"hidden\" name=\"columnIndex\" value=\""; // line 4 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["column_index"] ?? null), "html", null, true); yield "\"> <input type=\"hidden\" name=\"findString\" value=\""; // line 5 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["find"] ?? null), "html", null, true); yield "\"> <input type=\"hidden\" name=\"replaceWith\" value=\""; // line 6 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["replace_with"] ?? null), "html", null, true); yield "\"> <input type=\"hidden\" name=\"useRegex\" value=\""; // line 7 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["use_regex"] ?? null), "html", null, true); yield "\"> <div class=\"card\"> <div class=\"card-header\">"; yield _gettext("Find and replace - preview"); // line 10 yield "</div> <div class=\"card-body\"> <table class=\"table table-striped w-auto\"> <thead> <tr> <th>"; yield _gettext("Count"); // line 16 yield "</th> <th>"; yield _gettext("Original string"); // line 17 yield "</th> <th>"; yield _gettext("Replaced string"); // line 18 yield "</th> </tr> </thead> <tbody> "; // line 22 if (is_iterable(($context["result"] ?? null))) { // line 23 yield " "; $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["result"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["row"]) { // line 24 yield " <tr> <td class=\"text-end\">"; // line 25 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_0 = $context["row"]) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[2] ?? null) : null), "html", null, true); yield "</td> <td>"; // line 26 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_1 = $context["row"]) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[0] ?? null) : null), "html", null, true); yield "</td> <td>"; // line 27 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($__internal_compile_2 = $context["row"]) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2[1] ?? null) : null), "html", null, true); yield "</td> </tr> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 30 yield " "; } // line 31 yield " </tbody> </table> </div> <div class=\"card-footer\"> <input class=\"btn btn-secondary\" type=\"submit\" name=\"replace\" value=\""; yield _gettext("Replace"); // line 36 yield "\"> </div> </div> </form> "; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "table/find_replace/replace_preview.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 128 => 36, 120 => 31, 117 => 30, 108 => 27, 104 => 26, 100 => 25, 97 => 24, 92 => 23, 90 => 22, 84 => 18, 80 => 17, 76 => 16, 67 => 10, 60 => 7, 56 => 6, 52 => 5, 48 => 4, 43 => 2, 38 => 1,); } public function getSourceContext() { return new Source("", "table/find_replace/replace_preview.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/find_replace/replace_preview.twig"); } }