Develop and Download Open Source Software

Browse CVS Repository

Contents of /openlaszlo/openlaszlo-i18n-src/quick-index.xslt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Sun Dec 4 15:28:37 2005 UTC (18 years, 4 months ago) by togawamanabu
Branch: MAIN, OpenLaszlo
CVS Tags: lps-3_1, HEAD
Changes since 1.1: +0 -0 lines
import openlaszlo3.1

1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- quick-index.xslt -->
3 <!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
4 * Copyright 2001-2004 Laszlo Systems, Inc. All Rights Reserved. *
5 * Use is subject to license terms. *
6 * X_LZ_COPYRIGHT_END ****************************************************** -->
7
8 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
9 version="1.0">
10 <xsl:output method="html" indent="yes" />
11
12 <xsl:template match="/menu">
13 <html>
14 <head>
15 <title>Laszlo Presentation Server Quick Index</title>
16 <link rel="STYLESHEET" type="text/css" href="lps/includes/styles.css"/>
17 <link rel="SHORTCUT ICON" href="http://www.laszlosystems.com/images/laszlo.ico"/>
18 <script src="lps/includes/script.js" type="text/javascript"></script>
19 </head>
20 <body>
21 <div align="right"><img border="0" src="lps/includes/logo_web_sm.gif"/></div>
22 <h1>Laszlo Presentation Server Quick Index</h1>
23
24 <p>If this is the first time you've run Laszlo Presentation Server
25 or you are looking for an introduction, please try
26 the <a href="laszlo-explorer">Laszlo Explorer</a>.
27 </p>
28 <ul>
29 <xsl:apply-templates select="*[not(@name='Laszlo in 10 Minutes')]"/>
30 </ul>
31 <hr/>
32 <!-- * H_LZ_COPYRIGHT_BEGIN *********************************************** -->
33 <p class="copyright">Copyright �� 2002-2004 <a target="_top"
34 href="http://www.laszlosystems.com/">Laszlo Systems, Inc.</a>
35 All Rights Reserved. Unauthorized use, duplication or
36 distribution is strictly prohibited. This is the proprietary
37 information of Laszlo Systems, Inc. Use is subject to license terms.</p>
38 <!-- * H_LZ_COPYRIGHT_END ************************************************* -->
39 <p>LPS @VERSIONID@ build @BUILDID@ </p>
40 </body>
41 </html>
42 </xsl:template>
43
44 <xsl:template match="*">
45 <li>
46 <xsl:element name="a">
47 <xsl:attribute name="href">
48 <xsl:choose>
49 <xsl:when test="@action = 'source'">
50 <xsl:text>./lps/utils/viewer/viewer.jsp?file=</xsl:text>
51 <xsl:value-of select="@src"/>
52 </xsl:when>
53 <xsl:when test="@action = 'popup'">
54 <xsl:choose>
55 <xsl:when test="starts-with(@popup, '/')">
56 <xsl:text>.</xsl:text>
57 </xsl:when>
58 <xsl:otherwise>
59 </xsl:otherwise>
60 </xsl:choose>
61 <xsl:value-of select="@popup"/>
62 </xsl:when>
63 <xsl:otherwise>
64 <xsl:text>.</xsl:text>
65 <xsl:value-of select="@src"/>
66 </xsl:otherwise>
67 </xsl:choose>
68 </xsl:attribute>
69 <xsl:if test="@action = 'popup' or @action = 'edit'">
70 <xsl:attribute name="target">
71 <xsl:choose>
72 <xsl:when test="@target != ''">
73 <xsl:value-of select="@target"/>
74 </xsl:when>
75 <xsl:otherwise>_blank</xsl:otherwise>
76 </xsl:choose>
77 </xsl:attribute>
78 </xsl:if>
79 <xsl:value-of select="@name"/>
80 </xsl:element>
81 <xsl:if test="count(@action) = 0 or @action != 'edit'">
82 <xsl:text> </xsl:text>
83 <xsl:value-of select="@text"/>
84 </xsl:if>
85 <!--
86 This would be to pick up more details from nav.xml when present
87 for containing items
88 <xsl:if test="@dir != ''">
89 <xsl:text> </xsl:text>
90 <xsl:element name="a">
91 <xsl:attribute name="href">
92 <xsl:text>.</xsl:text>
93 <xsl:value-of select="@dir"/>
94 </xsl:attribute>
95 <xsl:text>(files)</xsl:text>
96 </xsl:element>
97 </xsl:if>
98 -->
99
100 <xsl:if test="count(*) > 0">
101 <ul>
102 <xsl:apply-templates/>
103 </ul>
104 </xsl:if>
105 </li>
106 </xsl:template>
107 </xsl:stylesheet>

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26