From: Wolfram Schneider Date: Fri, 23 Apr 2010 11:48:09 +0000 (+0200) Subject: rename /add.html link to /add_target.html to avoid the 500 spam posts/day, see #3401 X-Git-Tag: CPAN-v1.02~54^2~47 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=eaf6ff0997e5623feb58b621bafb38eca58b5160;p=irspy-moved-to-github.git rename /add.html link to /add_target.html to avoid the 500 spam posts/day, see #3401 --- diff --git a/web/htdocs/add.html b/web/htdocs/add.html deleted file mode 100644 index 9df79ee..0000000 --- a/web/htdocs/add.html +++ /dev/null @@ -1,3 +0,0 @@ -<& /chrome/layout.mc, %ARGS, - title => "Add target record", - component => "/details/edit.mc", op => "new" &> diff --git a/web/htdocs/add_target.html b/web/htdocs/add_target.html new file mode 100644 index 0000000..9df79ee --- /dev/null +++ b/web/htdocs/add_target.html @@ -0,0 +1,3 @@ +<& /chrome/layout.mc, %ARGS, + title => "Add target record", + component => "/details/edit.mc", op => "new" &> diff --git a/web/htdocs/chrome/layout.mc b/web/htdocs/chrome/layout.mc index 60bd39d..4d98463 100644 --- a/web/htdocs/chrome/layout.mc +++ b/web/htdocs/chrome/layout.mc @@ -65,7 +65,7 @@ use ZOOM::IRSpy::Utils qw(utf8param trimField isodate xml_encode cql_target cql_ Home
Test all targets
Find a target
- Add a target
+ Add a target
Upload a target
Statistics

diff --git a/web/htdocs/robots.txt b/web/htdocs/robots.txt index d19bcff..fed2b3a 100644 --- a/web/htdocs/robots.txt +++ b/web/htdocs/robots.txt @@ -1,6 +1,7 @@ User-agent: * Disallow: /admin/ Disallow: /add.html +Disallow: /add_target.html Disallow: /all.html Disallow: /doc.html Disallow: /find.html