summaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2011-01-21 13:13:50 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2011-01-21 13:13:50 +1100
commit8edccdb2aacabeb120d7ade1f82d62975efd4eaf (patch)
tree8d832539d54eddfa18c8cd0f3a13408243f23fb7 /templates/index.html
parent915dcc55ebfcdb441f4b0efee90b12334718b9bd (diff)
added delete form in templates
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html
index 219fec12..9df80376 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -86,7 +86,18 @@
</table>
</form>
<hr/>
+ <form action="{post_url}" method="post">
+ <input type="hidden" name="delete" value="1" />
+ <input type="hidden" name="board" value="{board[uri]}" />
+ {mod?<input type="hidden" name="mod" value="1" />}
{body}
+ <div class="delete">
+ Delete Post [<input title="Delete file only" type="checkbox" name="file" id="delete_file"/>
+ <label for="delete_file">File</label>] Password
+ <input type="password" name="password" size="12" maxlength="18" />
+ <input type="submit" value="Delete" />
+ </div>
+ </form>
Pages: {pages:
[<a href="{pages[link]}">{pages[num]}</a>]{!%last? }
}