root/main/trunk/greenstone3/web/interfaces/default/transform/pages/debuginfo.xsl @ 26484

Revision 26484, 2.1 KB (checked in by kjdon, 7 years ago)

putting lesser used text strings into interface_default2.properties - help and debug pages

RevLine 
[25457]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"/>
[26484]12  <xsl:variable name="debug_property_file" select="concat($interface_name, '2')"/>
[25457]13    <!-- set page title -->
14    <xsl:template name="pageTitle"><gslib:collectionName/></xsl:template>
15
16    <!-- set page breadcrumbs -->
17    <xsl:template name="breadcrumbs"><gslib:siteLink/><gslib:rightArrow/></xsl:template>
18
19    <!-- the page content -->
20    <xsl:template match="/page">
[26484]21      <p><xsl:value-of select="util:getInterfaceText($debug_property_file, /page/@lang, 'debuginfo.usage')"/></p>
[25457]22
23      <dl>
24        <dt>o=xml</dt>
[26484]25        <dd><xsl:value-of select="util:getInterfaceText($debug_property_file, /page/@lang, 'debuginfo.xml')"/></dd>
[25457]26        <dt>o=xmlfinal</dt>
[26484]27        <dd><xsl:value-of select="util:getInterfaceText($debug_property_file, /page/@lang, 'debuginfo.xmlfinal')"/></dd>
[25457]28        <dt>o=skindoc</dt>
[26484]29        <dd><xsl:value-of select="util:getInterfaceText($debug_property_file, /page/@lang, 'debuginfo.skindoc')"/></dd>
[25457]30        <dt>o=skinandlib</dt>
[26484]31        <dd><xsl:value-of select="util:getInterfaceText($debug_property_file, /page/@lang, 'debuginfo.skinandlib')"/></dd>
[25457]32        <dt>o=skinandlibdoc</dt>
[26484]33        <dd><xsl:value-of select="util:getInterfaceText($debug_property_file, /page/@lang, 'debuginfo.skinandlibdoc')"/></dd>
[25457]34        <dt>formatedit=on</dt>
[26484]35        <dd><xsl:value-of select="util:getInterfaceText($debug_property_file, /page/@lang, 'debuginfo.formatedit')"/></dd>
[25457]36      </dl>   
37
[26144]38
39
40
[26484]41      <!-- better to do the following with a util:getInterfaceText
[26144]42           so language independent -->
43      <p>Refresh all the collection configuration files:</p>
44
45      <dl>
46        <dt>a=s&amp;sa=c</dt>
47
48        <dd>
49          Reconfigures the whole site. Reads in siteCog.xml,
50          reloads all the collections.
51        </dd>
52      </dl>
53
54
[25457]55    </xsl:template>
56
57
58</xsl:stylesheet> 
59
Note: See TracBrowser for help on using the browser.