]> granicus.if.org Git - apache/commitdiff
Disabling the Disqus system until we have a proper resolution about this.
authorDaniel Gruno <humbedooh@apache.org>
Sun, 20 May 2012 12:53:19 +0000 (12:53 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Sun, 20 May 2012 12:53:19 +0000 (12:53 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1340701 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/style/xsl/common.xsl

index cb63f659d15e544e1df24798b7cd1376e1621d4d..4326e271f26b011333ae8242e6dcf03eaa7e676d 100644 (file)
@@ -301,7 +301,8 @@ to last beyond the testing phase of this system, nor do we in any way guarantee
 var disqus_shortname = 'httpd';
 var disqus_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[';
 (function(w, d) {
-    if (w.location.hostname.toLowerCase() == "httpd.apache.org") {
+    var disabled = true;
+    if (w.location.hostname.toLowerCase() == "httpd.apache.org" && disabled !== true) {
         d.write('<div id="disqus_thread"><\/div>');
         var s = d.createElement('script');
         s.type = 'text/javascript';
@@ -310,7 +311,7 @@ var disqus_identifier = 'http://httpd.apache.org/docs/]]></xsl:text>&httpd.disqu
         (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s);
     }
     else {
-        d.write('<div id="disqus_thread">Comments have been disabled for offline viewing.<\/div>');
+        d.write('<div id="disqus_thread">Comments are disabled for this page at the moment.<\/div>');
     }
 })(window, document);
 //--><!]]]]>></xsl:text></script>