Author: artdaw
Date: 2008-05-30 07:02:23 -0400 (Fri, 30 May 2008)
New Revision: 8838
Added:
trunk/docs/faq/en/src/main/resources/images/favicon.ico
Modified:
trunk/docs/faq/en/src/main/resources/xslt/org/jboss/richfaces/xhtml-common.xsl
Log:
http://jira.jboss.com/jira/browse/RF-3189 - favicon was added to FAQ
Added: trunk/docs/faq/en/src/main/resources/images/favicon.ico
===================================================================
(Binary files differ)
Property changes on: trunk/docs/faq/en/src/main/resources/images/favicon.ico
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/docs/faq/en/src/main/resources/xslt/org/jboss/richfaces/xhtml-common.xsl
===================================================================
---
trunk/docs/faq/en/src/main/resources/xslt/org/jboss/richfaces/xhtml-common.xsl 2008-05-30
10:29:35 UTC (rev 8837)
+++
trunk/docs/faq/en/src/main/resources/xslt/org/jboss/richfaces/xhtml-common.xsl 2008-05-30
11:02:23 UTC (rev 8838)
@@ -12,4 +12,57 @@
<xsl:param name="html.stylesheet"
select="'css/html.css'"/>
+ <!--
+From: xhtml/docbook.xsl
+Reason: Remove inline style for draft mode
+Version: 1.72.0
+-->
+<xsl:template name="head.content">
+ <xsl:param name="node" select="."/>
+ <xsl:param name="title">
+ <xsl:apply-templates select="$node"
mode="object.title.markup.textonly"/>
+ </xsl:param>
+
+ <title
xmlns="http://www.w3.org/1999/xhtml" >
+ <xsl:copy-of select="$title"/>
+ </title>
+
+ <xsl:if test="$html.stylesheet != ''">
+ <xsl:call-template name="output.html.stylesheets">
+ <xsl:with-param name="stylesheets"
select="normalize-space($html.stylesheet)"/>
+ </xsl:call-template>
+ </xsl:if>
+
+ <xsl:if test="$link.mailto.url != ''">
+ <link rev="made" href="{$link.mailto.url}"/>
+ </xsl:if>
+
+ <xsl:if test="$html.base != ''">
+ <base href="{$html.base}"/>
+ </xsl:if>
+
+ <meta
xmlns="http://www.w3.org/1999/xhtml" name="generator"
content="DocBook {$DistroTitle} V{$VERSION}"/>
+
+ <xsl:if test="$generate.meta.abstract != 0">
+ <xsl:variable name="info" select="(articleinfo |bookinfo |prefaceinfo
|chapterinfo |appendixinfo |sectioninfo |sect1info |sect2info |sect3info |sect4info
|sect5info |referenceinfo |refentryinfo |partinfo |info |docinfo)[1]"/>
+ <xsl:if test="$info and $info/abstract">
+ <meta
xmlns="http://www.w3.org/1999/xhtml"
name="description">
+ <xsl:attribute name="content">
+ <xsl:for-each select="$info/abstract[1]/*">
+ <xsl:value-of select="normalize-space(.)"/>
+ <xsl:if test="position() < last()">
+ <xsl:text> </xsl:text>
+ </xsl:if>
+ </xsl:for-each>
+ </xsl:attribute>
+ </meta>
+ </xsl:if>
+ </xsl:if>
+
+ <link rel="shortcut icon" type="image/vnd.microsoft.icon"
href="images/favicon.ico" />
+
+ <xsl:apply-templates select="."
mode="head.keywords.content"/>
+</xsl:template>
+
+
</xsl:stylesheet>