Mercurial > hg > chronicle
changeset 97:69570137cb66
Updated.
author | Steve Kemp <steve@steve.org.uk> |
---|---|
date | Wed, 12 Dec 2007 17:28:21 +0000 |
parents | e168dcfc8a3d |
children | 3d8b0e615bf3 |
files | Makefile bin/chronicle themes/blocky/comment-form.inc themes/blog.steve.org.uk/comment-form.inc themes/copyrighteous/comment-form.inc themes/default/comment-form.inc |
diffstat | 6 files changed, 13 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Wed Dec 12 16:49:52 2007 +0000 +++ b/Makefile Wed Dec 12 17:28:21 2007 +0000 @@ -43,8 +43,8 @@ @find . -name '*~' -exec rm \{\} \; @find . -name '*.bak' -exec rm \{\} \; @find . -name '*.tmp' -exec rm \{\} \; + @if [ -d comments ]; then rm -rf comments; fi @if [ -d output ]; then rm -rf output; fi - @if [ -d comments ]; then rm -rf comments; fi @if [ -e build-stamp ]; then rm -f build-stamp; fi @if [ -e chronicle.1 ]; then rm -f chronicle.1 ; fi
--- a/bin/chronicle Wed Dec 12 16:49:52 2007 +0000 +++ b/bin/chronicle Wed Dec 12 17:28:21 2007 +0000 @@ -1642,6 +1642,10 @@ next if ( !defined( $line ) ); chomp( $line ); + + next if ($line =~ /^IP-Address:/ ); + next if ($line =~ /^User-Agent:/ ); + if ( !length( $name ) && $line =~ /^Name: (.*)/i ) { $name = $1;
--- a/themes/blocky/comment-form.inc Wed Dec 12 16:49:52 2007 +0000 +++ b/themes/blocky/comment-form.inc Wed Dec 12 17:28:21 2007 +0000 @@ -6,8 +6,8 @@ <table> <tr><td>Your Name</td> <td><input type="text" size="55" name="name"></td></tr> -<tr><td>Your Name</td> - <td><input type="text" size="55" name="name"></td></tr> +<tr><td>Your Email</td> + <td><input type="text" size="55" name="mail"></td></tr> <tr><td colspan="2">Your Comment<br /> <textarea name="body" rows="10" cols="60"> </textarea>
--- a/themes/blog.steve.org.uk/comment-form.inc Wed Dec 12 16:49:52 2007 +0000 +++ b/themes/blog.steve.org.uk/comment-form.inc Wed Dec 12 17:28:21 2007 +0000 @@ -6,8 +6,8 @@ <table> <tr><td>Your Name</td> <td><input type="text" size="55" name="name"></td></tr> -<tr><td>Your Name</td> - <td><input type="text" size="55" name="name"></td></tr> +<tr><td>Your Email</td> + <td><input type="text" size="55" name="mail"></td></tr> <tr><td colspan="2">Your Comment<br /> <textarea name="body" rows="10" cols="60"> </textarea>
--- a/themes/copyrighteous/comment-form.inc Wed Dec 12 16:49:52 2007 +0000 +++ b/themes/copyrighteous/comment-form.inc Wed Dec 12 17:28:21 2007 +0000 @@ -6,8 +6,8 @@ <table> <tr><td>Your Name</td> <td><input type="text" size="55" name="name"></td></tr> -<tr><td>Your Name</td> - <td><input type="text" size="55" name="name"></td></tr> +<tr><td>Your Email</td> + <td><input type="text" size="55" name="mail"></td></tr> <tr><td colspan="2">Your Comment<br /> <textarea name="body" rows="10" cols="60"> </textarea>
--- a/themes/default/comment-form.inc Wed Dec 12 16:49:52 2007 +0000 +++ b/themes/default/comment-form.inc Wed Dec 12 17:28:21 2007 +0000 @@ -6,8 +6,8 @@ <table> <tr><td>Your Name</td> <td><input type="text" size="55" name="name"></td></tr> -<tr><td>Your Name</td> - <td><input type="text" size="55" name="name"></td></tr> +<tr><td>Your EMail</td> + <td><input type="text" size="55" name="email"></td></tr> <tr><td colspan="2">Your Comment<br /> <textarea name="body" rows="10" cols="60"> </textarea>