parent = false; $this->blocks = array( 'head' => array($this, 'block_head'), 'stylesheets' => array($this, 'block_stylesheets'), 'javascripts' => array($this, 'block_javascripts'), 'body' => array($this, 'block_body'), 'page' => array($this, 'block_page'), 'navigation' => array($this, 'block_navigation'), 'titlebar' => array($this, 'block_titlebar'), 'content_wrapper' => array($this, 'block_content_wrapper'), 'messages' => array($this, 'block_messages'), 'widgets' => array($this, 'block_widgets'), 'content_top' => array($this, 'block_content_top'), 'content' => array($this, 'block_content'), 'content_bottom' => array($this, 'block_content_bottom'), 'footer' => array($this, 'block_footer'), 'modals' => array($this, 'block_modals'), 'bottom' => array($this, 'block_bottom'), ); } protected function doDisplay(array $context, array $blocks = array()) { // line 1 if (($this->getAttribute(($context["uri"] ?? null), "extension", array(), "method") == "json")) { $this->loadTemplate("default.json.twig", "partials/base-root.html.twig", 1)->display($context); } else { // line 2 echo " "; $context["icon_style"] = $this->getAttribute($this->getAttribute($this->getAttribute(($context["config"] ?? null), "plugins", array()), "admin", array()), "admin_icons", array()); // line 3 echo " "; // line 6 $this->displayBlock('head', $context, $blocks); // line 33 echo " "; // line 34 $this->displayBlock('body', $context, $blocks); // line 122 echo " "; } } // line 6 public function block_head($context, array $blocks = array()) { // line 7 echo " "; // line 8 if (($context["title"] ?? null)) { echo twig_escape_filter($this->env, ($context["title"] ?? null), "html", null, true); echo " | "; } else { if ($this->getAttribute(($context["header"] ?? null), "title", array())) { echo twig_escape_filter($this->env, $this->getAttribute(($context["header"] ?? null), "title", array()), "html", null, true); echo " | "; } } echo twig_escape_filter($this->env, $this->getAttribute(($context["site"] ?? null), "title", array()), "html", null, true); echo " "; // line 9 if ($this->getAttribute(($context["header"] ?? null), "description", array())) { // line 10 echo " env, $this->getAttribute(($context["header"] ?? null), "description", array()), "html", null, true); echo "\"> "; } else { // line 12 echo " env, $this->getAttribute(($context["site"] ?? null), "description", array()), "html", null, true); echo "\"> "; } // line 14 echo " "; if ($this->getAttribute(($context["header"] ?? null), "robots", array())) { // line 15 echo " env, $this->getAttribute(($context["header"] ?? null), "robots", array()), "html", null, true); echo "\"> "; } else { // line 17 echo " "; } // line 19 echo " env, ($context["base_url_simple"] ?? null), "html", null, true); echo twig_escape_filter($this->env, ($context["theme_url"] ?? null), "html", null, true); echo "/images/favicon.png\"> "; // line 22 $this->displayBlock('stylesheets', $context, $blocks); // line 26 echo " "; // line 27 $this->loadTemplate("partials/javascript-config.html.twig", "partials/base-root.html.twig", 27)->display($context); // line 28 echo " "; $this->displayBlock('javascripts', $context, $blocks); // line 32 echo " "; } // line 22 public function block_stylesheets($context, array $blocks = array()) { // line 23 echo " "; $this->loadTemplate("partials/stylesheets.html.twig", "partials/base-root.html.twig", 23)->display($context); // line 24 echo " "; echo $this->getAttribute(($context["assets"] ?? null), "css", array(), "method"); echo " "; } // line 28 public function block_javascripts($context, array $blocks = array()) { // line 29 echo " "; $this->loadTemplate("partials/javascripts.html.twig", "partials/base-root.html.twig", 29)->display($context); // line 30 echo " "; echo $this->getAttribute(($context["assets"] ?? null), "js", array(), "method"); echo " "; } // line 34 public function block_body($context, array $blocks = array()) { // line 35 echo " getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["config"] ?? null), "plugins", array()), "admin", array()), "sidebar", array()), "size", array()) == "small")) ? ("sidebar-closed") : ("")); echo " "; echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["config"] ?? null), "plugins", array()), "admin", array()), "body_classes", array()), "html", null, true); echo " "; echo twig_escape_filter($this->env, ($context["body_classes"] ?? null), "html", null, true); echo "\"> "; // line 36 $this->displayBlock('page', $context, $blocks); // line 117 echo " "; $this->displayBlock('bottom', $context, $blocks); // line 120 echo " "; } // line 36 public function block_page($context, array $blocks = array()) { // line 37 echo "
"; // line 39 $this->displayBlock('navigation', $context, $blocks); // line 42 echo "
"; // line 44 $this->loadTemplate("partials/nav-toggle.html.twig", "partials/base-root.html.twig", 44)->display($context); // line 45 echo "
"; // line 46 $this->displayBlock('titlebar', $context, $blocks); // line 47 echo "
"; // line 49 $this->displayBlock('content_wrapper', $context, $blocks); // line 75 echo " "; // line 76 $this->displayBlock('modals', $context, $blocks); // line 112 echo "
"; } // line 39 public function block_navigation($context, array $blocks = array()) { // line 40 echo " "; $this->loadTemplate("partials/nav.html.twig", "partials/base-root.html.twig", 40)->display($context); // line 41 echo " "; } // line 46 public function block_titlebar($context, array $blocks = array()) { } // line 49 public function block_content_wrapper($context, array $blocks = array()) { // line 50 echo "
getAttribute($this->getAttribute($this->getAttribute(($context["config"] ?? null), "plugins", array()), "admin", array()), "content_padding", array())) { echo "content-padding"; } echo "\"> "; // line 52 $this->displayBlock('messages', $context, $blocks); // line 55 echo " "; // line 56 $this->displayBlock('widgets', $context, $blocks); // line 57 echo "
"; // line 58 $this->displayBlock('content_top', $context, $blocks); // line 59 echo "
"; // line 60 $this->displayBlock('content', $context, $blocks); // line 61 echo "
"; // line 62 if ($this->getAttribute($this->getAttribute($this->getAttribute(($context["config"] ?? null), "plugins", array()), "admin", array()), "show_github_msg", array())) { // line 63 echo " "; } // line 65 echo " "; $this->displayBlock('content_bottom', $context, $blocks); // line 66 echo "
"; // line 67 $this->displayBlock('footer', $context, $blocks); // line 72 echo "
"; } // line 52 public function block_messages($context, array $blocks = array()) { // line 53 echo " "; $this->loadTemplate("partials/messages.html.twig", "partials/base-root.html.twig", 53)->display($context); // line 54 echo " "; } // line 56 public function block_widgets($context, array $blocks = array()) { } // line 58 public function block_content_top($context, array $blocks = array()) { } // line 60 public function block_content($context, array $blocks = array()) { } // line 65 public function block_content_bottom($context, array $blocks = array()) { } // line 67 public function block_footer($context, array $blocks = array()) { // line 68 echo " "; } // line 76 public function block_modals($context, array $blocks = array()) { // line 77 echo "

