1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-27 17:00:52 +01:00
vichan/templates/index.html

164 lines
5.1 KiB
HTML
Raw Normal View History

2011-01-02 11:10:18 +01:00
<!DOCTYPE html>
2010-11-02 11:57:33 +01:00
<html>
<head>
<link rel="stylesheet" media="screen" href="{config[url_stylesheet]}"/>
2011-03-26 12:58:39 +01:00
{config[url_favicon]?<link rel="shortcut icon" href="{config[url_favicon]}" />}
2010-11-02 11:57:33 +01:00
<title>{board[url]} - {board[name]}</title>
2011-01-03 06:29:34 +01:00
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
2010-11-02 11:57:33 +01:00
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
{config[meta_keywords]?<meta name="keywords" content="{config[meta_keywords]}" />}
2011-03-26 16:36:32 +01:00
<link rel="stylesheet" type="text/css" id="stylesheet" href="{config[uri_stylesheets]}{config[default_stylesheet][1]}">
<script type="text/javascript" src="{config[url_javascript]}"></script>
2011-06-15 20:59:16 +02:00
{config[recaptcha]?<style type="text/css">
/* reCaptcha style */
.recaptcha_image_cell {
background: none !important;
}
table.recaptchatable {
border: none !important;
}
#recaptcha_logo, #recaptcha_tagline {
display: none;
float: right;
}
.recaptchatable a {
display: block;
}
</style>}
2010-11-02 11:57:33 +01:00
</head>
<body>
2011-02-20 02:39:56 +01:00
{boardlist[top]}
2011-03-26 02:01:29 +01:00
{pm?<div class="top_notice">{pm}</div><hr/>}
{config[url_banner]?<img class="banner" src="{config[url_banner]}" alt="" />}
2010-11-02 11:57:33 +01:00
<h1>{board[url]} - {board[name]}</h1>
2010-12-16 09:12:13 +01:00
<div class="title">{board[title]?{board[title]}}<p>{mod?<a href="?/">Return to dashboard</a>}</p></div>
<form name="post" onsubmit="return dopost(this);" enctype="multipart/form-data" action="{config[post_url]}" method="post">
2011-02-17 12:03:52 +01:00
{hidden_inputs}
2010-11-30 10:38:24 +01:00
<input type="hidden" name="board" value="{board[uri]}" />
2011-01-02 11:10:18 +01:00
{mod?<input type="hidden" name="mod" value="1" />}
2010-11-02 11:57:33 +01:00
<table>
<tr>
<th>
Name
</th>
<td>
2011-02-03 10:28:14 +01:00
<input type="text" name="name" size="25" maxlength="50" autocomplete="off" />
2010-11-02 11:57:33 +01:00
</td>
</tr>
<tr>
<th>
Email
</th>
<td>
2011-02-17 11:20:04 +01:00
<input type="text" name="email" size="25" maxlength="40" autocomplete="off" />
2010-11-02 11:57:33 +01:00
</td>
</tr>
<tr>
<th>
Subject
</th>
<td>
<input style="float:left;" type="text" name="subject" size="25" maxlength="100" autocomplete="off" />
2011-07-11 22:39:30 +02:00
<input accesskey="s" style="margin-left:2px" type="submit" name="post" value="{config[button_newtopic]=New Topic}" />
2010-11-02 11:57:33 +01:00
</td>
</tr>
<tr>
<th>
Comment
</th>
<td>
<textarea name="body" id="body" rows="5" cols="30"></textarea>
</td>
</tr>
2011-06-15 20:59:16 +02:00
{config[recaptcha]?
<tr>
<th>
Verification
</th>
<td>
<script type="text/javascript" src="http://www.google.com/recaptcha/api/challenge?k={config[recaptcha_public]}"></script>
</td>
</tr>
}
2010-11-02 11:57:33 +01:00
<tr>
<th>
File
</th>
<td>
<input type="file" name="file"/>
</td>
</tr>
2011-05-25 11:15:55 +02:00
{config[enable_embedding]?
2011-05-18 09:05:48 +02:00
<tr>
<th>
Embed
</th>
<td>
2011-05-25 11:44:48 +02:00
<input type="text" name="embed" size="30" maxlength="120" autocomplete="off" />
2011-05-18 09:05:48 +02:00
</td>
</tr>
}
2011-01-02 11:10:18 +01:00
{mod?
<tr>
<th>
Flags
</th>
<td>
<div>
<label for="sticky">Sticky</label>
<input title="Sticky" type="checkbox" name="sticky" id="sticky"><br/>
</div>
<div>
<label for="lock">Lock</label><br/>
<input title="Lock" type="checkbox" name="lock" id="lock">
</div>
2011-02-03 10:28:14 +01:00
<div>
<label for="raw">Raw HTML</label><br/>
<input title="Raw HTML" type="checkbox" name="raw" id="raw">
</div>
2011-01-02 11:10:18 +01:00
</td>
</tr>
}
2010-11-02 11:57:33 +01:00
<tr>
<th>
Password
</th>
<td>
<input type="password" name="password" size="12" maxlength="18" autocomplete="off" />
2010-11-02 11:57:33 +01:00
<span class="unimportant">(For file deletion.)</span>
</td>
</tr>
</table>
</form>
<script type="text/javascript">
rememberStuff();
</script>
2011-05-25 08:27:15 +02:00
{config[blotter]?<hr/><div class="blotter">{config[blotter]}</div>}
2010-11-02 11:57:33 +01:00
<hr/>
<form name="postcontrols" action="{post_url}" method="post">
2011-01-21 03:13:50 +01:00
<input type="hidden" name="board" value="{board[uri]}" />
{mod?<input type="hidden" name="mod" value="1" />}
2010-11-02 11:57:33 +01:00
{body}
2011-01-21 03:13:50 +01:00
<div class="delete">
Delete Post [<input title="Delete file only" type="checkbox" name="file" id="delete_file"/>
2011-02-20 07:19:57 +01:00
<label for="delete_file">File</label>] <label for="password">Password</label>
2011-02-20 12:48:41 +01:00
<input id="password" type="password" name="password" size="12" maxlength="18" />
2011-02-20 07:19:57 +01:00
<input type="submit" name="delete" value="Delete" />
</div>
<div class="delete" style="clear:both">
<label for="reason">Reason</label>
<input id="reason" type="text" name="reason" size="20" maxlength="30" />
<input type="submit" name="report" value="Report" />
2011-01-21 03:13:50 +01:00
</div>
</form>
2011-02-17 08:37:18 +01:00
<div class="pages">{btn[prev]} {pages:
2011-02-16 13:32:43 +01:00
[<a {pages[selected]?class="selected"}{!pages[selected]?href="{pages[link]}"}>{pages[num]}</a>]{!%last? }
2011-02-17 08:37:18 +01:00
} {btn[next]}</div>
2011-02-20 02:39:56 +01:00
{boardlist[bottom]}
2011-05-25 12:46:29 +02:00
<p class="unimportant" style="margin-top:20px;text-align:center;">Powered by <a href="http://tinyboard.org/">Tinyboard</a> v0.9.2 | <a href="http://tinyboard.org/">Tinyboard</a> Copyright © 2010-2011 Tinyboard Development Group</p>
2011-04-14 12:43:47 +02:00
<p class="unimportant" style="text-align:center;">All trademarks, copyrights, comments and images on this page are owned by and/or are the responsibility of their respective parties.</p>
2010-11-02 11:57:33 +01:00
</body>
2011-06-15 20:59:16 +02:00
</html>