Ignore:
Timestamp:
2011-05-17T12:19:08+12:00 (13 years ago)
Author:
sjm84
Message:

Another big set of updates to the Oran interface

Location:
main/trunk/greenstone3/web/interfaces/oran
Files:
12 added
11 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/oran/style/berry.css

    r23989 r24018  
    22    min-height: 22px;
    33    padding: 5px;
    4     margin: 0 0 1em 0;
     4    /*margin: 0 0 1em 0;*/
    55    /* background: #E0F0E0 url("../images/berrybasket.png") scroll no-repeat 0 0; */
    66    background: transparent url("../images/kete2.png") scroll repeat 0 0;
     
    99    font-size: 80%;
    1010    min-height: 2em;
    11 }
    12 
    13 #berrybasket_new {
    14     min-height: 22px;
    15     padding: 5px;
    16     /* background: #E0F0E0 url("../images/berrybasket.png") scroll no-repeat 0 0; */
    17     background: transparent url("../images/kete2.png") scroll repeat 0 0;
    18     z-index:10;
    19     /*cursor: pointer;*/
    20     font-size: 80%;
    21     min-height: 2em;
    22     top:120px;
    23     right:0;
    24     position:fixed;
    25     height:500px;
    26     width:9.5%;
    2711}
    2812
  • main/trunk/greenstone3/web/interfaces/oran/style/core.css

    r24009 r24018  
    6363
    6464.sectionNumberSpan{
    65     /*Uncomment this line to disable automatic section numbering*/
    66     /*display:none;*/
     65    /*Comment out this line to enable automatic section numbering*/
     66    display:none;
    6767}
    6868
     
    8585    height:16px;
    8686    width:16px;
    87 }
    88 
    89 #rbOptionDiv {
    90     background-repeat: no-repeat;
    91     background-image: url('../images/rbook.png');
    92     height: 32px;
    93     width: 32px;
    94 }
    95 
    96 #highlightOptionDiv {
    97     background-repeat: no-repeat;
    98     background-image: url('../images/hl.png');
    99     height: 32px;
    100     width: 32px;
    101 }
    102 
    103 .optionCheckBox {
    104     margin-left:35px;
    105     margin-top:10px;
    106 }
    107 
    108 #bookdiv {
    109    
    11087}
    11188
     
    394371}
    395372
    396 .navList li {
    397     float: left;
    398     margin: 0 0 0 20px;
     373.navList td {
     374    /*float: left;*/
     375    padding-left: 3em;
     376    padding-right: 3em;
     377    text-align:center;
    399378    cursor: pointer;
    400379    color: #fff;
     
    407386}
    408387
    409 .navList li.current {
     388.navList td.current {
    410389    background-color: #efea6e;
    411390    color: #444;
     
    447426#results .document a:visited { background-image: url('../images/book-visited.png'); color: #999; }
    448427#results .shelf>a { background-image: url('../images/bookshelf.png'); }
    449 c
    450428
    451429/* corners of the banner */
  • main/trunk/greenstone3/web/interfaces/oran/transform/document-scripts.xsl

    r24009 r24018  
    169169                {
    170170                    var textDiv = document.getElementById("gs-document-text");
    171                     textDiv.style.display = "none";
     171                    textDiv.style.visibility = "hidden";
    172172                }
    173173               
     
    175175                {
    176176                    var textDiv = document.getElementById("gs-document-text");
    177                     textDiv.style.display = "block";
     177                    textDiv.style.visibility = "visible";
    178178                }
    179179               
     
    183183                    bookDiv.style.visibility = "hidden";
    184184                    bookDiv.style.height = "0px";
     185                   
     186                    var bookObject = document.getElementById("bookObject");
     187                    bookObject.style.visibility = "hidden";
     188                    bookObject.style.height = "0px";
     189                   
     190                    var bookEmbed = document.getElementById("bookEmbed");
     191                    bookEmbed.style.visibility = "hidden";
     192                    bookEmbed.style.height = "0px";
    185193                }
    186194               
     
    190198                    bookDiv.style.visibility = "visible";
    191199                    bookDiv.style.height = "600px";
     200                   
     201                    var bookObject = document.getElementById("bookObject");
     202                    bookObject.style.visibility = "visible";
     203                    bookObject.style.height = "600px";
     204                   
     205                    var bookEmbed = document.getElementById("bookEmbed");
     206                    bookEmbed.style.visibility = "visible";
     207                    bookEmbed.style.height = "600px";
     208                }
     209               
     210                function swapLinkJavascript(rbOn)
     211                {
     212                    var option = document.getElementById("rbOption");
     213                    if(rbOn)
     214                    {
     215                        option.setAttribute("onclick", "hideText(); showBook(); swapLinkJavascript(false);");
     216                    }
     217                    else
     218                    {
     219                        option.setAttribute("onclick", "hideBook(); showText(); swapLinkJavascript(true);");
     220                    }
    192221                }
    193222               
     
    201230                }
    202231               
    203                 function swapLinkJavascript(rbOn)
    204                 {
    205                     var option = document.getElementById("rbOption");
    206                     if(rbOn)
    207                     {
    208                         option.setAttribute("onclick", "hideText(); showBook(); swapLinkJavascript(false);");
    209                     }
    210                     else
    211                     {
    212                         option.setAttribute("onclick", "hideBook(); showText(); swapLinkJavascript(true);");
    213                     }
    214                 }
    215                
    216232                function loadBook()
    217233                {
    218                     //Work out the URL to the cover image and the document
    219                     var img_cover = '</xsl:text><xsl:value-of select="/page/pageResponse/collection/metadataList/metadata[@name='httpPath']"/>/index/assoc/<xsl:value-of select="metadataList/metadata[@name='assocfilepath']"/>/cover.jpg<xsl:text disable-output-escaping="yes">';
    220234                    var doc_url = document.URL;
    221235                    doc_url = doc_url.replace(/(&amp;|\?)book=[a-z]+/gi,'');
    222                     doc_url += '&amp;book=flashxml';   
    223                    
    224                     //The outer OBJECT element
    225                     var objectElem = document.createElement("OBJECT");
    226                     objectElem.setAttribute("align", "middle");
    227                     objectElem.setAttribute("classid", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000");
    228                     objectElem.setAttribute("codebase", "http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0");
    229                     objectElem.setAttribute("height", "600px");
    230                     objectElem.setAttribute("width", "70%");
    231                     objectElem.setAttribute("id", "bookObject");
    232                    
    233                     //Parameter list
    234                     var params = new Array();
    235                     params[0] = createParam("allowScriptAccess", "always");
    236                     params[1] = createParam("movie", "RealisticBook.swf?src_image=" + escape(img_cover) + "&amp;doc_url=" + escape(doc_url));
    237                     params[2] = createParam("quality", "high");
    238                     params[3] = createParam("bgcolor", "#FFFFFF");
    239                    
    240                     //The embed element that goes into the object element
    241                     var embedElem = document.createElement("EMBED");
    242                     embedElem.setAttribute("allowScriptAccess", "always");
    243                     embedElem.setAttribute("swLiveConnect", "true");
    244                     embedElem.setAttribute("bgcolor", "#FFFFFF");
    245                     embedElem.setAttribute("height", "600px");
    246                     embedElem.setAttribute("name", "Book");
    247                     embedElem.setAttribute("pluginspage", "http://www.macromedia.com/go/getflashplayer");
    248                     embedElem.setAttribute("quality", "high");
    249                     embedElem.setAttribute("src", "RealisticBook.swf?src_image=" + escape(img_cover) + "&amp;doc_url=" + escape(doc_url));
    250                     embedElem.setAttribute("type", "application/x-shockwave-flash");
    251                     embedElem.setAttribute("width", "70%");
    252                    
    253                     //Append the param and embed elements to the object element
    254                     for(var i = 0; i &lt; params.length; i++)
    255                     {
    256                         objectElem.appendChild(params[i]);
    257                     }
    258                     objectElem.appendChild(embedElem);
    259                    
    260                     //Append the object element to the page
    261                     var flashDiv = document.getElementById("bookdiv");
    262                     flashDiv.appendChild(objectElem);
     236                    doc_url += '&amp;book=flashxml';
     237                   
     238                    var img_cover = '</xsl:text><xsl:value-of select="/page/pageResponse/collection/metadataList/metadata[@name='httpPath']"/>/index/assoc/<xsl:value-of select="metadataList/metadata[@name='assocfilepath']"/>/cover.jpg<xsl:text disable-output-escaping="yes">';
     239
     240                    var flash_plug_html = ""
     241                    flash_plug_html += '&lt;OBJECT align="middle" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" \n';
     242                    flash_plug_html += '  height="600px" id="bookObject" swLiveConnect="true" \n';
     243                    flash_plug_html += '  codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" \n';
     244                    flash_plug_html += '  width="70%"&gt;\n';
     245                    flash_plug_html += '    &lt;PARAM name="allowScriptAccess" value="always" /&gt;\n';
     246                    flash_plug_html += '    &lt;PARAM name="movie" value="Book.swf';
     247                    flash_plug_html += '?src_image=' + escape(img_cover);
     248                    flash_plug_html += '&amp;doc_url=' + escape(doc_url)
     249                    flash_plug_html += '" /&gt;\n';
     250                    flash_plug_html += '    &lt;PARAM name="quality" value="high" /&gt;\n';
     251                    flash_plug_html += '    &lt;PARAM name="bgcolor" value="#FFFFFF" /&gt;\n';
     252                    flash_plug_html += '    &lt;EMBED align="middle" \n';
     253                    flash_plug_html += '      allowScriptAccess="always" swLiveConnect="true" \n';
     254                    flash_plug_html += '      bgcolor="#FFFFFF" height="600px" name="Book" \n';
     255                    flash_plug_html += '      pluginspage="http://www.macromedia.com/go/getflashplayer" \n';
     256                    flash_plug_html += '      quality="high" id="bookEmbed"\n';
     257                    flash_plug_html += '      src="Book.swf';
     258                    flash_plug_html += '?src_image=' + escape(img_cover);
     259                    flash_plug_html += '&amp;doc_url=' + escape(doc_url);
     260                    flash_plug_html += '"\n';
     261                    flash_plug_html += '      type="application/x-shockwave-flash" width="70%" /&gt;\n';
     262                    flash_plug_html += '&lt;/OBJECT&gt;\n';
     263                    var flash_div = document.getElementById("bookdiv");
     264                    flash_div.innerHTML = flash_plug_html;
     265                }
     266               
     267                if(document.URL.indexOf("book=on") != -1)
     268                {
     269                    loadBook();
    263270                }
    264271            </xsl:text>
  • main/trunk/greenstone3/web/interfaces/oran/transform/pages/berry.xsl

    r23813 r24018  
    2020    <xsl:template match="/page">
    2121        <xsl:variable name="clusterName"><xsl:value-of select="/page/pageRequest/paramList/param[@name='c']/@value"/></xsl:variable>
    22         <script type="text/javascript" src="interfaces/oran/js/berrycheckout.js"><xsl:text> </xsl:text></script>
     22        <script type="text/javascript" src="interfaces/oran/js/berrybasket/berrycheckout.js"><xsl:text> </xsl:text></script>
    2323        <script type="text/javascript">
    24             var doc;
    25             var docList = new Array();
     24            <xsl:text disable-output-escaping="yes">
     25                var doc;
     26                var docList = new Array();
     27               
     28                //Slight hack so we can do things in the dev skin specifically
     29                window.interfaceName = "dev";
     30            </xsl:text>
    2631            <xsl:for-each select="/page/pageResponse/berryList/item">
    2732                <xsl:text disable-output-escaping="yes">doc = new Array();</xsl:text>
     
    3944        </script>
    4045
    41         <div class="navList" id="berryCheckoutOptions">
    42             <ul>
    43                 <li id="fullview" class="current"><span>Full View</span></li>
    44                 <li id="textview"><span>Text View</span></li>
    45                 <li id="email"><span>Email</span></li>
    46             </ul>
     46        <table class="navList" id="berryCheckoutOptions">
     47            <tr>
     48                <td id="fullview" class="current"><span>Full View</span></td>
     49                <td id="textview"><span>Text View</span></td>
     50                <td id="email"><span>Email</span></td>
     51            </tr>
    4752            <div class="clear"><xsl:text> </xsl:text></div>
    48         </div>
     53        </table>
    4954        <div id="berryBasketContent"><span><xsl:text> </xsl:text></span></div>
    5055
  • main/trunk/greenstone3/web/interfaces/oran/transform/pages/classifier.xsl

    r24009 r24018  
    103103                var expandImageURL = "</xsl:text><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'expand_image')"/><xsl:text disable-output-escaping="yes">";
    104104                var loadingImageURL = "</xsl:text><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'loading_image')"/><xsl:text disable-output-escaping="yes">";
     105                var berryBaskets = "</xsl:text><xsl:value-of select="/page/pageRequest/paramList/param[@name='berrybasket']/@value"/><xsl:text disable-output-escaping="yes">";
    105106                var inProgress = new Array();
    106107           
     
    156157
    157158                        var url = document.URL;
    158                         url = url.replace(/(&amp;|\?)cl=([a-z\.0-9]+)/gi, "$1cl=" + sectionID + "&amp;excerptid=div" + sectionID);
     159                        url = url.replace(/(&amp;|\?)cl=[a-z\.0-9]+/gi, "$1cl=" + sectionID + "&amp;excerptid=div" + sectionID);
     160           
     161                        if(berryBaskets == "on")
     162                        {
     163                            url = url + "&amp;berrybasket=on";
     164                        }
    159165
    160166                        httpRequest.open('GET', url, true);
     
    177183                                        parent.appendChild(newDiv);
    178184                                    }
    179 
     185                                   
    180186                                    newDiv.innerHTML = httpRequest.responseText;
    181187                                    sectionToggle.setAttribute("src", collapseImageURL);
     188                                   
     189                                    if(berryBaskets == "on")
     190                                    {
     191                                        checkout();
     192                                    }
    182193                                }
    183194                                else
  • main/trunk/greenstone3/web/interfaces/oran/transform/pages/document.xsl

    r24009 r24018  
    6363    <xsl:template match="/page/pageResponse/document">
    6464        <xsl:if test="$bookswitch = 'off'">
    65             <div id="bookdiv" style="visibility:hidden; height:0px;"><xsl:text> </xsl:text></div>
     65            <div id="bookdiv" style="visibility:hidden; height:0px; display:inline;"><xsl:text> </xsl:text></div>
     66       
     67            <!-- Adds the realistic books javascript if necessary ( *** in document-scripts.xsl *** ) -->
     68            <xsl:if test="/page/pageResponse/collection[@name = $collName]/metadataList/metadata[@name = 'tidyoption'] = 'tidy'">
     69                <xsl:call-template name="realisticBooksScript"/>
     70            </xsl:if>
     71           
    6672            <!-- Add the Javascript that adds and removes highlighting ( *** in document-scripts.xsl *** ) -->
    6773            <xsl:call-template name="highlightingScript"/>
     
    107113            <xsl:when test="$bookswitch = 'on'">
    108114                <!-- *** in document-scripts.xsl *** -->
     115                <div id="bookdiv" style="display:inline;"><xsl:text> </xsl:text></div>
    109116                <xsl:call-template name="realisticBooksScript"/>
    110117            </xsl:when>
     
    306313   
    307314    <xsl:template name="viewOptions">
    308         <xsl:call-template name="realisticBooksScript"/>
    309315        <table class="viewOptions"><tr>
    310316            <!-- Realistic books link -->
     
    312318                <td>
    313319                    <!-- old url = {$library_name}?a=d&amp;c={$collName}&amp;d={/page/pageResponse/document/documentNode[1]/@nodeID}&amp;dt={/page/pageResponse/document/documentNode/@docType}&amp;p.a=b&amp;p.s={/page/pageResponse/service/@name}&amp;book=on&amp;ed=1 -->
    314                     <div title="Realistic book view" id="rbOptionDiv"><input id="rbOption" type="checkbox" onclick="bookInit();" class="optionCheckBox"/></div>
     320                    <img>
     321                        <xsl:attribute name="src"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'realistic_books_image')"/></xsl:attribute>
     322                    </img>
     323                    <input id="rbOption" type="checkbox" onclick="bookInit();" class="optionCheckBox"/>
    315324                </td>
    316325            </xsl:if>
     
    319328            <xsl:if test="/page/pageRequest/paramList/param[@name = 'p.a']/@value = 'q'">
    320329                <td>
    321                     <div id="highlightOptionDiv" title="Search term highlighting">
    322                         <input id="highlightOption" type="checkbox" class="optionCheckBox">
    323                             <xsl:choose>
    324                                 <xsl:when test="/page/pageRequest/paramList/param[@name = 'hl']/@value = 'on'">
    325                                     <xsl:attribute name="onclick">
    326                                         <xsl:text>removeHighlight();</xsl:text>
    327                                     </xsl:attribute>
    328                                     <xsl:attribute name="checked">true</xsl:attribute>
    329                                 </xsl:when>
    330                                 <xsl:otherwise>
    331                                     <xsl:attribute name="onclick">
    332                                         <xsl:text>addHighlight();</xsl:text>
    333                                     </xsl:attribute>
    334                                 </xsl:otherwise>
    335                             </xsl:choose>
    336                         </input>
    337                     </div>
     330                    <img>
     331                        <xsl:attribute name="src"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'highlight_image')"/></xsl:attribute>
     332                    </img>
     333                    <input id="highlightOption" type="checkbox" class="optionCheckBox">
     334                        <xsl:choose>
     335                            <xsl:when test="/page/pageRequest/paramList/param[@name = 'hl']/@value = 'on'">
     336                                <xsl:attribute name="onclick">
     337                                    <xsl:text>removeHighlight();</xsl:text>
     338                                </xsl:attribute>
     339                                <xsl:attribute name="checked">true</xsl:attribute>
     340                            </xsl:when>
     341                            <xsl:otherwise>
     342                                <xsl:attribute name="onclick">
     343                                    <xsl:text>addHighlight();</xsl:text>
     344                                </xsl:attribute>
     345                            </xsl:otherwise>
     346                        </xsl:choose>
     347                    </input>
    338348                </td>
    339349            </xsl:if>
  • main/trunk/greenstone3/web/interfaces/oran/transform/util.xsl

    r23989 r24018  
    99    <xsl:value-of select="/page/pageResponse/metadataList/metadata[@name='siteName']"/>
    1010  </xsl:template>
     11 
    1112  <xsl:template name="siteLink">
    1213    <a href="./{$library_name}">
     
    1516    </a>
    1617  </xsl:template>
     18 
    1719  <xsl:variable name="a">
    1820    <xsl:value-of select="/page/pageRequest/paramList/param[@name='a']/@value"/>
    1921  </xsl:variable>
     22 
    2023  <xsl:variable name="collections" select="/page/pageResponse/collectionList/collection"/>
     24 
    2125  <xsl:variable name="berrybasketswitch">
    2226    <xsl:value-of select="/page/pageRequest/paramList/param[@name='berrybasket']/@value"/>
    2327  </xsl:variable>
     28 
    2429  <xsl:variable name="berryBasketOn" select="/page/pageRequest/paramList/param[@name='berrybasket' and @value='on']"/>
     30 
    2531  <!-- template to get the name of the current collection -->
    2632  <xsl:template name="collectionName">
     
    3238    </xsl:choose>
    3339  </xsl:template>
     40 
    3441  <xsl:template name="collectionNameShort">
    3542    <xsl:value-of select="/page/pageResponse/collection/@name"/>
     
    4350    </xsl:if>
    4451  </xsl:template>
     52 
    4553  <!-- text to get the name of the current service ("Browse","Search" etc) -->
    4654  <xsl:template name="serviceName">
    4755    <xsl:value-of select="/page/pageResponse/service/displayItem[@name='name']"/>
    4856  </xsl:template>
     57 
    4958  <xsl:template name="textDirectionAttribute">
    5059    <xsl:attribute name="dir">
     
    5564    </xsl:attribute>
    5665  </xsl:template>
     66 
    5767  <xsl:template name="actionClass">
    5868    <xsl:attribute name="class"><xsl:value-of select="/page/pageRequest/@action"/>Action <xsl:if test="/page/pageRequest/@subaction"><xsl:value-of select="/page/pageRequest/@subaction"/>Subaction</xsl:if></xsl:attribute>
     
    8393    </xsl:choose>
    8494  </xsl:template>
     95 
    8596  <xsl:template match="error">
    8697    Error: <xsl:value-of select="."/>
     
    125136    </xsl:if>
    126137  </xsl:template>
     138 
    127139  <xsl:template name="noTextBar">
    128140    <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>
    129141  </xsl:template>
     142 
    130143  <xsl:template name="poweredByGS3TextBar">
    131144    <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'gs3power')"/>
    132145  </xsl:template>
     146 
    133147  <xsl:template name="rightArrow">
    134148    <xsl:text disable-output-escaping="yes"> &amp;raquo; </xsl:text>
    135149  </xsl:template>
     150 
    136151  <!-- site home ....................................................................... -->
    137152  <xsl:template name="siteHomePageTitle">
     
    140155    <xsl:text> </xsl:text>
    141156  </xsl:template>
     157 
    142158  <xsl:template name="selectACollectionTextBar">
    143159    <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'home.select_a_collection')"/>
    144160  </xsl:template>
     161 
    145162  <xsl:template name="crossCollectionQuickSearchForm">
    146163    <xsl:apply-templates select="serviceList/service[@name='TextQuery']"/>
    147164  </xsl:template>
     165 
    148166  <xsl:template match="service[@name='TextQuery']">
    149167    <form name="QuickSearch" method="get" action="{$library_name}">
     
    160178    </form>
    161179  </xsl:template>
     180 
    162181  <xsl:template name="collectionLinkWithImage">
    163182    <xsl:choose>
     
    185204    </xsl:choose>
    186205  </xsl:template>
     206 
    187207  <xsl:template name="serviceClusterList">
    188208    <xsl:apply-templates select="serviceClusterList"/>
    189209  </xsl:template>
     210 
    190211  <xsl:template match="serviceClusterList">
    191212    <xsl:for-each select="serviceCluster">
     
    196217    </xsl:for-each>
    197218  </xsl:template>
     219 
    198220  <xsl:template name="serviceLink">
    199221    <div class="paramLabel">
     
    207229    <br class="clear"/>
    208230  </xsl:template>
     231 
    209232  <xsl:template name="authenticationLink">
    210233    <xsl:for-each select="serviceList/service[@type='authen']">
     
    217240    </xsl:for-each>
    218241  </xsl:template>
     242 
    219243  <xsl:template name="libraryInterfaceLink">
    220244    <li>
     
    224248    </li>
    225249  </xsl:template>
     250 
    226251  <xsl:template name="greenstoneLogoAlternateText">
    227252    <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'gsdl')"/>
    228253  </xsl:template>
     254 
    229255  <!-- about page - collection home ....................................................................... -->
    230256  <xsl:variable name="collName" select="/page/pageRequest/paramList/param[@name='c']/@value"/>
     
    233259  <xsl:variable name="this-element" select="/page/pageResponse/collection|/page/pageResponse/serviceCluster"/>
    234260  <xsl:variable name="this-service" select="/page/pageResponse/service/@name"/>
     261 
    235262  <xsl:template name="aboutCollectionPageTitle">
    236263    <!-- put a space in the title in case the actual value is missing - mozilla will not display a page with no title-->
     
    238265    <xsl:text> </xsl:text>
    239266  </xsl:template>
     267 
    240268  <xsl:template name="collectionHomeLinkWithLogoIfAvailable">
    241269    <a href="{$library_name}?a=p&amp;sa=about&amp;c={$collName}">
     
    258286    </a>
    259287  </xsl:template>
     288 
    260289  <xsl:template name="homeButtonTop">
    261290    <a href="{$library_name}?a=p&amp;sa=home">
     
    266295    </a>
    267296  </xsl:template>
     297 
    268298  <xsl:template name="helpButtonTop">
    269299    <xsl:choose>
     
    287317    </xsl:choose>
    288318  </xsl:template>
     319 
    289320  <xsl:template name="preferencesButtonTop">
    290321    <xsl:choose>
     
    308339    </xsl:choose>
    309340  </xsl:template>
     341 
    310342  <xsl:template name="servicesNavigationBar">
    311343    <xsl:for-each select="$this-element/serviceList/service">
     
    343375    </xsl:for-each>
    344376  </xsl:template>
     377 
    345378  <xsl:template name="collectionDescriptionTextAndServicesLinks">
    346379    <xsl:apply-templates select="pageResponse/collection|serviceCluster"/>
     
    352385    </xsl:apply-templates>
    353386  </xsl:template>
     387 
    354388  <xsl:template match="serviceList">   
    355389    <xsl:param name="collName"/>
     
    397431    </xsl:if>
    398432  </xsl:template>
     433 
    399434  <!-- classifier page ............................................................................ -->
    400435  <xsl:template name="collapsedNavigationTab">
     
    416451    </li>
    417452  </xsl:template>
     453 
    418454  <xsl:template name="navigationTab">
    419455    <xsl:variable name="isCurrent" select="@name=/page/pageResponse/service/@name"/>
     
    451487    </xsl:if>
    452488  </xsl:template>
     489 
    453490  <xsl:template name="classifierLink">
    454491    <xsl:if test="@name=/page/pageResponse/classifier/@name">
     
    459496    </a>
    460497  </xsl:template>
     498 
    461499  <!-- query page ............................................................................ -->
    462500  <xsl:template name="indexName">
     
    471509    </xsl:choose>
    472510  </xsl:template>
     511 
    473512  <!--
    474513BERRY BASKET TEMPLATES
     
    498537    </xsl:if>
    499538  </xsl:template>
     539 
    500540  <!-- include the required javascript and css for berry baskets -->
    501541  <xsl:template name="berryBasketHeadTags">
    502     <script type="text/javascript" src="interfaces/{$interface_name}/js/YAHOO.js"><xsl:text> </xsl:text></script>
    503     <script type="text/javascript" src="interfaces/{$interface_name}/js/event.js"><xsl:text> </xsl:text></script>
    504     <script type="text/javascript" src="interfaces/{$interface_name}/js/connection.js"><xsl:text> </xsl:text></script>
    505     <script type="text/javascript" src="interfaces/{$interface_name}/js/dom.js"><xsl:text> </xsl:text></script>
    506     <script type="text/javascript" src="interfaces/{$interface_name}/js/dragdrop.js"><xsl:text> </xsl:text></script>
    507     <script type="text/javascript" src="interfaces/{$interface_name}/js/ygDDPlayer.js"><xsl:text> </xsl:text></script>
    508     <script type="text/javascript" src="interfaces/{$interface_name}/js/ygDDOnTop.js"><xsl:text> </xsl:text></script>
    509     <script type="text/javascript" src="interfaces/{$interface_name}/js/berrybasket.js"><xsl:text> </xsl:text></script>
     542    <script type="text/javascript" src="interfaces/{$interface_name}/js/yui/yahoo-min.js"><xsl:text> </xsl:text></script>
     543    <script type="text/javascript" src="interfaces/{$interface_name}/js/yui/event-min.js"><xsl:text> </xsl:text></script>
     544    <script type="text/javascript" src="interfaces/{$interface_name}/js/yui/connection-min.js"><xsl:text> </xsl:text></script>
     545    <script type="text/javascript" src="interfaces/{$interface_name}/js/yui/dom-min.js"><xsl:text> </xsl:text></script>
     546    <script type="text/javascript" src="interfaces/{$interface_name}/js/yui/dragdrop-min.js"><xsl:text> </xsl:text></script>
     547    <script type="text/javascript" src="interfaces/{$interface_name}/js/yui/cookie-min.js"><xsl:text> </xsl:text></script>
     548    <script type="text/javascript" src="interfaces/{$interface_name}/js/berrybasket/ygDDPlayer.js"><xsl:text> </xsl:text></script>
     549    <script type="text/javascript" src="interfaces/{$interface_name}/js/berrybasket/ygDDOnTop.js"><xsl:text> </xsl:text></script>
     550    <script type="text/javascript" src="interfaces/{$interface_name}/js/berrybasket/berrybasket.js"><xsl:text> </xsl:text></script>
    510551    <link rel="stylesheet" href="interfaces/{$interface_name}/style/berry.css" type="text/css"/>
    511552  </xsl:template>
     553 
    512554  <!--
    513555create a little berry which can be drag&dropped onto the berry basket
     
    521563    </xsl:if>
    522564  </xsl:template>
     565 
    523566  <!--
    524567create little berrys which can be drag&dropped onto the berry basket
     
    543586    </xsl:if>
    544587  </xsl:template>
     588 
    545589  <!-- document page -->
    546590  <xsl:template name="documentTitle">
     
    552596    </img>
    553597  </xsl:template>
     598 
    554599  <xsl:template name="previousNextButtons">
    555600    <!-- prev -->
     
    564609    </a>
    565610  </xsl:template>
     611 
    566612</xsl:stylesheet>
Note: See TracChangeset for help on using the changeset viewer.