[geeklog-cvs] geeklog: Add a robots "noindex" meta tag to the submission form ...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sat Oct 17 09:22:40 EDT 2009
changeset 7382:dfadb4aad5d1
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/dfadb4aad5d1
user: Dirk Haun <dirk at haun-online.de>
date: Sat Oct 17 13:51:45 2009 +0200
description:
Add a robots "noindex" meta tag to the submission form (like we already do for the comment submission form)
diffstat:
public_html/submit.php | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r e02d71d401c3 -r dfadb4aad5d1 public_html/submit.php
--- a/public_html/submit.php Sat Oct 17 13:26:13 2009 +0200
+++ b/public_html/submit.php Sat Oct 17 13:51:45 2009 +0200
@@ -451,7 +451,8 @@
$pagetitle = '';
break;
}
- $display .= COM_siteHeader ('menu', $pagetitle);
+ $noindex = '<meta name="robots" content="noindex"' . XHTML . '>' . LB;
+ $display .= COM_siteHeader ('menu', $pagetitle, $noindex);
$display .= submissionform($type, $mode, $topic);
$display .= COM_siteFooter();
}
More information about the geeklog-cvs
mailing list