"; // line 79 echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.ERROR"), "html", null, true); echo "

"; // line 88 echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.METADATA"), "html", null, true); echo " for

"; // line 100 echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.MODAL_DELETE_FILE_CONFIRMATION_REQUIRED_TITLE"), "html", null, true); echo "

"; // line 102 echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.MODAL_DELETE_FILE_CONFIRMATION_REQUIRED_DESC"), "html", null, true); echo "


"; } // line 117 public function block_bottom($context, array $blocks = array()) { // line 118 echo " "; echo $this->getAttribute(($context["assets"] ?? null), "js", array(0 => "bottom"), "method"); echo " "; } public function getTemplateName() { return "partials/base-root.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 401 => 118, 398 => 117, 389 => 107, 385 => 106, 378 => 102, 373 => 100, 364 => 94, 355 => 88, 346 => 82, 340 => 79, 336 => 77, 333 => 76, 320 => 69, 317 => 68, 314 => 67, 309 => 65, 304 => 60, 299 => 58, 294 => 56, 290 => 54, 287 => 53, 284 => 52, 278 => 72, 276 => 67, 273 => 66, 270 => 65, 264 => 63, 262 => 62, 259 => 61, 257 => 60, 255 => 59, 253 => 58, 250 => 57, 248 => 56, 245 => 55, 243 => 52, 237 => 51, 234 => 50, 231 => 49, 226 => 46, 222 => 41, 219 => 40, 216 => 39, 208 => 112, 206 => 76, 203 => 75, 201 => 49, 197 => 47, 195 => 46, 192 => 45, 190 => 44, 186 => 42, 184 => 39, 180 => 37, 177 => 36, 172 => 120, 169 => 117, 167 => 36, 158 => 35, 155 => 34, 148 => 30, 145 => 29, 142 => 28, 135 => 24, 132 => 23, 129 => 22, 125 => 32, 122 => 28, 120 => 27, 117 => 26, 115 => 22, 109 => 20, 106 => 19, 102 => 17, 96 => 15, 93 => 14, 87 => 12, 81 => 10, 79 => 9, 66 => 8, 63 => 7, 60 => 6, 54 => 122, 52 => 34, 49 => 33, 47 => 6, 42 => 3, 39 => 2, 35 => 1,); } /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */ public function getSource() { @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED); return $this->getSourceContext()->getCode(); } public function getSourceContext() { return new Twig_Source("{% if uri.extension() == 'json' %}{% include 'default.json.twig' %}{% else %} {% set icon_style = config.plugins.admin.admin_icons %} {% block head %} {% if title %}{{ title }} | {% else %}{% if header.title %}{{ header.title }} | {% endif %}{% endif %}{{ site.title }} {% if header.description %} {% else %} {% endif %} {% if header.robots %} {% else %} {% endif %} {% block stylesheets %} {% include 'partials/stylesheets.html.twig' %} {{ assets.css()|raw }} {% endblock %} {% include 'partials/javascript-config.html.twig' %} {% block javascripts %} {% include 'partials/javascripts.html.twig' %} {{ assets.js()|raw }} {% endblock %} {% endblock %} {% block body %} {% block page %}
{% block navigation %} {% include 'partials/nav.html.twig' %} {% endblock %}
{% include 'partials/nav-toggle.html.twig' %}
{% block titlebar %}{% endblock %}
{% block content_wrapper %}
{% block messages %} {% include 'partials/messages.html.twig' %} {% endblock %} {% block widgets %}{% endblock %}
{% block content_top %}{% endblock %}
{%- block content %}{% endblock -%}
{% if config.plugins.admin.show_github_msg %} {% endif %} {% block content_bottom %}{% endblock %}
{% block footer %}
Grav v{{ constant('GRAV_VERSION') }} - Admin v{{ admin_version }} - {{ \"PLUGIN_ADMIN.WAS_MADE_WITH\"|tu|lower }} {{ \"PLUGIN_ADMIN.BY\"|tu|lower }} Trilby Media.
{% endblock %}
{% endblock %} {% block modals %}

{{ \"PLUGIN_ADMIN.ERROR\"|tu }}

{{ \"PLUGIN_ADMIN.METADATA\"|tu }} for

{{ \"PLUGIN_ADMIN.MODAL_DELETE_FILE_CONFIRMATION_REQUIRED_TITLE\"|tu }}

{{ \"PLUGIN_ADMIN.MODAL_DELETE_FILE_CONFIRMATION_REQUIRED_DESC\"|tu }}


{% endblock %}
{% endblock page %} {% block bottom %} {{ assets.js('bottom')|raw }} {% endblock %} {% endblock body %} {% endif %} ", "partials/base-root.html.twig", "/mnt/data/Sites/r2c.net/user/plugins/admin/themes/grav/templates/partials/base-root.html.twig"); } }