Ignore:
Timestamp:
2012-04-23T18:03:33+12:00 (12 years ago)
Author:
ak19
Message:

If we append debuginfo=on or true or 1 to the greenstone URL, then we get a debuginfo button which, when clicked, will display the debuginfo.xsl page. This page specifies the various greenstone3 debug URL suffixes such as o=xml and formatedit=on.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/oran/transform/layouts/header.xsl

    r25436 r25457  
    299299                </xsl:choose>
    300300            </li>
     301            <!-- debuginfo -->
     302            <xsl:if test="/page/pageRequest/paramList/param[(@name='debuginfo') and (@value='on' or @value='true' or @value='1')]">
     303              <li class="ui-state-default ui-corner-all">
     304                <a href="{$library_name}/collection/{$collNameChecked}/page/debuginfo">
     305                  <xsl:attribute name="title"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'debuginfo_tip')"/></xsl:attribute>
     306                  <ul>
     307                <li><span><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'debuginfo_b')"/></span></li>
     308                <li><span class="ui-icon ui-icon-info"><xsl:text> </xsl:text></span></li>
     309                  </ul>
     310                </a>
     311              </li>
     312            </xsl:if>
    301313        </ul>
    302314    </xsl:template>
Note: See TracChangeset for help on using the changeset viewer.