summaryrefslogtreecommitdiff
path: root/docs/manual/caching.html.en
diff options
context:
space:
mode:
authorDaniel Gruno <humbedooh@apache.org>2012-05-08 15:27:25 +0000
committerDaniel Gruno <humbedooh@apache.org>2012-05-08 15:27:25 +0000
commitf1c43293f40a2c3e25668f68b89fb6a4a2845f9c (patch)
tree7409fda5cb95ab838a172d31f7289d8687f85a12 /docs/manual/caching.html.en
parent4ed4fb7032bae39a1d2da5208312978ead89e40a (diff)
downloadhttpd-f1c43293f40a2c3e25668f68b89fb6a4a2845f9c.tar.gz
xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1335588 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/caching.html.en')
-rw-r--r--docs/manual/caching.html.en9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/manual/caching.html.en b/docs/manual/caching.html.en
index 4efb0b9d00..cfab49a8f0 100644
--- a/docs/manual/caching.html.en
+++ b/docs/manual/caching.html.en
@@ -837,19 +837,20 @@ sys 0m0.000s</pre></div>
<a href="./fr/caching.html" hreflang="fr" rel="alternate" title="Français">&nbsp;fr&nbsp;</a> |
<a href="./tr/caching.html" hreflang="tr" rel="alternate" title="Türkçe">&nbsp;tr&nbsp;</a></p>
</div><div class="top"><a href="#page-header"><img src="./images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Comments</a></h2><div class="warning"><strong>This section is experimental!</strong><br />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.</div><div id="disqus_thread" /><script type="text/javascript"><!--//--><![CDATA[//><!--
+to last beyond the testing phase of this system, nor do we in any way guarantee that we'll read them.</div>
+<script type="text/javascript"><!--//--><![CDATA[//><!--
var lang = 'en';
var disqus_shortname = 'httpd';
var disqus_identifier = window.location.href.replace(/(current|trunk)/, "2.4").replace(/\/[a-z]{2}\//, "/").replace(window.location.protocol, "http:") + '.' + lang;
-if (disqus_identifier.indexOf("httpd.apache.org") != -1) {
+if (disqus_identifier.indexOf("httpd.apache.org") == -1) {
+ document.write('<div id="disqus_thread">\n</div>');
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = window.location.protocol + '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
} else {
- var text = document.createTextNode("Comments have been disabled for offline viewing.");
- document.getElementById('disqus_thread').appendChild(text);
+ document.write("Comments have been disabled for offline viewing.");
}
//--><!]]></script></div><div id="footer">
<p class="apache">Copyright 2012 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>