[2] | 1 | <?xml version="1.0" encoding="iso-8859-1"?> |
---|
[55] | 2 | <xsl:stylesheet |
---|
| 3 | version="1.0" |
---|
| 4 | xmlns:html="http://www.w3.org/1999/xhtml" |
---|
| 5 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
---|
[2] | 6 | |
---|
| 7 | <!-- |
---|
| 8 | module : |
---|
| 9 | creation des élements personal de formulaire |
---|
| 10 | |
---|
| 11 | update : |
---|
[33] | 12 | $Id$ |
---|
[55] | 13 | fplod 2008-04-29T09:03:24Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
| 14 | chgt for dbk5 |
---|
[2] | 15 | fplod 2007-04-26T10:28:19Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
| 16 | creation |
---|
| 17 | --> |
---|
| 18 | |
---|
| 19 | <xsl:template name="personal"> |
---|
[31] | 20 | <xsl:param name="user"/> |
---|
[55] | 21 | <xsl:param name="author_id"/> |
---|
[2] | 22 | <xsl:param name="visu_modif"/> <!-- ++ readonly --> |
---|
| 23 | <xsl:text>
</xsl:text> |
---|
[55] | 24 | <xsl:element name="html:fieldset"> |
---|
| 25 | <xsl:attribute name="xml:id">personal_<xsl:value-of select="$author_id"/></xsl:attribute> |
---|
[2] | 26 | <xsl:text>
</xsl:text> |
---|
[55] | 27 | <xsl:element name="html:legend"> |
---|
[2] | 28 | Personal Information |
---|
| 29 | </xsl:element> |
---|
| 30 | <xsl:text>
</xsl:text> |
---|
[55] | 31 | <xsl:element name="html:label"> |
---|
[2] | 32 | <xsl:text>Lastname: </xsl:text> |
---|
| 33 | <xsl:text>
</xsl:text> |
---|
[55] | 34 | <xsl:element name="html:input"> |
---|
[2] | 35 | <xsl:attribute name="name">personal_surname</xsl:attribute> |
---|
[76] | 36 | <xsl:attribute name="tabindex">1</xsl:attribute> |
---|
[2] | 37 | <xsl:attribute name="type">text</xsl:attribute> |
---|
[76] | 38 | <xsl:attribute name="value"><xsl:value-of select="$user/personname/surname"/></xsl:attribute> |
---|
[2] | 39 | </xsl:element> |
---|
| 40 | </xsl:element> |
---|
| 41 | <xsl:text>
</xsl:text> |
---|
[55] | 42 | <xsl:element name="html:label"> |
---|
[2] | 43 | <xsl:text>Firstname: </xsl:text> |
---|
| 44 | <xsl:text>
</xsl:text> |
---|
[55] | 45 | <xsl:element name="html:input"> |
---|
[2] | 46 | <xsl:attribute name="name">personal_firstname</xsl:attribute> |
---|
[76] | 47 | <xsl:attribute name="tabindex">2</xsl:attribute> |
---|
[2] | 48 | <xsl:attribute name="type">text</xsl:attribute> |
---|
[76] | 49 | <xsl:attribute name="value"><xsl:value-of select="$user/personname/firstname"/></xsl:attribute> |
---|
[2] | 50 | </xsl:element> |
---|
| 51 | </xsl:element> |
---|
| 52 | <xsl:text>
</xsl:text> |
---|
[55] | 53 | <xsl:element name="html:label"> |
---|
[2] | 54 | <xsl:text>Middlename: </xsl:text> |
---|
| 55 | <xsl:text>
</xsl:text> |
---|
[55] | 56 | <xsl:element name="html:input"> |
---|
[2] | 57 | <xsl:attribute name="name">personal_middlename</xsl:attribute> |
---|
[76] | 58 | <xsl:attribute name="tabindex">3</xsl:attribute> |
---|
[2] | 59 | <xsl:attribute name="type">text</xsl:attribute> |
---|
| 60 | <xsl:attribute name="value"></xsl:attribute> <!--++--> |
---|
| 61 | </xsl:element> |
---|
| 62 | </xsl:element> |
---|
| 63 | <xsl:text>
</xsl:text> |
---|
[55] | 64 | <xsl:element name="html:label"> |
---|
[2] | 65 | <xsl:text>email: </xsl:text> |
---|
| 66 | <xsl:text>
</xsl:text> |
---|
[55] | 67 | <xsl:element name="html:input"> |
---|
[2] | 68 | <xsl:attribute name="name">personal_email</xsl:attribute> |
---|
[76] | 69 | <xsl:attribute name="tabindex">4</xsl:attribute> |
---|
[2] | 70 | <xsl:attribute name="type">text</xsl:attribute> |
---|
[76] | 71 | <xsl:attribute name="value"></xsl:attribute> |
---|
| 72 | <xsl:attribute name="value"><xsl:value-of select="$user/email"/></xsl:attribute> |
---|
[2] | 73 | </xsl:element> |
---|
| 74 | </xsl:element> |
---|
| 75 | </xsl:element> |
---|
| 76 | </xsl:template> |
---|
| 77 | |
---|
| 78 | </xsl:stylesheet> |
---|