diff options
author | André Malo <nd@apache.org> | 2012-05-08 23:37:58 +0200 |
---|---|---|
committer | André Malo <nd@apache.org> | 2012-05-08 23:37:58 +0200 |
commit | 35d82cdd2dff0b108ee0884dc65b06833806fa5b (patch) | |
tree | b4265f232db18490b638b17eca97a2c0b2a97b33 /docs/manual/mod/directives.html.de | |
parent | - simplify and cleanup comment integration script (diff) | |
download | apache2-35d82cdd2dff0b108ee0884dc65b06833806fa5b.tar.xz apache2-35d82cdd2dff0b108ee0884dc65b06833806fa5b.zip |
update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1335781 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod/directives.html.de')
-rw-r--r-- | docs/manual/mod/directives.html.de | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/docs/manual/mod/directives.html.de b/docs/manual/mod/directives.html.de index 87ec0af953..90e49411ac 100644 --- a/docs/manual/mod/directives.html.de +++ b/docs/manual/mod/directives.html.de @@ -658,25 +658,26 @@ <a href="../zh-cn/mod/directives.html" hreflang="zh-cn" rel="alternate" title="Simplified Chinese"> zh-cn </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">Kommentare</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"> -</div><script type="text/javascript"><!--//--><![CDATA[//><!-- -var lang = 'de'; +<script type="text/javascript"><!--//--><![CDATA[//><!-- 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) { - (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); -} +var disqus_identifier = 'http://httpd.apache.org/docs/2.4/mod/directives.html.de'; +(function(w, d) { + if (w.location.hostname.toLowerCase() == "httpd.apache.org") { + d.write('<div id="disqus_thread"><\/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('<div id="disqus_thread">Comments have been disabled for offline viewing.<\/div>'); + } +})(window, document); //--><!]]></script></div><div id="footer"> <p class="apache">Copyright 2012 The Apache Software Foundation.<br />Lizenziert unter der <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> <p class="menu"><a href="../mod/">Module</a> | <a href="../mod/directives.html">Direktiven</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">Glossar</a> | <a href="../sitemap.html">Seitenindex</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- -if (typeof(prettyPrint) !== undefined) { +if (typeof(prettyPrint) !== 'undefined') { prettyPrint(); } //--><!]]></script> |