Ignore:
Timestamp:
11/14/14 19:08:29 (6 years ago)
Author:
ak19
Message:

DebugInfo now switched on when passing debug=yes, previously it only recognised on, true and 1. More params added to the debuginfo page. Don't yet know of a working example for the inline template parameter, itl.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/pages/debuginfo.xsl

    r27890 r29433  
    5555        </dl>     
    5656
     57        <dl>
     58          <dt>ilt=your-inline-template
     59          </dt>
     60          <dd>
     61            <xsl:value-of select="util:getInterfaceText($debug_property_file, /page/@lang, 'debuginfo.inlinetemplate')"/>
     62          </dd>
     63        </dl>
     64        <dl>
     65          <dt>dmd=
     66          </dt>
     67          <dd>
     68            <xsl:value-of select="util:getInterfaceText($debug_property_file, /page/@lang, 'debuginfo.displaymetadata')"/>
     69          </dd>
     70        </dl>
     71
    5772        <!-- better to do the following with a util:getInterfaceText
    5873           so language independent -->
     
    7287        </dl>
    7388
    74         <a href="{$library_name}?a=de&amp;c={/page/pageResponse/collection/@name}">Depositor</a>
    75 
     89        <dl>
     90          <dt>
     91            <a href="{$library_name}?a=de&amp;c={/page/pageResponse/collection/@name}">Depositor (a=de&amp;c=your-collection)</a>
     92          </dt>
     93          <dd>
     94            <xsl:value-of select="util:getInterfaceText($debug_property_file, /page/@lang, 'debuginfo.depositor')"/>
     95          </dd>
     96        </dl>
     97       
    7698    </xsl:template>
    7799</xsl:stylesheet> 
Note: See TracChangeset for help on using the changeset viewer.