Introduction
Introduction Statistics Contact Development Disclaimer Help
Remove leftover from old name for blog app (now 'brag') - swerc - anselm's simp…
git clone git://git.suckless.org/swerc
Log
Files
Refs
README
---
commit c3d234db80889e4eda620cd3ced232080fcdf68b
parent 30d30045b5293daba8ad905bdb43a5b19aef90b4
Author: [email protected] <unknown>
Date: Sat, 15 Nov 2008 20:38:42 +0100
Remove leftover from old name for blog app (now 'brag')
Diffstat:
D lib/_apps/blog/post_form.tpl | 25 -------------------------
1 file changed, 0 insertions(+), 25 deletions(-)
---
diff --git a/lib/_apps/blog/post_form.tpl b/lib/_apps/blog/post_form.tpl
@@ -1,25 +0,0 @@
-%{
-get_post_args target_blog_dir post_title post_body
-
-if(~ $REQUEST_METHOD POST && ! ~ $#target_blog_dir 0 && ! ~ $#post_title 0) {
-get_user
-if(test -f $sitedir/$target_blog_dir/_werc/config)
- . $sitedir/$target_blog_dir/_werc/config
-
-if(~ $#blog_editors_group 0)
- echo Cant post to $target_blog_dir, no editors group set.
-if not if (! user_in_group $blog_editors_group)
- echo Permission to post to $target_blog_dir denied, user $logged_user not …
-if not if(! make_blog_post $target_blog_dir $post_title $post_body)
- echo Posting to $target_blog_dir failed: $status
-if not
- echo Posted to $target_blog_dir.
-}
-%}
-<form method="POST">
- Submit a new blog post
- Post title: <input type="text" name="post_title" /><br />
- <textarea name="post_body"></textarea><br />
-% echo '<input type="text" name="target_blog_dir" value="'^$target_blog_dir…
- <input type="submit" />
-</form>
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.