Change references in version.ent from disqus to the new comment system.

Set version to 'trunk' instead of 2.4 in the comments_idenfitier variable
Disregard translations (use same comments thread for all languages)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1345863 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Daniel Gruno
2012-06-04 08:22:04 +00:00
parent 41cd334ad6
commit 73d706b880
2 changed files with 4 additions and 5 deletions

View File

@ -23,5 +23,5 @@
<!ENTITY httpd.docs "trunk">
<!-- Version tag for disqus comments -->
<!ENTITY httpd.disqus "2.4">
<!-- Version tag for comments -->
<!ENTITY httpd.comments "trunk">

View File

@ -298,10 +298,9 @@
<script type="text/javascript">
<xsl:text disable-output-escaping="yes"><![CDATA[<!--//--><![CDATA[//><!--
var comments_shortname = 'httpd';
var comments_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[';
var comments_identifier = 'http://httpd.apache.org/docs/]]></xsl:text>&httpd.comments;<xsl:value-of select="concat($metafile/path, $metafile/basename, '.html')" disable-output-escaping="yes" /><xsl:text disable-output-escaping="yes"><![CDATA[';
(function(w, d) {
var disabled = false;
if (w.location.hostname.toLowerCase() == "httpd.apache.org" && disabled !== true) {
if (w.location.hostname.toLowerCase() == "httpd.apache.org") {
d.write('<div id="comments_thread"><\/div>');
var s = d.createElement('script');
s.type = 'text/javascript';