Changeset 38951


Ignore:
Timestamp:
2024-04-25T17:11:09+12:00 (5 hours ago)
Author:
anupama
Message:

Removing the temporary GS3 runtime Service class GsdlCollageBrowse.java and changes in buildConfigxml.pm and header.xsl needed to work with this that were added in order to get the GsdlCollageApplet to run in some manner and get some idea as to how it was to work/look. Since we've got it working the ideal way, these no longer used temporary changes are no longer necessary.

Location:
main/trunk
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/buildConfigxml.pm

    r38854 r38951  
    764764    my $count = 1;
    765765    my $phind = 0;
    766     my $collage = 0;
    767766    my $started_classifiers = 0;
    768767
     
    776775    #should add it into coll config classifiers
    777776    next;
    778       }
    779       if ($classname =~ /^collage$/i) {
    780     $collage=1;
    781     #should add it into coll config classifiers
    782777      }
    783778     
     
    843838    &write_line('COLCFG', ["<serviceRack name=\"PhindPhraseBrowse\" />"]);
    844839    }
    845     # the collage classifier is a separate service
    846     if ($collage) {
    847     # if phind classifier
    848     &write_line('COLCFG', ["<serviceRack name=\"GsdlCollageBrowse\" />"]);
    849     }
     840
    850841   
    851842    &write_line('COLCFG', ["</serviceRackList>"]);
  • main/trunk/greenstone3/web/interfaces/default/transform/layouts/header.xsl

    r38874 r38951  
    433433    </xsl:for-each>
    434434   
    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&amp;rt=d&amp;s=<xsl:value-of select="@name"/>&amp;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    
    460435    <!-- 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')]">
    462437      <xsl:call-template name="navigationTab"/>
    463438    </xsl:for-each>
Note: See TracChangeset for help on using the changeset viewer.