From: André Malo Date: Tue, 8 May 2012 21:18:40 +0000 (+0000) Subject: - simplify and cleanup comment integration script X-Git-Tag: 2.5.0-alpha~6863 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=86d35f0f0a74c8931dcf2592c6829710b32bf531;p=thirdparty%2Fapache%2Fhttpd.git - simplify and cleanup comment integration script - make comment version tag configurable git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1335773 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/style/version.ent b/docs/manual/style/version.ent index 3894511b0a4..4e6c06cdba2 100644 --- a/docs/manual/style/version.ent +++ b/docs/manual/style/version.ent @@ -22,3 +22,6 @@ + + + diff --git a/docs/manual/style/xsl/common.xsl b/docs/manual/style/xsl/common.xsl index 70f45002118..cb63f659d15 100644 --- a/docs/manual/style/xsl/common.xsl +++ b/docs/manual/style/xsl/common.xsl @@ -20,6 +20,8 @@ + + %HTTPD-VERSION; ]> &lf; - &lf; + &lf; &lf; @@ -294,23 +296,24 @@

This section is experimental!
Comments placed here should not be expected to last beyond the testing phase of this system, nor do we in any way guarantee that we'll read them.
&lf; -
&lf;
+var disqus_identifier = 'http://httpd.apache.org/docs/]]>&httpd.disqus;<\/div>'); + var s = d.createElement('script'); + s.type = 'text/javascript'; + s.async = true; + s.src = 'http' + '://' + disqus_shortname + '.disqus.com/embed.js'; + (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); + } + else { + d.write('
Comments have been disabled for offline viewing.<\/div>'); + } +})(window, document); +//-->>
@@ -340,11 +343,11 @@ if (disqus_identifier.indexOf("httpd.apache.org") != -1) { +//-->>