/home/techb158/tmp/pma_template_compiles_techb158/twig/a2
NameSizeModeActions
a2cb022e2df23f11d5c31c5a09eda215.php27770644editdlrm
a280cf7672717979d62ee395d18cdfa0.php144410644editdlrm
a2734b8e97451081424e32730b9ed53a.php146560644editdlrm
Edit: /home/techb158/tmp/pma_template_compiles_techb158/twig/a2/a280cf7672717979d62ee395d18cdfa0.php (14441B)
source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 yield "

"; // line 3 yield PhpMyAdmin\Html\Generator::getIcon("b_events", _gettext("Events")); yield " "; // line 4 yield PhpMyAdmin\Html\MySQLDocumentation::show("EVENTS"); yield "

"; // line 8 if ( !Twig\Extension\CoreExtension::testEmpty(($context["items"] ?? null))) { // line 9 yield "
"; } // line 26 yield " ($context["db"] ?? null), "add_item" => true]); yield "\" role=\"button\""; yield (( !($context["has_privilege"] ?? null)) ? (" tabindex=\"-1\" aria-disabled=\"true\"") : ("")); yield "> "; // line 29 yield PhpMyAdmin\Html\Generator::getIcon("b_event_add", _gettext("Create new event")); yield "
"; // line 35 yield PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null)); yield "
"; // line 38 yield $this->env->getFilter('notice')->getCallable()(_gettext("There are no events to display.")); yield "
"; // line 52 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(range(0, 6)); foreach ($context['_seq'] as $context["_key"] => $context["i"]) { yield ""; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; yield " "; // line 54 $context['_parent'] = $context; $context['_seq'] = CoreExtension::ensureTraversable(($context["items"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["event"]) { // line 55 yield " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['event'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 109 yield "
"; yield _gettext("Name"); // line 45 yield " "; yield _gettext("Status"); // line 46 yield " "; yield _gettext("Type"); // line 47 yield "
env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["event"], "name", [], "any", false, false, false, 57), "html", null, true); yield "\"> "; // line 60 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf("DROP EVENT IF EXISTS %s", PhpMyAdmin\Util::backquote(CoreExtension::getAttribute($this->env, $this->source, $context["event"], "name", [], "any", false, false, false, 60))), "html", null, true); yield " "; // line 61 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["event"], "name", [], "any", false, false, false, 61), "html", null, true); yield " "; // line 64 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["event"], "status", [], "any", false, false, false, 64), "html", null, true); yield " "; // line 67 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["event"], "type", [], "any", false, false, false, 67), "html", null, true); yield " "; // line 70 if (($context["has_privilege"] ?? null)) { // line 71 yield " // line 72 ($context["db"] ?? null), "edit_item" => true, "item_name" => CoreExtension::getAttribute($this->env, $this->source, // line 74 $context["event"], "name", [], "any", false, false, false, 74)]); // line 75 yield "\"> "; // line 76 yield PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit")); yield " "; } else { // line 79 yield " "; yield PhpMyAdmin\Html\Generator::getIcon("bd_edit", _gettext("Edit")); yield " "; } // line 81 yield " // line 84 ($context["db"] ?? null), "export_item" => true, "item_name" => CoreExtension::getAttribute($this->env, $this->source, // line 86 $context["event"], "name", [], "any", false, false, false, 86)]); // line 87 yield "\"> "; // line 88 yield PhpMyAdmin\Html\Generator::getIcon("b_export", _gettext("Export")); yield " "; // line 92 if (($context["has_privilege"] ?? null)) { // line 93 yield " "; yield PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/sql"), ["db" => // line 96 ($context["db"] ?? null), "sql_query" => Twig\Extension\CoreExtension::sprintf("DROP EVENT IF EXISTS %s", PhpMyAdmin\Util::backquote(CoreExtension::getAttribute($this->env, $this->source, // line 97 $context["event"], "name", [], "any", false, false, false, 97))), "goto" => PhpMyAdmin\Url::getFromRoute("/database/events", ["db" => // line 98 ($context["db"] ?? null)])], PhpMyAdmin\Html\Generator::getIcon("b_drop", _gettext("Drop")), ["class" => "ajax drop_anchor"]); // line 102 yield " "; } else { // line 104 yield " "; yield PhpMyAdmin\Html\Generator::getIcon("bd_drop", _gettext("Drop")); yield " "; } // line 106 yield "
"; yield _gettext("Event scheduler status"); // line 114 yield "
env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath((("toggle-" . ($context["text_dir"] ?? null)) . ".png")), "html", null, true); yield "\">
"; // line 126 yield PhpMyAdmin\Url::getFromRoute("/sql", ["db" => // line 127 ($context["db"] ?? null), "goto" => PhpMyAdmin\Url::getFromRoute("/database/events", ["db" => // line 128 ($context["db"] ?? null)]), "sql_query" => "SET GLOBAL event_scheduler=\"ON\""]); // line 131 yield "
"; yield _gettext("ON"); // line 132 yield "
 
"; // line 137 yield PhpMyAdmin\Url::getFromRoute("/sql", ["db" => // line 138 ($context["db"] ?? null), "goto" => PhpMyAdmin\Url::getFromRoute("/database/events", ["db" => // line 139 ($context["db"] ?? null)]), "sql_query" => "SET GLOBAL event_scheduler=\"OFF\""]); // line 142 yield "
"; yield _gettext("OFF"); // line 143 yield "
Functions.slidingMessage(data.sql_query); "; // line 149 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["text_dir"] ?? null), "html", null, true); yield "
"; return; yield ''; } /** * @codeCoverageIgnore */ public function getTemplateName() { return "database/events/index.twig"; } /** * @codeCoverageIgnore */ public function isTraitable() { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo() { return array ( 327 => 149, 319 => 143, 315 => 142, 313 => 139, 312 => 138, 311 => 137, 305 => 132, 301 => 131, 299 => 128, 298 => 127, 297 => 126, 289 => 120, 284 => 119, 276 => 114, 268 => 109, 260 => 106, 254 => 104, 250 => 102, 248 => 98, 247 => 97, 246 => 96, 244 => 93, 242 => 92, 235 => 88, 232 => 87, 230 => 86, 229 => 84, 228 => 83, 224 => 81, 218 => 79, 212 => 76, 209 => 75, 207 => 74, 206 => 72, 204 => 71, 202 => 70, 196 => 67, 190 => 64, 184 => 61, 180 => 60, 174 => 57, 168 => 55, 164 => 54, 152 => 52, 145 => 47, 141 => 46, 137 => 45, 129 => 41, 123 => 38, 119 => 37, 114 => 35, 110 => 34, 102 => 29, 94 => 28, 90 => 27, 87 => 26, 80 => 21, 77 => 20, 71 => 18, 68 => 17, 62 => 14, 54 => 9, 52 => 8, 46 => 4, 42 => 3, 38 => 1,); } public function getSourceContext() { return new Source("", "database/events/index.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/events/index.twig"); } }