Changeset 26133
- Timestamp:
- 2012-08-28T12:22:10+12:00 (12 years ago)
- Location:
- main/trunk/greenstone3
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/action/AppletAction.java
r25635 r26133 98 98 page_response.appendChild(service_elem); 99 99 100 //append site metadata 101 addSiteMetadata(page_response, userContext); 102 //addInterfaceOptions(page_response); 100 103 return result; 101 104 -
main/trunk/greenstone3/web/interfaces/default/interfaceConfig.xml
r25936 r26133 16 16 <action class="DocumentAction" name="d" xslt="pages/document.xsl"/> 17 17 18 <action class="AppletAction" name="a" xslt=" applet.xsl"/>18 <action class="AppletAction" name="a" xslt="pages/applet.xsl"/> 19 19 <action class="XMLDocumentAction" name="xd"> 20 20 <subaction name="toc" xslt="pages/document-toc.xsl"/> -
main/trunk/greenstone3/web/interfaces/default/transform/layouts/header.xsl
r26120 r26133 147 147 </xsl:if> 148 148 149 <!-- PhindApplet. Need something similar for the Collage applet too, probably --> 150 <xsl:for-each select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='PhindApplet']"> 151 <li> 152 <xsl:choose> 153 <!-- If this tab is selected then colour it differently --> 154 <xsl:when test="/page/pageRequest[@action='a']"> 155 <xsl:attribute name='class'>ui-state-default ui-corner-top ui-tabs-selected ui-state-active</xsl:attribute> 156 </xsl:when> 157 <xsl:otherwise> 158 <xsl:attribute name='class'>ui-state-default ui-corner-top</xsl:attribute> 159 </xsl:otherwise> 160 </xsl:choose> 161 162 <a> 163 <xsl:if test="displayItem[@name='description']"> 164 <xsl:attribute name="title"> 165 <xsl:value-of select="displayItem[@name='description']"/> 166 </xsl:attribute> 167 </xsl:if> 168 <xsl:attribute name="href"><xsl:value-of select="$library_name"/>?a=a&rt=d&s=<xsl:value-of select="@name"/>&c=<xsl:value-of select="/page/pageResponse/collection/@name"/></xsl:attribute> 169 <xsl:value-of select="displayItem[@name='name']"/> 170 </a> 171 </li> 172 </xsl:for-each> 173 149 174 <!-- all other services --> 150 <xsl:for-each select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[not(@type='query') and not(@type='browse') ]">175 <xsl:for-each select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[not(@type='query') and not(@type='browse') and not (@name='PhindApplet')]"> 151 176 <xsl:call-template name="navigationTab"/> 152 177 </xsl:for-each>
Note:
See TracChangeset
for help on using the changeset viewer.