Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/monodoc/Resources/mdoc-html-utils.xsl')
-rw-r--r--mcs/class/monodoc/Resources/mdoc-html-utils.xsl12
1 files changed, 12 insertions, 0 deletions
diff --git a/mcs/class/monodoc/Resources/mdoc-html-utils.xsl b/mcs/class/monodoc/Resources/mdoc-html-utils.xsl
index c8a84a84634..bc90f7b344c 100644
--- a/mcs/class/monodoc/Resources/mdoc-html-utils.xsl
+++ b/mcs/class/monodoc/Resources/mdoc-html-utils.xsl
@@ -1468,6 +1468,18 @@
</p>
</xsl:template>
+ <xsl:template match="attribution">
+ <a href="http://creativecommons.org/licenses/by/4.0/" class="attributionlogo">
+ <xsl:attribute name="title">
+ <xsl:choose>
+ <xsl:when test="@modified='false'"><xsl:value-of select="concat('This content is licensed Creative Commons By ', @from)" /></xsl:when>
+ <xsl:otherwise><xsl:value-of select="concat('This content has been modified under a Creative Commons license from ', @from)" /></xsl:otherwise>
+ </xsl:choose>
+ </xsl:attribute>
+ <img src="mdocimages/creativecommons.png" />
+ </a>
+ </xsl:template>
+
<xsl:template match="paramref">
<i><xsl:value-of select="@name"/>
<xsl:apply-templates/>