Changeset 38854 for main/trunk/greenstone3/web/interfaces/default
- Timestamp:
- 2024-03-20T22:31:51+13:00 (2 months ago)
- Location:
- main/trunk/greenstone3/web/interfaces/default/transform
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/default/transform/layouts/header.xsl
r38813 r38854 433 433 </xsl:for-each> 434 434 435 <xsl:for-each select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='GsdlCollageApplet']"> 436 <li> 437 <xsl:choose> 438 <!-- If this tab is selected then colour it differently --> 439 <xsl:when test="/page/pageRequest[@action='a']"> 440 <xsl:attribute name='class'>ui-state-default ui-corner-top ui-tabs-selected ui-state-active</xsl:attribute> 441 </xsl:when> 442 <xsl:otherwise> 443 <xsl:attribute name='class'>ui-state-default ui-corner-top</xsl:attribute> 444 </xsl:otherwise> 445 </xsl:choose> 446 447 <a> 448 <xsl:if test="displayItem[@name='description']"> 449 <xsl:attribute name="title"> 450 <xsl:value-of select="displayItem[@name='description']"/> 451 </xsl:attribute> 452 </xsl:if> 453 <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> 454 <!--<xsl:attribute name="href"><xsl:value-of select="$library_name"/>/collection/<xsl:value-of select="/page/pageResponse/collection/@name"/>/page/collage</xsl:attribute>--> 455 <xsl:value-of select="displayItem[@name='name']"/> 456 </a> 457 </li> 458 </xsl:for-each> 459 435 460 <!-- all other services --> 436 <xsl:for-each select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[not(@type='query') and not(@type='browse') and not (@name='PhindApplet') ]">461 <xsl:for-each select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[not(@type='query') and not(@type='browse') and not (@name='PhindApplet') and not (@name='GsdlCollageApplet')]"> 437 462 <xsl:call-template name="navigationTab"/> 438 463 </xsl:for-each> -
main/trunk/greenstone3/web/interfaces/default/transform/pages/applet.xsl
r33755 r38854 12 12 13 13 <!-- set page title --> 14 <xsl:template name="pageTitle"> The Phind Applet<!--<gslib:collectionName/><xsl:value-of select="/page/pageResponse/service/applet"/>--></xsl:template>14 <xsl:template name="pageTitle">Applet: <!--The Phind Applet--><gslib:collectionName/><xsl:value-of select="/page/pageResponse/service/applet"/></xsl:template> 15 15 16 16 <!-- set page breadcrumbs --> -
main/trunk/greenstone3/web/interfaces/default/transform/pages/classifier.xsl
r38853 r38854 152 152 <!-- Copied from GS2.88's about.dm (document.dm has a more applet params). 153 153 154 Modified params: codebase, GsdlCollageApplet class' package, gwcgi, collection, classifier , hrefMustHave. Param isJava2's value changed from auto to true.154 Modified params: codebase, GsdlCollageApplet class' package, gwcgi, collection, classifier value="CL2.3", hrefMustHave value="cl=CL3.1". Param isJava2's value changed from auto to true. 155 155 And made all param XML elements self-closing. 156 156 --> 157 157 <!-- we seem to be in the web dir, so look in web/applet for the jar --> 158 <applet CODEBASE="applet" code="org.greenstone.applet.GsdlCollageApplet.GsdlCollageApplet.class" 159 archive="GsdlCollageApplet.jar" width="445" height="250"> 158 <applet CODEBASE="applet" 159 code="org.greenstone.applet.GsdlCollageApplet.GsdlCollageApplet.class" 160 archive="GsdlCollageApplet.jar" 161 width="445" height="250"> 160 162 161 163 <param name="gwcgi" value="http://localhost:8383/greenstone3/library"/> 162 164 <param name="collection" value="smallbea"/> 163 <param name="classifier" value="CL 2.3"/>165 <param name="classifier" value="CL3.1"/> 164 166 165 <param name="hrefMustHave" value=" smallbea"/>167 <param name="hrefMustHave" value="CL3"/> 166 168 <param name="imageMustNotHave" value="hl=%x=%gt=%gc=%.pr"/> 167 169 170 <!-- 168 171 <param name="imageType" value=".jpg%.png"/> 169 172 <param name="verbosity" value="5"/> … … 171 174 <param name="refreshDelay" value="1500"/> 172 175 <param name="isJava2" value="true"/> 173 176 --> 177 <param name="imageType" value=".jpg%%.png"/> 178 <param name="maxDepth" value="500"/> 179 <param name="maxDisplay" value="25"/> 180 <param name="refreshDelay" value="1500"/> 181 <param name="isJava2" value="auto"/> 182 <param name="bgcolor" value="#96c29a"/> 183 <!--<param name="documentroot" value="/greenstone/web/images"/> for GS2--> 174 184 </applet> 175 185 </xsl:template>
Note:
See TracChangeset
for help on using the changeset viewer.