From 27dde88e15d9b978197653b4daa1264b25105660 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Wed, 16 Nov 2011 16:01:02 +1100 Subject: Added config option to automatically remove unnecessary whitespace when compiling HTML files from templates --- .../cache/2d/97/4182d37fe12d97825850a1268803.php | 440 +++++++++++++++++++++ 1 file changed, 440 insertions(+) create mode 100644 templates/cache/2d/97/4182d37fe12d97825850a1268803.php (limited to 'templates/cache/2d') diff --git a/templates/cache/2d/97/4182d37fe12d97825850a1268803.php b/templates/cache/2d/97/4182d37fe12d97825850a1268803.php new file mode 100644 index 00000000..1341d271 --- /dev/null +++ b/templates/cache/2d/97/4182d37fe12d97825850a1268803.php @@ -0,0 +1,440 @@ +env->getGlobals(), $context); + + // line 1 + echo " + + +\tgetAttribute($this->getContext($context, 'config'), "url_stylesheet", array(), "any", false); + echo "\" /> +\t"; + // line 5 + if ($this->getAttribute($this->getContext($context, 'config'), "url_favicon", array(), "any", false)) { + echo "getAttribute($this->getContext($context, 'config'), "url_favicon", array(), "any", false); + echo "\" />"; + } + // line 6 + echo "\t"; + echo $this->getAttribute($this->getContext($context, 'board'), "url", array(), "any", false); + echo " - "; + echo $this->getAttribute($this->getContext($context, 'board'), "name", array(), "any", false); + echo " +\t +\t +\t"; + // line 9 + if ($this->getAttribute($this->getContext($context, 'config'), "meta_keywords", array(), "any", false)) { + echo "getAttribute($this->getContext($context, 'config'), "meta_keywords", array(), "any", false); + echo "\" />"; + } + // line 10 + echo "\tgetAttribute($this->getContext($context, 'config'), "uri_stylesheets", array(), "any", false); + echo $this->getAttribute($this->getAttribute($this->getContext($context, 'config'), "default_stylesheet", array(), "any", false), 1, array(), "any", false); + echo "\" /> +\t +\t"; + // line 12 + if ($this->getAttribute($this->getContext($context, 'config'), "recaptcha", array(), "any", false)) { + echo ""; + } + // line 27 + echo " +\t +\t"; + // line 29 + echo $this->getAttribute($this->getContext($context, 'boardlist'), "top", array(), "any", false); + echo " +\t"; + // line 30 + if ($this->getContext($context, 'pm')) { + echo "
You have getAttribute($this->getContext($context, 'pm'), "id", array(), "any", false); + echo "\">an unread PM"; + if (($this->getAttribute($this->getContext($context, 'pm'), "waiting", array(), "any", false) > 0)) { + echo ", plus "; + echo $this->getAttribute($this->getContext($context, 'pm'), "waiting", array(), "any", false); + echo " more waiting"; + } + echo ".

"; + } + // line 31 + echo "\t"; + if ($this->getAttribute($this->getContext($context, 'config'), "url_banner", array(), "any", false)) { + echo "getAttribute($this->getContext($context, 'config'), "url_banner", array(), "any", false); + echo "\" "; + if (($this->getAttribute($this->getContext($context, 'config'), "banner_width", array(), "any", false) || $this->getAttribute($this->getContext($context, 'config'), "banner_height", array(), "any", false))) { + echo "style=\""; + if ($this->getAttribute($this->getContext($context, 'config'), "banner_width", array(), "any", false)) { + echo "width:"; + echo $this->getAttribute($this->getContext($context, 'config'), "banner_width", array(), "any", false); + echo "px"; + } + echo ";"; + if ($this->getAttribute($this->getContext($context, 'config'), "banner_width", array(), "any", false)) { + echo "height:"; + echo $this->getAttribute($this->getContext($context, 'config'), "banner_height", array(), "any", false); + echo "px"; + } + echo "\" "; + } + echo "alt=\"\" />"; + } + // line 32 + echo "\t

