parent = false; $this->blocks = array( ); } protected function doDisplay(array $context, array $blocks = array()) { // line 1 $context["gumroad_loaded"] = false; // line 2 echo "
"; // line 3 if (($context["installing"] ?? null)) { // line 4 echo " "; $this->loadTemplate("partials/release-toggle.html.twig", "partials/plugins-list.html.twig", 4)->display($context); } // line 6 $this->loadTemplate("partials/list-sort.html.twig", "partials/plugins-list.html.twig", 6)->display(array_merge($context, array("list_view" => "plugins"))); // line 7 echo "env, $this->getAttribute($context["plugin"], "icon", array()), "html", null, true); echo "\"> env, ($context["base_url_relative"] ?? null), "html", null, true); echo "/plugins/"; echo twig_escape_filter($this->env, twig_urlencode_filter($context["slug"]), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, $this->getAttribute($context["plugin"], "name", array()), "html", null, true); echo " "; // line 26 if ($this->getAttribute(($context["admin"] ?? null), "isTeamGrav", array(0 => $context["plugin"]), "method")) { // line 27 echo " env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.GRAV_OFFICIAL_PLUGIN"), "html", null, true); echo "\"> "; } // line 29 echo " "; if ($this->getAttribute(($context["admin"] ?? null), "isPremiumProduct", array(0 => $context["plugin"]), "method")) { // line 30 echo " "; if ( !($context["gumroad_loaded"] ?? null)) { // line 31 echo " "; $context["gumroad_loaded"] = true; // line 32 echo " "; } // line 34 echo " "; echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.PREMIUM_PRODUCT"), "html", null, true); echo " "; } // line 36 echo " "; if ($this->getAttribute($context["plugin"], "symlink", array())) { // line 37 echo " env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.PLUGIN_SYMBOLICALLY_LINKED"), "html", null, true); echo "\"> "; } // line 41 echo " v"; echo twig_escape_filter($this->env, $this->getAttribute($context["plugin"], "version", array()), "html", null, true); echo " "; // line 42 if (($context["isTestingRelease"] ?? null)) { echo "test release"; } // line 43 echo " | "; // line 45 if (( !($context["installing"] ?? null) && (($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($context["plugin"], "form", array()), "fields", array()), "enabled", array()), "type", array()) != "hidden") && ($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute($context["plugin"], "form", array()), "fields", array()), "tabs", array()), "fields", array()), "login", array()), "fields", array()), "enabled", array()), "type", array()) != "hidden")))) { // line 46 echo " getAttribute(($context["data"] ?? null), "get", array(0 => "enabled"), "method")) ? ("enabled") : ("disabled")); echo "\" href=\""; echo twig_escape_filter($this->env, $this->getAttribute(($context["uri"] ?? null), "addNonce", array(0 => (((((($context["base_url_relative"] ?? null) . "/plugins/") . $context["slug"]) . "/task") . $this->getAttribute($this->getAttribute(($context["config"] ?? null), "system", array()), "param_sep", array())) . (($this->getAttribute(($context["data"] ?? null), "get", array(0 => "enabled"), "method")) ? ("disable") : ("enable"))), 1 => "admin-form", 2 => "admin-nonce"), "method"), "html", null, true); echo "\"> getAttribute(($context["data"] ?? null), "get", array(0 => "enabled"), "method")) ? ("on") : ("off")); echo "\"> "; } elseif ( // line 49 ($context["installing"] ?? null)) { // line 50 echo " "; if (($this->getAttribute($context["plugin"], "premium", array()) && !$this->getAttribute(($context["admin"] ?? null), "license", array(0 => $this->getAttribute($context["plugin"], "slug", array())), "method"))) { // line 51 echo " "; if ( !($context["gumroad_loaded"] ?? null)) { // line 52 echo " "; $context["gumroad_loaded"] = true; // line 53 echo " "; } // line 55 echo " env, $this->getAttribute($this->getAttribute($context["plugin"], "premium", array()), "product_permalink", array()), "html", null, true); echo "\" target=\"_blank\" data-gumroad-single-product=\"true\"> "; echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("Buy Now"), "html", null, true); echo " "; } else { // line 57 echo " env, $this->getAttribute($context["plugin"], "slug", array()), "html", null, true); echo "\" data-plugin-action=\"start-package-installation\"> "; echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.INSTALL"), "html", null, true); echo " "; } // line 59 echo " "; } // line 60 echo " |
";
// line 64
$this->loadTemplate("partials/plugin-data.html.twig", "partials/plugins-list.html.twig", 64)->display(array_merge($context, array("plugin" => $context["plugin"])));
// line 65
echo "
|
"; echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.OFFLINE_WARNING"), "html", null, true); echo " |
{{ plugin.name }} {% if admin.isTeamGrav(plugin) %} {% endif %} {% if admin.isPremiumProduct(plugin) %} {% if not gumroad_loaded %} {% set gumroad_loaded = true %} {% endif %} {{ \"PLUGIN_ADMIN.PREMIUM_PRODUCT\"|tu }} {% endif %} {% if plugin.symlink %} {% endif %} v{{ plugin.version }} {% if isTestingRelease %}test release{% endif %} | {% if (not installing and (plugin.form.fields.enabled.type != 'hidden' and plugin.form.fields.tabs.fields.login.fields.enabled.type != 'hidden')) %} {% elseif (installing) %} {% if (plugin.premium and not admin.license(plugin.slug)) %} {% if not gumroad_loaded %} {% set gumroad_loaded = true %} {% endif %} {{ \"Buy Now\"|tu }} {% else %} {{ \"PLUGIN_ADMIN.INSTALL\"|tu }} {% endif %} {% endif %} |
{% include 'partials/plugin-data.html.twig' with { plugin: plugin } %}
|
{{ \"PLUGIN_ADMIN.OFFLINE_WARNING\"|tu }} |