source: trunk/personal_db.xsl @ 164

Last change on this file since 164 was 76, checked in by pinsard, 16 years ago

no more NEMO reference in XSL files; project information (name and home page are in main.xml

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