1
<?xml version="1.0" encoding="UTF-8"?>
2
<xsl:stylesheet version="1.0"
3
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
6
HTML 4.01 Transitional - protocol text replaced with icons
8
NOTE: You will have to create a dir 'images' at the
9
upload location containing the files named below.
13
Import the HTML XSL sheet, and replace the <protocol>
14
handling with our own template.
17
<xsl:import href="webpresence_html.xsl"/>
20
You can change the image directory with this variable.
23
<xsl:variable name="images">images</xsl:variable>
25
<xsl:template match="protocol">
27
<xsl:when test=".='MSNProtocol'">
28
<img src="{$images}/msn_protocol.png" alt="MSN" title="MSN"/>
30
<xsl:when test=".='ICQProtocol'">
31
<img src="{$images}/icq_protocol.png" alt="ICQ" title="ICQ"/>
33
<xsl:when test=".='JabberProtocol'">
34
<img src="{$images}/jabber_protocol.png" alt="Jabber" title="Jabber"/>
36
<xsl:when test=".='YahooProtocol'">
37
<img src="{$images}/yahoo_protocol.png" alt="Yahoo" title="Yahoo"/>
39
<xsl:when test=".='AIMProtocol'">
40
<img src="{$images}/aim_protocol.png" alt="AIM" title="AIM"/>
42
<xsl:when test=".='IRCProtocol'">
43
<img src="{$images}/irc_protocol.png" alt="IRC" title="IRC"/>
45
<xsl:when test=".='SMSProtocol'">
46
<img src="{$images}/sms_protocol.png" alt="SMS" title="SMS"/>
48
<xsl:when test=".='GaduProtocol'">
49
<img src="{$images}/gadu_protocol.png" alt="Gadu-Gadu" title="Gadu-Gadu"/>
51
<xsl:when test=".='WPProtocol'">
52
<img src="{$images}/winpopup_protocol.png" alt="WinPopup" title="WinPopup"/>
59
<!-- vim: set ts=4 sts=4 sw=4: -->