egroupware_official/addressbook/templates/default/help_data.xsl
2002-12-24 03:57:21 +00:00

186 lines
5.2 KiB
XML

<!-- $Id$ -->
<xsl:template name="help_data">
<xsl:apply-templates select="xhelp"/>
</xsl:template>
<xsl:template match="xhelp">
<xsl:choose>
<xsl:when test="overview">
<xsl:apply-templates select="overview"/>
</xsl:when>
<xsl:when test="list">
<xsl:apply-templates select="list"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="add"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="overview">
<table>
<tr>
<td>
<xsl:value-of disable-output-escaping="yes" select="intro"/>
</td>
</tr>
<tr>
<td>
<xsl:value-of disable-output-escaping="yes" select="prefs_settings"/>
</td>
</tr>
</table>
</xsl:template>
<xsl:template match="list">
<xsl:variable name="list_img" select="list_img"/>
<table>
<tr>
<td colspan="2">
<img src="{$list_img}"/>
</td>
</tr>
<tr>
<td valign="top" align="right">1</td>
<td><xsl:value-of disable-output-escaping="yes" select="item_1"/></td>
</tr>
<tr>
<td valign="top" align="right">2</td>
<td><xsl:value-of disable-output-escaping="yes" select="item_2"/></td>
</tr>
<tr>
<td valign="top" align="right">3</td>
<td><xsl:value-of disable-output-escaping="yes" select="item_3"/></td>
</tr>
<tr>
<td valign="top" align="right">4</td>
<td><xsl:value-of disable-output-escaping="yes" select="item_4"/></td>
</tr>
<tr>
<td valign="top" align="right">5</td>
<td><xsl:value-of disable-output-escaping="yes" select="item_5"/></td>
</tr>
<tr>
<td valign="top" align="right">6</td>
<td><xsl:value-of disable-output-escaping="yes" select="item_6"/></td>
</tr>
<tr>
<td colspan="2"><u><xsl:value-of disable-output-escaping="yes" select="h_data"/></u></td>
</tr>
<tr>
<td valign="top" align="right">7</td>
<td><xsl:value-of disable-output-escaping="yes" select="item_7"/></td>
</tr>
<tr>
<td valign="top" align="right">8</td>
<td><xsl:value-of disable-output-escaping="yes" select="item_8"/></td>
</tr>
<tr>
<td valign="top" align="right">9</td>
<td><xsl:value-of disable-output-escaping="yes" select="item_9"/></td>
</tr>
<tr>
<td valign="top" align="right">10</td>
<td><xsl:value-of disable-output-escaping="yes" select="item_10"/></td>
</tr>
<tr>
<td valign="top" align="right">11</td>
<td><xsl:value-of disable-output-escaping="yes" select="item_11"/></td>
</tr>
<tr>
<td valign="top" align="right">12</td>
<td><xsl:value-of disable-output-escaping="yes" select="item_12"/></td>
</tr>
<tr>
<td valign="top" align="right">13</td>
<td><xsl:value-of disable-output-escaping="yes" select="item_13"/></td>
</tr>
<tr>
<td valign="top" align="right">14</td>
<td><xsl:value-of disable-output-escaping="yes" select="item_14"/></td>
</tr>
<tr>
<td valign="top" align="right">15</td>
<td><xsl:value-of disable-output-escaping="yes" select="item_15"/></td>
</tr>
<tr>
<td valign="top" align="right">16</td>
<td><xsl:value-of disable-output-escaping="yes" select="item_16"/></td>
</tr>
<tr>
<td valign="top" align="right">17</td>
<td><xsl:value-of disable-output-escaping="yes" select="item_17"/></td>
</tr>
<tr>
<td valign="top" align="right">18</td>
<td><xsl:value-of disable-output-escaping="yes" select="item_18"/></td>
</tr>
</table>
</xsl:template>
<xsl:template match="add">
<xsl:variable name="add_img" select="add_img"/>
<table>
<tr>
<td colspan="2">
<img src="{$add_img}"/>
</td>
</tr>
<tr>
<td valign="top" align="right">1</td>
<td><xsl:value-of disable-output-escaping="yes" select="item_1"/></td>
</tr>
<tr>
<td colspan="2">
<table width="80%" bgcolor="#ccddeb">
<tr>
<td><xsl:value-of select="lang_lastname"/>:</td>
<td><xsl:value-of select="lang_firstname"/>:</td>
</tr>
<tr>
<td><xsl:value-of select="lang_email"/>:</td>
<td><xsl:value-of select="lang_company"/>:</td>
</tr>
<tr>
<td><xsl:value-of select="lang_homephone"/>:</td>
<td><xsl:value-of select="lang_fax"/>:</td>
</tr>
<tr>
<td><xsl:value-of select="lang_workphone"/>:</td>
<td><xsl:value-of select="lang_pager"/>:</td>
</tr>
<tr>
<td><xsl:value-of select="lang_mobile"/>:</td>
<td><xsl:value-of select="lang_othernumber"/>:</td>
</tr>
<tr>
<td><xsl:value-of select="lang_street"/>:</td>
<td><xsl:value-of select="lang_city"/>:</td>
</tr>
<tr>
<td><xsl:value-of select="lang_state"/>:</td>
<td><xsl:value-of select="lang_zip"/>:</td>
</tr>
<tr>
<td><xsl:value-of select="lang_access"/>:</td>
<td><xsl:value-of select="lang_groupsettings"/>:</td>
</tr>
<tr>
<td><xsl:value-of select="lang_notes"/>:</td>
<td><xsl:value-of select="lang_birthday"/>:</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2"><xsl:value-of disable-output-escaping="yes" select="access_descr"/></td>
</tr>
<tr>
<td valign="top" align="right">2</td>
<td><xsl:value-of disable-output-escaping="yes" select="item_2"/></td>
</tr>
</table>
</xsl:template>