Changeset 38951
- Timestamp:
- 2024-04-25T17:11:09+12:00 (5 hours ago)
- Location:
- main/trunk
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/buildConfigxml.pm
r38854 r38951 764 764 my $count = 1; 765 765 my $phind = 0; 766 my $collage = 0;767 766 my $started_classifiers = 0; 768 767 … … 776 775 #should add it into coll config classifiers 777 776 next; 778 }779 if ($classname =~ /^collage$/i) {780 $collage=1;781 #should add it into coll config classifiers782 777 } 783 778 … … 843 838 &write_line('COLCFG', ["<serviceRack name=\"PhindPhraseBrowse\" />"]); 844 839 } 845 # the collage classifier is a separate service 846 if ($collage) { 847 # if phind classifier 848 &write_line('COLCFG', ["<serviceRack name=\"GsdlCollageBrowse\" />"]); 849 } 840 850 841 851 842 &write_line('COLCFG', ["</serviceRackList>"]); -
main/trunk/greenstone3/web/interfaces/default/transform/layouts/header.xsl
r38874 r38951 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 460 435 <!-- all other services --> 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')]">436 <xsl:for-each select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[not(@type='query') and not(@type='browse') and not (@name='PhindApplet')]"> 462 437 <xsl:call-template name="navigationTab"/> 463 438 </xsl:for-each>
Note:
See TracChangeset
for help on using the changeset viewer.