From 2b832c5fd6b8bec537ef66783e5499c44fe00851 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Thu, 22 Nov 2012 10:45:29 +0000 Subject: remove hardcoded script name in post form --- index.cgi | 1 + themes/html5/index.tmpl | 7 ++----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/index.cgi b/index.cgi index 6d7adef..d23a588 100755 --- a/index.cgi +++ b/index.cgi @@ -86,6 +86,7 @@ sub output_article { my $tagcloud = get_tag_cloud(); my @status = (); + $template->param( script_name => $cgi->script_name() ); $template->param( archives => $archives ); $template->param( tagcloud => $tagcloud ); $template->param( theme => $blog_theme ); diff --git a/themes/html5/index.tmpl b/themes/html5/index.tmpl index 23ba13e..2ef7902 100644 --- a/themes/html5/index.tmpl +++ b/themes/html5/index.tmpl @@ -107,10 +107,7 @@

Feeds

@@ -195,7 +192,7 @@
Add a comment

max length chars

-
+ " method="post">

"> Name

"> eMail

"> URL

-- cgit v1.2.3