httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1345863 - in /httpd/httpd/trunk/docs/manual/style: version.ent xsl/common.xsl
Date Mon, 04 Jun 2012 08:22:04 GMT
Author: humbedooh
Date: Mon Jun  4 08:22:04 2012
New Revision: 1345863

URL: http://svn.apache.org/viewvc?rev=1345863&view=rev
Log:
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)

Modified:
    httpd/httpd/trunk/docs/manual/style/version.ent
    httpd/httpd/trunk/docs/manual/style/xsl/common.xsl

Modified: httpd/httpd/trunk/docs/manual/style/version.ent
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/style/version.ent?rev=1345863&r1=1345862&r2=1345863&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/style/version.ent (original)
+++ httpd/httpd/trunk/docs/manual/style/version.ent Mon Jun  4 08:22:04 2012
@@ -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">

Modified: httpd/httpd/trunk/docs/manual/style/xsl/common.xsl
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/style/xsl/common.xsl?rev=1345863&r1=1345862&r2=1345863&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/style/xsl/common.xsl (original)
+++ httpd/httpd/trunk/docs/manual/style/xsl/common.xsl Mon Jun  4 08:22:04 2012
@@ -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';



Mime
View raw message