Changeset 112
- Timestamp:
- 06/24/11 17:21:18 (13 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
- 3 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/form_db.xsl
r108 r112 21 21 $Id$ 22 22 23 - fplod 20110624T144535Z cratos.locean-ipsl.upmc.fr (Linux) 24 25 * add parameters, regions, periods 26 * only show template user characteristics : for example processors for NEMO 27 but not for TROPFLUX 28 29 23 30 - fplod 2008-09-17T09:49:51Z aedon.locean-ipsl.upmc.fr (Darwin) 24 31 … … 54 61 <xsl:include href="compilers_db.xsl"/> 55 62 <xsl:include href="platforms_db.xsl"/> 63 <xsl:include href="regions_db.xsl"/> 64 <xsl:include href="parameters_db.xsl"/> 65 <xsl:include href="periods_db.xsl"/> 56 66 <xsl:include href="components_db.xsl"/> 57 67 <xsl:include href="comments_db.xsl"/> … … 115 125 <xsl:with-param name="visu_modif" select="'modif'"/> 116 126 </xsl:call-template> 117 <xsl:call-template name="components"> 118 <xsl:with-param name="user" select="$user"/> 119 <xsl:with-param name="author_id" select="$author_id"/> 120 <xsl:with-param name="visu_modif" select="'modif'"/> 121 </xsl:call-template> 122 <xsl:call-template name="platforms"> 123 <xsl:with-param name="user" select="$user"/> 124 <xsl:with-param name="author_id" select="$author_id"/> 125 <xsl:with-param name="visu_modif" select="'modif'"/> 126 </xsl:call-template> 127 <xsl:call-template name="processors"> 128 <xsl:with-param name="user" select="$user"/> 129 <xsl:with-param name="author_id" select="$author_id"/> 130 <xsl:with-param name="visu_modif" select="'modif'"/> 131 </xsl:call-template> 132 <xsl:call-template name="compilers"> 133 <xsl:with-param name="user" select="$user"/> 134 <xsl:with-param name="author_id" select="$author_id"/> 135 <xsl:with-param name="visu_modif" select="'modif'"/> 136 </xsl:call-template> 127 <xsl:if test="document('user.xml')/users/user[descendant::userid='template']/components"> 128 <xsl:call-template name="components"> 129 <xsl:with-param name="user" select="$user"/> 130 <xsl:with-param name="author_id" select="$author_id"/> 131 <xsl:with-param name="visu_modif" select="'modif'"/> 132 </xsl:call-template> 133 </xsl:if> 134 <xsl:if test="document('user.xml')/users/user[descendant::userid='template']/platforms"> 135 <xsl:call-template name="platforms"> 136 <xsl:with-param name="user" select="$user"/> 137 <xsl:with-param name="author_id" select="$author_id"/> 138 <xsl:with-param name="visu_modif" select="'modif'"/> 139 </xsl:call-template> 140 </xsl:if> 141 <xsl:if test="document('user.xml')/users/user[descendant::userid='template']/processors"> 142 <xsl:call-template name="processors"> 143 <xsl:with-param name="user" select="$user"/> 144 <xsl:with-param name="author_id" select="$author_id"/> 145 <xsl:with-param name="visu_modif" select="'modif'"/> 146 </xsl:call-template> 147 </xsl:if> 148 <xsl:if test="document('user.xml')/users/user[descendant::userid='template']/compilers"> 149 <xsl:call-template name="compilers"> 150 <xsl:with-param name="user" select="$user"/> 151 <xsl:with-param name="author_id" select="$author_id"/> 152 <xsl:with-param name="visu_modif" select="'modif'"/> 153 </xsl:call-template> 154 </xsl:if> 155 <xsl:if test="document('user.xml')/users/user[descendant::userid='template']/parameters"> 156 <xsl:call-template name="parameters"> 157 <xsl:with-param name="user" select="$user"/> 158 <xsl:with-param name="author_id" select="$author_id"/> 159 <xsl:with-param name="visu_modif" select="'modif'"/> 160 </xsl:call-template> 161 </xsl:if> 162 <xsl:if test="document('user.xml')/users/user[descendant::userid='template']/regions"> 163 <xsl:call-template name="regions"> 164 <xsl:with-param name="user" select="$user"/> 165 <xsl:with-param name="author_id" select="$author_id"/> 166 <xsl:with-param name="visu_modif" select="'modif'"/> 167 </xsl:call-template> 168 </xsl:if> 169 <xsl:if test="document('user.xml')/users/user[descendant::userid='template']/periods"> 170 <xsl:call-template name="periods"> 171 <xsl:with-param name="user" select="$user"/> 172 <xsl:with-param name="author_id" select="$author_id"/> 173 <xsl:with-param name="visu_modif" select="'modif'"/> 174 </xsl:call-template> 175 </xsl:if> 137 176 <xsl:choose> 138 177 <xsl:when test="$bibmode= 'yes'"> -
trunk/install.sh
r109 r112 58 58 # 59 59 # * add -l parameter only used in specific case at LOCEAN when user 60 # parameter of persoweb must be different t than login (ex: acmo vs fplod)60 # parameter of persoweb must be different than login (ex: acmo vs fplod) 61 61 # * replace http://www.lodyc.jussieu.fr/info_reseau/persoweb/?fastupdate=1&user=${user}" by 62 62 # http://intranet.locean-ipsl.upmc.fr/persoweb/?fastupdate=1&user=${user} -
trunk/parameters_db.xsl
r111 r112 5 5 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 6 6 7 <!-- 8 module : 9 creation des élements platforms de formulaire 7 <!--rst 10 8 11 update : 9 DESCRIPTION 10 =========== 11 12 creation des élements parameters de formulaire 13 14 EVOLUTIONS 15 ========== 16 12 17 $Id$ 13 fplod 2008-04-29T09:05:29Z aedon.locean-ipsl.upmc.fr (Darwin) 14 chgt for dbk5 15 fplod 2007-05-18T10:25:06Z aedon.locean-ipsl.upmc.fr (Darwin) 16 correction pour cause de dysfonctionnement sous firefox (mais ok sous safari) : 17 Le 1er choix est modifié si on clique sur un des choix suivant 18 fplod 2007-04-26T10:14:40Z aedon.locean-ipsl.upmc.fr (Darwin) 19 creation 18 $URL$ 19 20 - fplod 20110624T143549Z aedon.locean-ipsl.upmc.fr (Darwin) 21 22 * creation 23 20 24 --> 21 25 22 <xsl:template name="p latforms">26 <xsl:template name="parameters"> 23 27 <xsl:param name="user"/> 24 28 <xsl:param name="author_id"/> … … 27 31 <xsl:text>
</xsl:text> 28 32 <xsl:element name="html:fieldset"> 29 <xsl:attribute name="xml:id">p latforms_<xsl:value-of select="$author_id"/></xsl:attribute>33 <xsl:attribute name="xml:id">parameters_<xsl:value-of select="$author_id"/></xsl:attribute> 30 34 <xsl:text>
</xsl:text> 31 35 <xsl:element name="html:legend"> 32 Used p latforms36 Used parameters 33 37 </xsl:element> 34 38 <xsl:text>
</xsl:text> … … 36 40 <xsl:element name="html:label"> 37 41 --> 38 <xsl:for-each select="$user/p latforms/platform">42 <xsl:for-each select="$user/parameters/parameter"> 39 43 <xsl:sort order="ascending" data-type="text" select="@code"/> 40 44 <xsl:text>
</xsl:text> -
trunk/periods_db.xsl
r111 r112 5 5 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 6 6 7 <!-- 8 module : 9 creation des élements platforms de formulaire 7 <!--rst 10 8 11 update : 9 DESCRIPTION 10 =========== 11 12 creation des élements periods de formulaire 13 14 EVOLUTIONS 15 ========== 16 12 17 $Id$ 13 fplod 2008-04-29T09:05:29Z aedon.locean-ipsl.upmc.fr (Darwin) 14 chgt for dbk5 15 fplod 2007-05-18T10:25:06Z aedon.locean-ipsl.upmc.fr (Darwin) 16 correction pour cause de dysfonctionnement sous firefox (mais ok sous safari) : 17 Le 1er choix est modifié si on clique sur un des choix suivant 18 fplod 2007-04-26T10:14:40Z aedon.locean-ipsl.upmc.fr (Darwin) 19 creation 18 $URL$ 19 20 - fplod 20110624T143549Z aedon.locean-ipsl.upmc.fr (Darwin) 21 22 * creation 23 20 24 --> 21 25 22 <xsl:template name="p latforms">26 <xsl:template name="periods"> 23 27 <xsl:param name="user"/> 24 28 <xsl:param name="author_id"/> … … 27 31 <xsl:text>
</xsl:text> 28 32 <xsl:element name="html:fieldset"> 29 <xsl:attribute name="xml:id">p latforms_<xsl:value-of select="$author_id"/></xsl:attribute>33 <xsl:attribute name="xml:id">periods_<xsl:value-of select="$author_id"/></xsl:attribute> 30 34 <xsl:text>
</xsl:text> 31 35 <xsl:element name="html:legend"> 32 Used p latforms36 Used periods 33 37 </xsl:element> 34 38 <xsl:text>
</xsl:text> … … 36 40 <xsl:element name="html:label"> 37 41 --> 38 <xsl:for-each select="$user/p latforms/platform">42 <xsl:for-each select="$user/periods/period"> 39 43 <xsl:sort order="ascending" data-type="text" select="@code"/> 40 44 <xsl:text>
</xsl:text> -
trunk/regions_db.xsl
r111 r112 5 5 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 6 6 7 <!-- 8 module : 9 creation des élements platforms de formulaire 7 <!--rst 10 8 11 update : 9 DESCRIPTION 10 =========== 11 12 creation des élements regions de formulaire 13 14 EVOLUTIONS 15 ========== 16 12 17 $Id$ 13 fplod 2008-04-29T09:05:29Z aedon.locean-ipsl.upmc.fr (Darwin) 14 chgt for dbk5 15 fplod 2007-05-18T10:25:06Z aedon.locean-ipsl.upmc.fr (Darwin) 16 correction pour cause de dysfonctionnement sous firefox (mais ok sous safari) : 17 Le 1er choix est modifié si on clique sur un des choix suivant 18 fplod 2007-04-26T10:14:40Z aedon.locean-ipsl.upmc.fr (Darwin) 19 creation 18 $URL$ 19 20 - fplod 20110624T143549Z aedon.locean-ipsl.upmc.fr (Darwin) 21 22 * creation 23 20 24 --> 21 25 22 <xsl:template name=" platforms">26 <xsl:template name="regions"> 23 27 <xsl:param name="user"/> 24 28 <xsl:param name="author_id"/> … … 27 31 <xsl:text>
</xsl:text> 28 32 <xsl:element name="html:fieldset"> 29 <xsl:attribute name="xml:id"> platforms_<xsl:value-of select="$author_id"/></xsl:attribute>33 <xsl:attribute name="xml:id">regions_<xsl:value-of select="$author_id"/></xsl:attribute> 30 34 <xsl:text>
</xsl:text> 31 35 <xsl:element name="html:legend"> 32 Used platforms36 Used regions 33 37 </xsl:element> 34 38 <xsl:text>
</xsl:text> … … 36 40 <xsl:element name="html:label"> 37 41 --> 38 <xsl:for-each select="$user/ platforms/platform">42 <xsl:for-each select="$user/regions/region"> 39 43 <xsl:sort order="ascending" data-type="text" select="@code"/> 40 44 <xsl:text>
</xsl:text> -
trunk/superbibmany02_xml.xsl
r108 r112 13 13 superbibmany02_xml.xsl 14 14 ====================== 15 16 --------------------------------------------------------------------------------------------------------------17 produce one DocBook 5 with a form containing bibliograhy references and general information of one author/user18 --------------------------------------------------------------------------------------------------------------19 15 20 16 DESCRIPTION -
trunk/user_db.xsl
r108 r112 21 21 $Id$ 22 22 23 - fplod 20110624T144535Z cratos.locean-ipsl.upmc.fr (Linux) 24 25 * add parameters, regions, periods 26 * only show template user characteristics : for example processors for NEMO 27 but not for TROPFLUX 28 23 29 - fplod 2008-09-17T09:49:51Z aedon.locean-ipsl.upmc.fr (Darwin) 24 30 … … 52 58 <xsl:include href="platforms_db.xsl"/> 53 59 <xsl:include href="processors_db.xsl"/> 60 <xsl:include href="regions_db.xsl"/> 61 <xsl:include href="parameters_db.xsl"/> 62 <xsl:include href="periods_db.xsl"/> 54 63 55 64 <xsl:output … … 165 174 <xsl:text>
</xsl:text> 166 175 <xsl:element name="para"> <!-- ++ para ou form --> 167 <xsl:call-template name="components"> 168 <xsl:with-param name="user" select="."/> 169 <xsl:with-param name="author_id" select="./userid"/> 170 <xsl:with-param name="visu_modif" select="'visu'"/> 171 </xsl:call-template> 172 <xsl:call-template name="platforms"> 173 <xsl:with-param name="user" select="."/> 174 <xsl:with-param name="author_id" select="./userid"/> 175 <xsl:with-param name="visu_modif" select="'visu'"/> 176 </xsl:call-template> 177 <xsl:call-template name="processors"> 178 <xsl:with-param name="user" select="."/> 179 <xsl:with-param name="author_id" select="./userid"/> 180 <xsl:with-param name="visu_modif" select="'visu'"/> 181 </xsl:call-template> 182 <xsl:call-template name="compilers"> 183 <xsl:with-param name="user" select="."/> 184 <xsl:with-param name="author_id" select="./userid"/> 185 <xsl:with-param name="visu_modif" select="'visu'"/> 186 </xsl:call-template> 176 <xsl:if test="document('user.xml')/users/user[descendant::userid='template']/components"> 177 <xsl:call-template name="components"> 178 <xsl:with-param name="user" select="."/> 179 <xsl:with-param name="author_id" select="./userid"/> 180 <xsl:with-param name="visu_modif" select="'visu'"/> 181 </xsl:call-template> 182 </xsl:if> 183 <xsl:if test="document('user.xml')/users/user[descendant::userid='template']/platforms"> 184 <xsl:call-template name="platforms"> 185 <xsl:with-param name="user" select="."/> 186 <xsl:with-param name="author_id" select="./userid"/> 187 <xsl:with-param name="visu_modif" select="'visu'"/> 188 </xsl:call-template> 189 </xsl:if> 190 <xsl:if test="document('user.xml')/users/user[descendant::userid='template']/processors"> 191 <xsl:call-template name="processors"> 192 <xsl:with-param name="user" select="."/> 193 <xsl:with-param name="author_id" select="./userid"/> 194 <xsl:with-param name="visu_modif" select="'visu'"/> 195 </xsl:call-template> 196 </xsl:if> 197 <xsl:if test="document('user.xml')/users/user[descendant::userid='template']/compilers"> 198 <xsl:call-template name="compilers"> 199 <xsl:with-param name="user" select="."/> 200 <xsl:with-param name="author_id" select="./userid"/> 201 <xsl:with-param name="visu_modif" select="'visu'"/> 202 </xsl:call-template> 203 </xsl:if> 204 <xsl:if test="document('user.xml')/users/user[descendant::userid='template']/parameters"> 205 <xsl:call-template name="parameters"> 206 <xsl:with-param name="user" select="."/> 207 <xsl:with-param name="author_id" select="./userid"/> 208 <xsl:with-param name="visu_modif" select="'visu'"/> 209 </xsl:call-template> 210 </xsl:if> 211 <xsl:if test="document('user.xml')/users/user[descendant::userid='template']/regions"> 212 <xsl:call-template name="regions"> 213 <xsl:with-param name="user" select="."/> 214 <xsl:with-param name="author_id" select="./userid"/> 215 <xsl:with-param name="visu_modif" select="'visu'"/> 216 </xsl:call-template> 217 </xsl:if> 218 <xsl:if test="document('user.xml')/users/user[descendant::userid='template']/periods"> 219 <xsl:call-template name="periods"> 220 <xsl:with-param name="user" select="."/> 221 <xsl:with-param name="author_id" select="./userid"/> 222 <xsl:with-param name="visu_modif" select="'visu'"/> 223 </xsl:call-template> 224 </xsl:if> 187 225 <xsl:text>
</xsl:text> 188 226 </xsl:element>
Note: See TracChangeset
for help on using the changeset viewer.