Browse Source

added delete form in templates

pull/40/head
Savetheinternet 13 years ago
parent
commit
8edccdb2aa
  1. 11
      templates/index.html
  2. 11
      templates/thread.html

11
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? }
}

11
templates/thread.html

@ -70,7 +70,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>
<a href="{return}">[Return.]</a>
<p class="unimportant" style="text-align:center;">Copyright &copy; 2010 <a href="http://omegasdg.com/">OmegaSDG</a></p>
</body>

Loading…
Cancel
Save