source: main/trunk/greenstone3/web/interfaces/default/transform/pages/debuginfo.xsl@ 27890

Last change on this file since 27890 was 27890, checked in by ak19, 8 years ago

Cosmetic change

File size: 2.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<xsl:stylesheet version="1.0"
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4 xmlns:java="http://xml.apache.org/xslt/java"
5 xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
6 xmlns:gslib="http://www.greenstone.org/skinning"
7 extension-element-prefixes="java util"
8 exclude-result-prefixes="java util">
9
10 <!-- use the 'main' layout -->
11 <xsl:include href="layouts/main.xsl"/>
12 <xsl:variable name="debug_property_file" select="concat($interface_name, '2')"/>
13 <!-- set page title -->
14 <xsl:template name="pageTitle">
15 <gslib:collectionName/>
16 </xsl:template>
17
18 <!-- set page breadcrumbs -->
19 <xsl:template name="breadcrumbs">
20 <gslib:siteLink/>
21 <gslib:rightArrow/>
22 </xsl:template>
23
24 <!-- the page content -->
25 <xsl:template match="/page">
26 <p>
27 <xsl:value-of select="util:getInterfaceText($debug_property_file, /page/@lang, 'debuginfo.usage')"/>
28 </p>
29
30 <dl>
31 <dt>o=xml</dt>
32 <dd>
33 <xsl:value-of select="util:getInterfaceText($debug_property_file, /page/@lang, 'debuginfo.xml')"/>
34 </dd>
35 <dt>o=xmlfinal</dt>
36 <dd>
37 <xsl:value-of select="util:getInterfaceText($debug_property_file, /page/@lang, 'debuginfo.xmlfinal')"/>
38 </dd>
39 <dt>o=skindoc</dt>
40 <dd>
41 <xsl:value-of select="util:getInterfaceText($debug_property_file, /page/@lang, 'debuginfo.skindoc')"/>
42 </dd>
43 <dt>o=skinandlib</dt>
44 <dd>
45 <xsl:value-of select="util:getInterfaceText($debug_property_file, /page/@lang, 'debuginfo.skinandlib')"/>
46 </dd>
47 <dt>o=skinandlibdoc</dt>
48 <dd>
49 <xsl:value-of select="util:getInterfaceText($debug_property_file, /page/@lang, 'debuginfo.skinandlibdoc')"/>
50 </dd>
51 <dt>formatedit=on</dt>
52 <dd>
53 <xsl:value-of select="util:getInterfaceText($debug_property_file, /page/@lang, 'debuginfo.formatedit')"/>
54 </dd>
55 </dl>
56
57 <!-- better to do the following with a util:getInterfaceText
58 so language independent -->
59 <p>
60 <xsl:value-of select="util:getInterfaceText($debug_property_file, /page/@lang, 'debuginfo.refreshconfig')"/>
61 </p>
62
63 <dl>
64 <!--<a href="http://host:port/greenstone3/library?a=s&sa=c">a=s&amp;sa=c</a>-->
65 <dt>
66 <a href="{$library_name}?a=s&amp;sa=c">a=s&amp;sa=c</a>
67 </dt>
68
69 <dd>
70 <xsl:value-of select="util:getInterfaceText($debug_property_file, /page/@lang, 'debuginfo.reconfigsite')"/>
71 </dd>
72 </dl>
73
74 <a href="{$library_name}?a=de&amp;c={/page/pageResponse/collection/@name}">Depositor</a>
75
76 </xsl:template>
77</xsl:stylesheet>
78
Note: See TracBrowser for help on using the repository browser.