Author: thorsten
Date: Tue Aug 10 16:59:40 2004
New Revision: 36198
Modified:
forrest/trunk/src/core/context/resources/schema/dtd/skinconfig-v06-3.dtd
forrest/trunk/src/core/context/skins/pelt-dev/css/screen.css
forrest/trunk/src/core/context/skins/pelt-dev/xslt/html/site2xhtml.xsl
forrest/trunk/src/core/fresh-site/src/documentation/skinconf.xml
Log:
added align support to w3c logos
Modified: forrest/trunk/src/core/context/resources/schema/dtd/skinconfig-v06-3.dtd
==============================================================================
--- forrest/trunk/src/core/context/resources/schema/dtd/skinconfig-v06-3.dtd (original)
+++ forrest/trunk/src/core/context/resources/schema/dtd/skinconfig-v06-3.dtd Tue Aug 10 16:59:40
2004
@@ -55,6 +55,7 @@
<!ELEMENT disable-xml-link (#PCDATA)>
<!ELEMENT disable-external-link-image (#PCDATA)>
<!ELEMENT disable-compliance-links (#PCDATA)>
+ <!ATTLIST disable-compliance-links align CDATA #IMPLIED>
<!ELEMENT obfuscate-mail-links (#PCDATA)>
<!ELEMENT disable-font-script (#PCDATA)>
<!ELEMENT project-name (#PCDATA)>
Modified: forrest/trunk/src/core/context/skins/pelt-dev/css/screen.css
==============================================================================
--- forrest/trunk/src/core/context/skins/pelt-dev/css/screen.css (original)
+++ forrest/trunk/src/core/context/skins/pelt-dev/css/screen.css Tue Aug 10 16:59:40 2004
@@ -313,8 +313,9 @@
text-align: right;
}
#footer a { color: white; }
-#footer .logos img {
- margin-right: 5px;
+
+#footer #logos {
+ text-align: left;
}
Modified: forrest/trunk/src/core/context/skins/pelt-dev/xslt/html/site2xhtml.xsl
==============================================================================
--- forrest/trunk/src/core/context/skins/pelt-dev/xslt/html/site2xhtml.xsl (original)
+++ forrest/trunk/src/core/context/skins/pelt-dev/xslt/html/site2xhtml.xsl Tue Aug 10 16:59:40
2004
@@ -262,8 +262,11 @@
</div>
<xsl:if test="$filename = 'index.html'">
- <div class="logos">
- <!-- W3C logos -->
+ <div id="logos" >
+ <xsl:if test="$config/disable-compliance-links/@align">
+ <xsl:attribute name="style">text-align: <xsl:value-of select="$config/disable-compliance-links/@align"/></xsl:attribute>
+ </xsl:if>
+ <!-- W3C logos style="text-align: center;"-->
<xsl:call-template name="compliancy-logos"/>
<xsl:if test="$filename = 'index.html' and $config/credits and not ($config/credits/credit/@box-location
= 'alt')">
<xsl:for-each select="$config/credits/credit[not(@role='pdf')]">
Modified: forrest/trunk/src/core/fresh-site/src/documentation/skinconf.xml
==============================================================================
--- forrest/trunk/src/core/fresh-site/src/documentation/skinconf.xml (original)
+++ forrest/trunk/src/core/fresh-site/src/documentation/skinconf.xml Tue Aug 10 16:59:40 2004
@@ -45,7 +45,10 @@
<!-- Disable navigation icons on all external links? -->
<disable-external-link-image>false</disable-external-link-image>
- <!-- Disable w3c compliance links? -->
+ <!-- Disable w3c compliance links?
+ Use e.g. align="center" to move the compliance links logos to
+ an alternate location default is left.
+ (if the skin supports it) -->
<disable-compliance-links>false</disable-compliance-links>
<!-- Render mailto: links unrecognisable by spam harvesters? -->
<obfuscate-mail-links>true</obfuscate-mail-links>
|