]> granicus.if.org Git - apache/commitdiff
Let's see if this works on-site.
authorDaniel Gruno <humbedooh@apache.org>
Sun, 20 May 2012 12:56:59 +0000 (12:56 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Sun, 20 May 2012 12:56:59 +0000 (12:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1340704 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/rewrite/intro.html.en

index f09b22899dc4d7bcb62d93794524ded485a2aa42..77e40466caad3bb312d2d3e3994dc02589e1daba 100644 (file)
@@ -348,7 +348,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/2.4/rewrite/intro.html.en';
 (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';
@@ -357,7 +358,7 @@ var disqus_identifier = 'http://httpd.apache.org/docs/2.4/rewrite/intro.html.en'
         (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);
 //--><!]]></script></div><div id="footer">