"; + echo $this->getAttribute($this->getContext($context, 'board'), "url", array(), "any", false); + echo " - "; + echo $this->getAttribute($this->getContext($context, 'board'), "name", array(), "any", false); + echo "

+\t
"; + // line 33 + if ($this->getAttribute($this->getContext($context, 'board'), "title", array(), "any", false)) { + echo $this->getAttribute($this->getContext($context, 'board'), "title", array(), "any", false); + } + echo "

"; + if ($this->getContext($context, 'mod')) { + echo "Return to dashboard"; + } + echo "

+\t +\t +\t
getAttribute($this->getContext($context, 'config'), "post_url", array(), "any", false); + echo "\" method=\"post\"> +\t"; + // line 37 + echo $this->getContext($context, 'hidden_inputs'); + echo " +\tgetAttribute($this->getContext($context, 'board'), "uri", array(), "any", false); + echo "\" /> +\t"; + // line 39 + if ($this->getContext($context, 'mod')) { + echo ""; + } + // line 40 + echo "\t\t +\t\t\t +\t\t\t\t +\t\t\t\t +\t\t\t +\t\t\t +\t\t\t\t +\t\t\t\t +\t\t\t +\t\t\t +\t\t\t\t +\t\t\t\t +\t\t\t +\t\t\t +\t\t\t\t +\t\t\t\t +\t\t\t +\t\t\t"; + // line 74 + if ($this->getAttribute($this->getContext($context, 'config'), "recaptcha", array(), "any", false)) { + // line 75 + echo "\t\t\t +\t\t\t\t +\t\t\t\t +\t\t\t +\t\t\t"; + } + // line 84 + echo "\t\t\t +\t\t\t\t +\t\t\t\t +\t\t\t +\t\t\t"; + // line 92 + if ($this->getAttribute($this->getContext($context, 'config'), "enable_embedding", array(), "any", false)) { + // line 93 + echo "\t\t\t +\t\t\t\t +\t\t\t\t +\t\t\t +\t\t\t"; + } + // line 102 + echo "\t\t\t"; + if ($this->getContext($context, 'mod')) { + // line 103 + echo "\t\t\t +\t\t\t\t +\t\t\t\t +\t\t\t +\t\t\t"; + } + // line 123 + echo "\t\t\t +\t\t\t\t +\t\t\t\t +\t\t\t +\t\t
+\t\t\t\t\t"; + // line 43 + echo gettext("Name"); // line 44 + echo "\t\t\t\t +\t\t\t\t\t +\t\t\t\t
+\t\t\t\t\t"; + // line 51 + echo gettext("Email"); // line 52 + echo "\t\t\t\t +\t\t\t\t\t +\t\t\t\t
+\t\t\t\t\t"; + // line 59 + echo gettext("Subject"); // line 60 + echo "\t\t\t\t +\t\t\t\t\t +\t\t\t\t\tgetAttribute($this->getContext($context, 'config'), "button_newtopic", array(), "any", false); + echo "\" />"; + if ($this->getAttribute($this->getContext($context, 'config'), "spoiler_images", array(), "any", false)) { + echo " "; + } + // line 64 + echo "\t\t\t\t
+\t\t\t\t\t"; + // line 68 + echo gettext("Comment"); // line 69 + echo "\t\t\t\t +\t\t\t\t\t +\t\t\t\t
+\t\t\t\t\t"; + // line 77 + echo gettext("Verification"); // line 78 + echo "\t\t\t\t +\t\t\t\t\t +\t\t\t\t
+\t\t\t\t\t"; + // line 86 + echo gettext("File"); // line 87 + echo "\t\t\t\t +\t\t\t\t\t +\t\t\t\t
+\t\t\t\t\t"; + // line 95 + echo gettext("Embed"); // line 96 + echo "\t\t\t\t +\t\t\t\t\t +\t\t\t\t
+\t\t\t\t\t"; + // line 105 + echo gettext("Flags"); // line 106 + echo "\t\t\t\t +\t\t\t\t\t
+\t\t\t\t\t\t +\t\t\t\t\t\t
+\t\t\t\t\t
+\t\t\t\t\t
+\t\t\t\t\t\t
+\t\t\t\t\t\t +\t\t\t\t\t
+\t\t\t\t\t
+\t\t\t\t\t\t
+\t\t\t\t\t\t +\t\t\t\t\t
+\t\t\t\t
+\t\t\t\t\t"; + // line 125 + echo gettext("Password"); // line 126 + echo "\t\t\t\t +\t\t\t\t\t +\t\t\t\t\t"; + // line 129 + echo gettext("(For file deletion.)"); echo " +\t\t\t\t
+\t
+\t +\t +\t"; + // line 138 + if ($this->getAttribute($this->getContext($context, 'config'), "blotter", array(), "any", false)) { + echo "
"; + echo $this->getAttribute($this->getContext($context, 'config'), "blotter", array(), "any", false); + echo "
"; + } + // line 139 + echo "\t
+\t
getAttribute($this->getContext($context, 'config'), "post_url", array(), "any", false); + echo "\" method=\"post\"> +\tgetAttribute($this->getContext($context, 'board'), "uri", array(), "any", false); + echo "\" /> +\t"; + // line 142 + if ($this->getContext($context, 'mod')) { + echo ""; + } + // line 143 + echo "\t"; + echo $this->getContext($context, 'body'); + echo " +\t
+\t\t"; + // line 145 + echo gettext("Delete Post"); echo " [ +\t\t ] +\t\t\t +\t\t\t +\t
+\t
+\t\t +\t\t\t +\t\t\t +\t
+\t
+\t
"; + // line 156 + echo $this->getAttribute($this->getContext($context, 'btn'), "prev", array(), "any", false); + echo " "; + $context['_parent'] = (array) $context; + $context['_seq'] = twig_ensure_traversable($this->getContext($context, 'pages')); + $context['loop'] = array( + 'parent' => $context['_parent'], + 'index0' => 0, + 'index' => 1, + 'first' => true, + ); + if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) { + $length = count($context['_seq']); + $context['loop']['revindex0'] = $length - 1; + $context['loop']['revindex'] = $length; + $context['loop']['length'] = $length; + $context['loop']['last'] = 1 === $length; + } + foreach ($context['_seq'] as $context['_key'] => $context['page']) { + // line 157 + echo "\t\t[getAttribute($this->getContext($context, 'page'), "selected", array(), "any", false)) { + echo "class=\"selected\""; + } + if ((!$this->getAttribute($this->getContext($context, 'page'), "selected", array(), "any", false))) { + echo "href=\""; + echo $this->getAttribute($this->getContext($context, 'page'), "link", array(), "any", false); + echo "\""; + } + echo ">"; + echo $this->getAttribute($this->getContext($context, 'page'), "num", array(), "any", false); + echo "]"; + if ($this->getAttribute($this->getContext($context, 'loop'), "last", array(), "any", false)) { + echo " "; + } + // line 158 + echo "\t"; + ++$context['loop']['index0']; + ++$context['loop']['index']; + $context['loop']['first'] = false; + if (isset($context['loop']['length'])) { + --$context['loop']['revindex0']; + --$context['loop']['revindex']; + $context['loop']['last'] = 0 === $context['loop']['revindex0']; + } + } + $_parent = $context['_parent']; + unset($context['_seq'], $context['_iterated'], $context['_key'], $context['page'], $context['_parent'], $context['loop']); + $context = array_merge($_parent, array_intersect_key($context, $_parent)); + echo " "; + echo $this->getAttribute($this->getContext($context, 'btn'), "next", array(), "any", false); + echo "
+\t"; + // line 159 + echo $this->getAttribute($this->getContext($context, 'boardlist'), "bottom", array(), "any", false); + echo " +\t

Powered by Tinyboard "; + // line 160 + echo $this->getAttribute($this->getContext($context, 'config'), "version", array(), "any", false); + echo " | Tinyboard Copyright © 2010-2011 Tinyboard Development Group

+\t

All trademarks, copyrights, comments, and images on this page are owned by or are the responsibility of their respective parties.

+\t\t + + +"; + } + + public function getTemplateName() + { + return "index.html"; + } + + public function isTraitable() + { + return false; + } +} -- cgit v1.3