diff options
| author | auron_x <auron_x@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2006-03-03 16:47:41 +0000 |
|---|---|---|
| committer | auron_x <auron_x@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2006-03-03 16:47:41 +0000 |
| commit | b92a00172e1d1372065922e76ddac8620a6d5004 (patch) | |
| tree | 2d82da79c5b6d36fe575490885ddcf2107fc8ab4 /htroot/Blog.html | |
| parent | 8548ee6b5350ce540b0a99673154688525f15b2a (diff) | |
*) modified Blog
- added delete-option
- fixed displaying of admin options
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1805 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'htroot/Blog.html')
| -rw-r--r-- | htroot/Blog.html | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/htroot/Blog.html b/htroot/Blog.html index ca879e716..decc5eea1 100644 --- a/htroot/Blog.html +++ b/htroot/Blog.html @@ -13,7 +13,7 @@ <table width="80%" border="1" cellpadding="0" cellspacing="0">
<tr class="TableHeader"><td align="left">#[date]#</td><td>by #[author]#</td></tr>
<tr class="WikiBackground"><td colspan=2 align="left"><h2>#[subject]#</h2><br>#[page]#</td><td></td></tr>
-<tr class="TableHeader"><td colspan=2 align="left"><a href="Blog.html?page=#[pageid]#">link</a>#(admin)#:: - <a href="Blog.html?page=#[pageid]#&edit=true">edit</a>#(/admin)#</td><td></td></tr>
+<tr class="TableHeader"><td colspan=2 align="left"><a href="Blog.html?page=#[pageid]#">link</a>#(admin)#:: - <a href="Blog.html?page=#[pageid]#&edit=true">edit</a> - <a href="Blog.html?page=#[pageid]#&delete=try">delete</a>#(/admin)#</td><td></td></tr>
</table>
<br>
#{/entries}#
@@ -27,7 +27,6 @@ <p>Subject:<br><input name="subject" type="text" size="20" maxlength="80" value="#[subject]#"></p>
<p>Text:<br><textarea name="content" cols="80" rows="24">#[page-code]#</textarea></p>
<input type="hidden" name="page" value="#[pageid]#">
-<input type="hidden" name="reason" value="edit">
<input type="submit" name="submit" value="Submit">
<input type="submit" name="preview" value="Preview">
<input type="submit" name="view" value="Discard">
@@ -46,7 +45,6 @@ <p>Subject:<br><input name="subject" type="text" size="20" maxlength="80" value="#[subject]#"></p>
<p>Text:<br><textarea name="content" cols="80" rows="24">#[page-code]#</textarea></p>
<input type="hidden" name="page" value="#[pageid]#">
-<input type="hidden" name="reason" value="edit">
<input type="submit" name="submit" value="Submit">
<input type="submit" name="preview" value="Preview">
<input type="submit" name="view" value="Discard">
@@ -55,6 +53,18 @@ <!-- 3: Access Denied (no rights) -->
<h3>Access denied</h3>
To edit or create blog-entries you need to be logged in as Admin or User that has Blog rights.
+::
+<!-- 4: Delete Confirmation -->
+<h3>Are you sure...</h3>
+... that you want to delete <b>#[subject]#</b> by #[author]#?<br><br>
+<form action="Blog.html" method="POST" enctype="multipart/form-data" accept-charset="UTF-8">
+<input type="hidden" name="delete" value="sure">
+<input type="hidden" name="page" value="#[pageid]#">
+<input type="submit" value="Yes, delete it.">
+</form><br>
+<form action="Blog.html" method="POST" enctype="multipart/form-data" accept-charset="UTF-8">
+<input type="submit" value="No, leave it.">
+</form>
#(/mode)#
#%env/templates/footer.template%#
</body>
|
