summaryrefslogtreecommitdiffstats
path: root/docs/manual/style
diff options
context:
space:
mode:
authorDaniel Gruno <humbedooh@apache.org>2012-06-04 10:22:04 +0200
committerDaniel Gruno <humbedooh@apache.org>2012-06-04 10:22:04 +0200
commit73d706b8807c5cd0547dc92ef30649fa69817520 (patch)
tree4466ed0146f9912087970d19297572e04e42e69b /docs/manual/style
parentAvoid buffer overflow if one protocol string is too long, but at least (diff)
downloadapache2-73d706b8807c5cd0547dc92ef30649fa69817520.tar.xz
apache2-73d706b8807c5cd0547dc92ef30649fa69817520.zip
Change references in version.ent from disqus to the new comment system.
Set version to 'trunk' instead of 2.4 in the comments_idenfitier variable Disregard translations (use same comments thread for all languages) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1345863 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/style')
-rw-r--r--docs/manual/style/version.ent4
-rw-r--r--docs/manual/style/xsl/common.xsl5
2 files changed, 4 insertions, 5 deletions
diff --git a/docs/manual/style/version.ent b/docs/manual/style/version.ent
index 4e6c06cdba..793457a628 100644
--- a/docs/manual/style/version.ent
+++ b/docs/manual/style/version.ent
@@ -23,5 +23,5 @@
<!ENTITY httpd.docs "trunk">
-<!-- Version tag for disqus comments -->
-<!ENTITY httpd.disqus "2.4">
+<!-- Version tag for comments -->
+<!ENTITY httpd.comments "trunk">
diff --git a/docs/manual/style/xsl/common.xsl b/docs/manual/style/xsl/common.xsl
index 5e8fff9236..1d410b3e7d 100644
--- a/docs/manual/style/xsl/common.xsl
+++ b/docs/manual/style/xsl/common.xsl
@@ -298,10 +298,9 @@
<script type="text/javascript">
<xsl:text disable-output-escaping="yes"><![CDATA[<!--//--><![CDATA[//><!--
var comments_shortname = 'httpd';
-var comments_identifier = 'http://httpd.apache.org/docs/]]></xsl:text>&httpd.disqus;<xsl:value-of select="concat($metafile/path, $metafile/basename, '.html.', $doclang)" disable-output-escaping="yes" /><xsl:text disable-output-escaping="yes"><![CDATA[';
+var comments_identifier = 'http://httpd.apache.org/docs/]]></xsl:text>&httpd.comments;<xsl:value-of select="concat($metafile/path, $metafile/basename, '.html')" disable-output-escaping="yes" /><xsl:text disable-output-escaping="yes"><![CDATA[';
(function(w, d) {
- var disabled = false;
- if (w.location.hostname.toLowerCase() == "httpd.apache.org" && disabled !== true) {
+ if (w.location.hostname.toLowerCase() == "httpd.apache.org") {
d.write('<div id="comments_thread"><\/div>');
var s = d.createElement('script');
s.type = 'text/javascript';