lainchan/templates/cache/2f/f3/d8c5835c9a421f76b4dec5f4cb41.php

385 lines
14 KiB
PHP
Raw Normal View History

<?php
/* thread.html */
class __TwigTemplate_2ff3d8c5835c9a421f76b4dec5f4cb41 extends Twig_Template
{
protected function doGetParent(array $context)
{
return false;
}
protected function doDisplay(array $context, array $blocks = array())
{
$context = array_merge($this->env->getGlobals(), $context);
// line 1
echo "<!DOCTYPE html>
<html>
<head>
\t<link rel=\"stylesheet\" media=\"screen\" href=\"";
// line 4
echo $this->getAttribute($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 "<link rel=\"shortcut icon\" href=\"";
echo $this->getAttribute($this->getContext($context, 'config'), "url_favicon", array(), "any", false);
echo "\" />";
}
// line 6
echo "\t<title>";
echo $this->getAttribute($this->getContext($context, 'board'), "url", array(), "any", false);
echo " - ";
echo $this->getAttribute($this->getContext($context, 'board'), "name", array(), "any", false);
echo "</title>
\t<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />
\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" />
\t";
// line 9
if ($this->getAttribute($this->getContext($context, 'config'), "meta_keywords", array(), "any", false)) {
echo "<meta name=\"keywords\" content=\"";
echo $this->getAttribute($this->getContext($context, 'config'), "meta_keywords", array(), "any", false);
echo "\" />";
}
// line 10
echo "\t<link rel=\"stylesheet\" type=\"text/css\" id=\"stylesheet\" href=\"";
echo $this->getAttribute($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<script type=\"text/javascript\" src=\"";
// line 11
echo $this->getAttribute($this->getContext($context, 'config'), "url_javascript", array(), "any", false);
echo "\"></script>
\t";
// line 12
if ($this->getAttribute($this->getContext($context, 'config'), "recaptcha", array(), "any", false)) {
echo "<style type=\"text/css\">";
echo "
\t\t.recaptcha_image_cell {
\t\t\tbackground: none !important;
\t\t}
\t\ttable.recaptchatable {
\t\t\tborder: none !important;
\t\t}
\t\t#recaptcha_logo, #recaptcha_tagline {
\t\t\tdisplay: none;
\t\t\tfloat: right;
\t\t}
\t\t.recaptchatable a {
\t\t\tdisplay: block;
\t\t}
\t";
// line 26
echo "</style>";
}
// line 27
echo "</head>
<body>
\t";
// line 29
echo $this->getAttribute($this->getContext($context, 'boardlist'), "top", array(), "any", false);
echo "
\t";
// line 30
if ($this->getContext($context, 'pm')) {
echo "<div class=\"top_notice\">You have <a href=\"?/PM/";
echo $this->getAttribute($this->getContext($context, 'pm'), "id", array(), "any", false);
echo "\">an unread PM</a>";
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 ".</div><hr />";
}
// line 31
echo "\t";
if ($this->getAttribute($this->getContext($context, 'config'), "url_banner", array(), "any", false)) {
echo "<img class=\"banner\" src=\"";
echo $this->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<h1>";
echo $this->getAttribute($this->getContext($context, 'board'), "url", array(), "any", false);
echo " - ";
echo $this->getAttribute($this->getContext($context, 'board'), "name", array(), "any", false);
echo "</h1>
\t<div class=\"title\">";
// 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 "<p>";
if ($this->getContext($context, 'mod')) {
echo "<a href=\"?/\">Return to dashboard</a>";
}
echo "</p></div>
\t
\t<div class=\"banner\">";
// line 35
echo gettext("Posting mode: Reply"); echo " <a rel=\"directory\" class=\"unimportant\" href=\"";
echo $this->getContext($context, 'return');
echo "\">[";
echo gettext("Return"); echo "]</a></div>
\t<form name=\"post\" onsubmit=\"return dopost(this);\" enctype=\"multipart/form-data\" action=\"";
// line 36
echo $this->getAttribute($this->getContext($context, 'config'), "post_url", array(), "any", false);
echo "\" method=\"post\">
\t";
// line 37
echo $this->getContext($context, 'hidden_inputs');
echo "
\t<input type=\"hidden\" name=\"thread\" value=\"";
// line 38
echo $this->getContext($context, 'id');
echo "\" />
\t<input type=\"hidden\" name=\"board\" value=\"";
// line 39
echo $this->getAttribute($this->getContext($context, 'board'), "uri", array(), "any", false);
echo "\" />
\t";
// line 40
if ($this->getContext($context, 'mod')) {
echo "<input type=\"hidden\" name=\"mod\" value=\"1\" />";
}
// line 41
echo "\t\t<table>
\t\t\t<tr>
\t\t\t\t<th>
\t\t\t\t\t";
// line 44
echo gettext("Name"); // line 45
echo "\t\t\t\t</th>
\t\t\t\t<td>
\t\t\t\t\t<input type=\"text\" name=\"name\" size=\"25\" maxlength=\"50\" autocomplete=\"off\" />
\t\t\t\t</td>
\t\t\t</tr>
\t\t\t<tr>
\t\t\t\t<th>
\t\t\t\t\t";
// line 52
echo gettext("Email"); // line 53
echo "\t\t\t\t</th>
\t\t\t\t<td>
\t\t\t\t\t<input type=\"text\" name=\"email\" size=\"25\" maxlength=\"40\" autocomplete=\"off\" />
\t\t\t\t</td>
\t\t\t</tr>
\t\t\t<tr>
\t\t\t\t<th>
\t\t\t\t\t";
// line 60
echo gettext("Subject"); // line 61
echo "\t\t\t\t</th>
\t\t\t\t<td>
\t\t\t\t\t<input style=\"float:left;\" type=\"text\" name=\"subject\" size=\"25\" maxlength=\"100\" autocomplete=\"off\" />
\t\t\t\t\t<input accesskey=\"s\" style=\"margin-left:2px;\" type=\"submit\" name=\"post\" value=\"";
// line 64
echo $this->getAttribute($this->getContext($context, 'config'), "button_reply", array(), "any", false);
echo "\" />";
if ($this->getAttribute($this->getContext($context, 'config'), "spoiler_images", array(), "any", false)) {
echo " <input id=\"spoiler\" name=\"spoiler\" type=\"checkbox\" /> <label for=\"spoiler\">";
echo gettext("Spoiler Image"); echo "</label>";
}
// line 65
echo "\t\t\t\t</td>
\t\t\t</tr>
\t\t\t<tr>
\t\t\t\t<th>
\t\t\t\t\t";
// line 69
echo gettext("Comment"); // line 70
echo "\t\t\t\t</th>
\t\t\t\t<td>
\t\t\t\t\t<textarea name=\"body\" id=\"body\" rows=\"5\" cols=\"30\"></textarea>
\t\t\t\t</td>
\t\t\t</tr>
\t\t\t";
// line 75
if ($this->getAttribute($this->getContext($context, 'config'), "recaptcha", array(), "any", false)) {
// line 76
echo "\t\t\t<tr>
\t\t\t\t<th>
\t\t\t\t\t";
// line 78
echo gettext("Verification"); // line 79
echo "\t\t\t\t</th>
\t\t\t\t<td>
\t\t\t\t\t<script type=\"text/javascript\" src=\"http://www.google.com/recaptcha/api/challenge?k=";
// line 81
echo $this->getAttribute($this->getContext($context, 'config'), "recaptcha_public", array(), "any", false);
echo "\"></script>
\t\t\t\t</td>
\t\t\t</tr>
\t\t\t";
}
// line 85
echo "\t\t\t<tr>
\t\t\t\t<th>
\t\t\t\t\t";
// line 87
echo gettext("File"); // line 88
echo "\t\t\t\t</th>
\t\t\t\t<td>
\t\t\t\t\t<input type=\"file\" name=\"file\" />
\t\t\t\t</td>
\t\t\t</tr>
\t\t\t";
// line 93
if ($this->getAttribute($this->getContext($context, 'config'), "enable_embedding", array(), "any", false)) {
// line 94
echo "\t\t\t<tr>
\t\t\t\t<th>
\t\t\t\t\t";
// line 96
echo gettext("Embed"); // line 97
echo "\t\t\t\t</th>
\t\t\t\t<td>
\t\t\t\t\t<input type=\"text\" name=\"embed\" size=\"30\" maxlength=\"120\" autocomplete=\"off\" />
\t\t\t\t</td>
\t\t\t</tr>
\t\t\t";
}
// line 103
echo "\t\t\t";
if ($this->getContext($context, 'mod')) {
// line 104
echo "\t\t\t<tr>
\t\t\t\t<th>
\t\t\t\t\t";
// line 106
echo gettext("Flags"); // line 107
echo "\t\t\t\t</th>
\t\t\t\t<td>
\t\t\t\t\t<div>
\t\t\t\t\t\t<label for=\"raw\">";
// line 110
echo gettext("Raw HTML"); echo "</label><br />
\t\t\t\t\t\t<input title=\"Raw HTML\" type=\"checkbox\" name=\"raw\" id=\"raw\" />
\t\t\t\t\t</div>
\t\t\t\t</td>
\t\t\t</tr>
\t\t\t";
}
// line 116
echo "\t\t\t<tr>
\t\t\t\t<th>
\t\t\t\t\t";
// line 118
echo gettext("Password"); // line 119
echo "\t\t\t\t</th>
\t\t\t\t<td>
\t\t\t\t\t<input type=\"password\" name=\"password\" size=\"12\" maxlength=\"18\" autocomplete=\"off\" />
\t\t\t\t\t<span class=\"unimportant\">";
// line 122
echo gettext("(For file deletion.)"); echo "</span>
\t\t\t\t</td>
\t\t\t</tr>
\t\t</table>
\t</form>
\t<script type=\"text/javascript\">";
// line 127
echo "
\t\trememberStuff();
\t";
// line 129
echo "</script>
\t
\t";
// line 131
if ($this->getAttribute($this->getContext($context, 'config'), "blotter", array(), "any", false)) {
echo "<hr /><div class=\"blotter\">";
echo $this->getAttribute($this->getContext($context, 'config'), "blotter", array(), "any", false);
echo "</div>";
}
// line 132
echo "\t<hr />
\t<form name=\"postcontrols\" action=\"";
// line 133
echo $this->getAttribute($this->getContext($context, 'config'), "post_url", array(), "any", false);
echo "\" method=\"post\">
\t<input type=\"hidden\" name=\"board\" value=\"";
// line 134
echo $this->getAttribute($this->getContext($context, 'board'), "uri", array(), "any", false);
echo "\" />
\t";
// line 135
if ($this->getContext($context, 'mod')) {
echo "<input type=\"hidden\" name=\"mod\" value=\"1\" />";
}
// line 136
echo "\t";
echo $this->getContext($context, 'body');
echo "
\t<div class=\"delete\">
\t\t";
// line 138
echo gettext("Delete Post"); echo " [<input title=\"Delete file only\" type=\"checkbox\" name=\"file\" id=\"delete_file\" />
\t\t <label for=\"delete_file\">";
// line 139
echo gettext("File"); echo "</label>] <label for=\"password\">";
echo gettext("Password"); echo "</label>
\t\t\t<input id=\"password\" type=\"password\" name=\"password\" size=\"12\" maxlength=\"18\" />
\t\t\t<input type=\"submit\" name=\"delete\" value=\"";
// line 141
echo gettext("Delete"); echo "\" />
\t</div>
\t<div class=\"delete\" style=\"clear:both\">
\t\t<label for=\"reason\">";
// line 144
echo gettext("Reason"); echo "</label>
\t\t\t<input id=\"reason\" type=\"text\" name=\"reason\" size=\"20\" maxlength=\"30\" />
\t\t\t<input type=\"submit\" name=\"report\" value=\"";
// line 146
echo gettext("Report"); echo "\" />
\t</div>
\t</form>
\t<a rel=\"directory\" href=\"";
// line 149
echo $this->getContext($context, 'return');
echo "\">[";
echo gettext("Return"); echo "]</a>
\t";
// line 151
echo $this->getAttribute($this->getContext($context, 'boardlist'), "bottom", array(), "any", false);
echo "
\t<p class=\"unimportant\" style=\"margin-top:20px;text-align:center;\">Powered by <a href=\"http://tinyboard.org/\">Tinyboard</a> ";
// line 152
echo $this->getAttribute($this->getContext($context, 'config'), "version", array(), "any", false);
echo " | <a href=\"http://tinyboard.org/\">Tinyboard</a> Copyright &copy; 2010-2011 Tinyboard Development Group</p>
\t<p class=\"unimportant\" style=\"text-align:center;\">All trademarks, copyrights, comments, and images on this page are owned by or are the responsibility of their respective parties.</p>
\t\t
</body>
</html>
";
}
public function getTemplateName()
{
return "thread.html";
}
public function isTraitable()
{
return false;
}
}