Changeset 24018 for main/trunk
- Timestamp:
- 2011-05-17T12:19:08+12:00 (13 years ago)
- 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 2 2 min-height: 22px; 3 3 padding: 5px; 4 margin: 0 0 1em 0;4 /*margin: 0 0 1em 0;*/ 5 5 /* background: #E0F0E0 url("../images/berrybasket.png") scroll no-repeat 0 0; */ 6 6 background: transparent url("../images/kete2.png") scroll repeat 0 0; … … 9 9 font-size: 80%; 10 10 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%;27 11 } 28 12 -
main/trunk/greenstone3/web/interfaces/oran/style/core.css
r24009 r24018 63 63 64 64 .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; 67 67 } 68 68 … … 85 85 height:16px; 86 86 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 110 87 } 111 88 … … 394 371 } 395 372 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; 399 378 cursor: pointer; 400 379 color: #fff; … … 407 386 } 408 387 409 .navList li.current {388 .navList td.current { 410 389 background-color: #efea6e; 411 390 color: #444; … … 447 426 #results .document a:visited { background-image: url('../images/book-visited.png'); color: #999; } 448 427 #results .shelf>a { background-image: url('../images/bookshelf.png'); } 449 c450 428 451 429 /* corners of the banner */ -
main/trunk/greenstone3/web/interfaces/oran/transform/document-scripts.xsl
r24009 r24018 169 169 { 170 170 var textDiv = document.getElementById("gs-document-text"); 171 textDiv.style. display = "none";171 textDiv.style.visibility = "hidden"; 172 172 } 173 173 … … 175 175 { 176 176 var textDiv = document.getElementById("gs-document-text"); 177 textDiv.style. display = "block";177 textDiv.style.visibility = "visible"; 178 178 } 179 179 … … 183 183 bookDiv.style.visibility = "hidden"; 184 184 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"; 185 193 } 186 194 … … 190 198 bookDiv.style.visibility = "visible"; 191 199 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 } 192 221 } 193 222 … … 201 230 } 202 231 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 else211 {212 option.setAttribute("onclick", "hideBook(); showText(); swapLinkJavascript(true);");213 }214 }215 216 232 function loadBook() 217 233 { 218 //Work out the URL to the cover image and the document219 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">';220 234 var doc_url = document.URL; 221 235 doc_url = doc_url.replace(/(&|\?)book=[a-z]+/gi,''); 222 doc_url += '&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) + "&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) + "&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 < 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 += '&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 += '<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%">\n'; 245 flash_plug_html += ' <PARAM name="allowScriptAccess" value="always" />\n'; 246 flash_plug_html += ' <PARAM name="movie" value="Book.swf'; 247 flash_plug_html += '?src_image=' + escape(img_cover); 248 flash_plug_html += '&doc_url=' + escape(doc_url) 249 flash_plug_html += '" />\n'; 250 flash_plug_html += ' <PARAM name="quality" value="high" />\n'; 251 flash_plug_html += ' <PARAM name="bgcolor" value="#FFFFFF" />\n'; 252 flash_plug_html += ' <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 += '&doc_url=' + escape(doc_url); 260 flash_plug_html += '"\n'; 261 flash_plug_html += ' type="application/x-shockwave-flash" width="70%" />\n'; 262 flash_plug_html += '</OBJECT>\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(); 263 270 } 264 271 </xsl:text> -
main/trunk/greenstone3/web/interfaces/oran/transform/pages/berry.xsl
r23813 r24018 20 20 <xsl:template match="/page"> 21 21 <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/berry checkout.js"><xsl:text> </xsl:text></script>22 <script type="text/javascript" src="interfaces/oran/js/berrybasket/berrycheckout.js"><xsl:text> </xsl:text></script> 23 23 <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> 26 31 <xsl:for-each select="/page/pageResponse/berryList/item"> 27 32 <xsl:text disable-output-escaping="yes">doc = new Array();</xsl:text> … … 39 44 </script> 40 45 41 < divclass="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> 47 52 <div class="clear"><xsl:text> </xsl:text></div> 48 </ div>53 </table> 49 54 <div id="berryBasketContent"><span><xsl:text> </xsl:text></span></div> 50 55 -
main/trunk/greenstone3/web/interfaces/oran/transform/pages/classifier.xsl
r24009 r24018 103 103 var expandImageURL = "</xsl:text><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'expand_image')"/><xsl:text disable-output-escaping="yes">"; 104 104 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">"; 105 106 var inProgress = new Array(); 106 107 … … 156 157 157 158 var url = document.URL; 158 url = url.replace(/(&|\?)cl=([a-z\.0-9]+)/gi, "$1cl=" + sectionID + "&excerptid=div" + sectionID); 159 url = url.replace(/(&|\?)cl=[a-z\.0-9]+/gi, "$1cl=" + sectionID + "&excerptid=div" + sectionID); 160 161 if(berryBaskets == "on") 162 { 163 url = url + "&berrybasket=on"; 164 } 159 165 160 166 httpRequest.open('GET', url, true); … … 177 183 parent.appendChild(newDiv); 178 184 } 179 185 180 186 newDiv.innerHTML = httpRequest.responseText; 181 187 sectionToggle.setAttribute("src", collapseImageURL); 188 189 if(berryBaskets == "on") 190 { 191 checkout(); 192 } 182 193 } 183 194 else -
main/trunk/greenstone3/web/interfaces/oran/transform/pages/document.xsl
r24009 r24018 63 63 <xsl:template match="/page/pageResponse/document"> 64 64 <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 66 72 <!-- Add the Javascript that adds and removes highlighting ( *** in document-scripts.xsl *** ) --> 67 73 <xsl:call-template name="highlightingScript"/> … … 107 113 <xsl:when test="$bookswitch = 'on'"> 108 114 <!-- *** in document-scripts.xsl *** --> 115 <div id="bookdiv" style="display:inline;"><xsl:text> </xsl:text></div> 109 116 <xsl:call-template name="realisticBooksScript"/> 110 117 </xsl:when> … … 306 313 307 314 <xsl:template name="viewOptions"> 308 <xsl:call-template name="realisticBooksScript"/>309 315 <table class="viewOptions"><tr> 310 316 <!-- Realistic books link --> … … 312 318 <td> 313 319 <!-- old url = {$library_name}?a=d&c={$collName}&d={/page/pageResponse/document/documentNode[1]/@nodeID}&dt={/page/pageResponse/document/documentNode/@docType}&p.a=b&p.s={/page/pageResponse/service/@name}&book=on&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"/> 315 324 </td> 316 325 </xsl:if> … … 319 328 <xsl:if test="/page/pageRequest/paramList/param[@name = 'p.a']/@value = 'q'"> 320 329 <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> 338 348 </td> 339 349 </xsl:if> -
main/trunk/greenstone3/web/interfaces/oran/transform/util.xsl
r23989 r24018 9 9 <xsl:value-of select="/page/pageResponse/metadataList/metadata[@name='siteName']"/> 10 10 </xsl:template> 11 11 12 <xsl:template name="siteLink"> 12 13 <a href="./{$library_name}"> … … 15 16 </a> 16 17 </xsl:template> 18 17 19 <xsl:variable name="a"> 18 20 <xsl:value-of select="/page/pageRequest/paramList/param[@name='a']/@value"/> 19 21 </xsl:variable> 22 20 23 <xsl:variable name="collections" select="/page/pageResponse/collectionList/collection"/> 24 21 25 <xsl:variable name="berrybasketswitch"> 22 26 <xsl:value-of select="/page/pageRequest/paramList/param[@name='berrybasket']/@value"/> 23 27 </xsl:variable> 28 24 29 <xsl:variable name="berryBasketOn" select="/page/pageRequest/paramList/param[@name='berrybasket' and @value='on']"/> 30 25 31 <!-- template to get the name of the current collection --> 26 32 <xsl:template name="collectionName"> … … 32 38 </xsl:choose> 33 39 </xsl:template> 40 34 41 <xsl:template name="collectionNameShort"> 35 42 <xsl:value-of select="/page/pageResponse/collection/@name"/> … … 43 50 </xsl:if> 44 51 </xsl:template> 52 45 53 <!-- text to get the name of the current service ("Browse","Search" etc) --> 46 54 <xsl:template name="serviceName"> 47 55 <xsl:value-of select="/page/pageResponse/service/displayItem[@name='name']"/> 48 56 </xsl:template> 57 49 58 <xsl:template name="textDirectionAttribute"> 50 59 <xsl:attribute name="dir"> … … 55 64 </xsl:attribute> 56 65 </xsl:template> 66 57 67 <xsl:template name="actionClass"> 58 68 <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> … … 83 93 </xsl:choose> 84 94 </xsl:template> 95 85 96 <xsl:template match="error"> 86 97 Error: <xsl:value-of select="."/> … … 125 136 </xsl:if> 126 137 </xsl:template> 138 127 139 <xsl:template name="noTextBar"> 128 140 <xsl:text disable-output-escaping="yes">&nbsp;</xsl:text> 129 141 </xsl:template> 142 130 143 <xsl:template name="poweredByGS3TextBar"> 131 144 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'gs3power')"/> 132 145 </xsl:template> 146 133 147 <xsl:template name="rightArrow"> 134 148 <xsl:text disable-output-escaping="yes"> &raquo; </xsl:text> 135 149 </xsl:template> 150 136 151 <!-- site home ....................................................................... --> 137 152 <xsl:template name="siteHomePageTitle"> … … 140 155 <xsl:text> </xsl:text> 141 156 </xsl:template> 157 142 158 <xsl:template name="selectACollectionTextBar"> 143 159 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'home.select_a_collection')"/> 144 160 </xsl:template> 161 145 162 <xsl:template name="crossCollectionQuickSearchForm"> 146 163 <xsl:apply-templates select="serviceList/service[@name='TextQuery']"/> 147 164 </xsl:template> 165 148 166 <xsl:template match="service[@name='TextQuery']"> 149 167 <form name="QuickSearch" method="get" action="{$library_name}"> … … 160 178 </form> 161 179 </xsl:template> 180 162 181 <xsl:template name="collectionLinkWithImage"> 163 182 <xsl:choose> … … 185 204 </xsl:choose> 186 205 </xsl:template> 206 187 207 <xsl:template name="serviceClusterList"> 188 208 <xsl:apply-templates select="serviceClusterList"/> 189 209 </xsl:template> 210 190 211 <xsl:template match="serviceClusterList"> 191 212 <xsl:for-each select="serviceCluster"> … … 196 217 </xsl:for-each> 197 218 </xsl:template> 219 198 220 <xsl:template name="serviceLink"> 199 221 <div class="paramLabel"> … … 207 229 <br class="clear"/> 208 230 </xsl:template> 231 209 232 <xsl:template name="authenticationLink"> 210 233 <xsl:for-each select="serviceList/service[@type='authen']"> … … 217 240 </xsl:for-each> 218 241 </xsl:template> 242 219 243 <xsl:template name="libraryInterfaceLink"> 220 244 <li> … … 224 248 </li> 225 249 </xsl:template> 250 226 251 <xsl:template name="greenstoneLogoAlternateText"> 227 252 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'gsdl')"/> 228 253 </xsl:template> 254 229 255 <!-- about page - collection home ....................................................................... --> 230 256 <xsl:variable name="collName" select="/page/pageRequest/paramList/param[@name='c']/@value"/> … … 233 259 <xsl:variable name="this-element" select="/page/pageResponse/collection|/page/pageResponse/serviceCluster"/> 234 260 <xsl:variable name="this-service" select="/page/pageResponse/service/@name"/> 261 235 262 <xsl:template name="aboutCollectionPageTitle"> 236 263 <!-- put a space in the title in case the actual value is missing - mozilla will not display a page with no title--> … … 238 265 <xsl:text> </xsl:text> 239 266 </xsl:template> 267 240 268 <xsl:template name="collectionHomeLinkWithLogoIfAvailable"> 241 269 <a href="{$library_name}?a=p&sa=about&c={$collName}"> … … 258 286 </a> 259 287 </xsl:template> 288 260 289 <xsl:template name="homeButtonTop"> 261 290 <a href="{$library_name}?a=p&sa=home"> … … 266 295 </a> 267 296 </xsl:template> 297 268 298 <xsl:template name="helpButtonTop"> 269 299 <xsl:choose> … … 287 317 </xsl:choose> 288 318 </xsl:template> 319 289 320 <xsl:template name="preferencesButtonTop"> 290 321 <xsl:choose> … … 308 339 </xsl:choose> 309 340 </xsl:template> 341 310 342 <xsl:template name="servicesNavigationBar"> 311 343 <xsl:for-each select="$this-element/serviceList/service"> … … 343 375 </xsl:for-each> 344 376 </xsl:template> 377 345 378 <xsl:template name="collectionDescriptionTextAndServicesLinks"> 346 379 <xsl:apply-templates select="pageResponse/collection|serviceCluster"/> … … 352 385 </xsl:apply-templates> 353 386 </xsl:template> 387 354 388 <xsl:template match="serviceList"> 355 389 <xsl:param name="collName"/> … … 397 431 </xsl:if> 398 432 </xsl:template> 433 399 434 <!-- classifier page ............................................................................ --> 400 435 <xsl:template name="collapsedNavigationTab"> … … 416 451 </li> 417 452 </xsl:template> 453 418 454 <xsl:template name="navigationTab"> 419 455 <xsl:variable name="isCurrent" select="@name=/page/pageResponse/service/@name"/> … … 451 487 </xsl:if> 452 488 </xsl:template> 489 453 490 <xsl:template name="classifierLink"> 454 491 <xsl:if test="@name=/page/pageResponse/classifier/@name"> … … 459 496 </a> 460 497 </xsl:template> 498 461 499 <!-- query page ............................................................................ --> 462 500 <xsl:template name="indexName"> … … 471 509 </xsl:choose> 472 510 </xsl:template> 511 473 512 <!-- 474 513 BERRY BASKET TEMPLATES … … 498 537 </xsl:if> 499 538 </xsl:template> 539 500 540 <!-- include the required javascript and css for berry baskets --> 501 541 <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> 510 551 <link rel="stylesheet" href="interfaces/{$interface_name}/style/berry.css" type="text/css"/> 511 552 </xsl:template> 553 512 554 <!-- 513 555 create a little berry which can be drag&dropped onto the berry basket … … 521 563 </xsl:if> 522 564 </xsl:template> 565 523 566 <!-- 524 567 create little berrys which can be drag&dropped onto the berry basket … … 543 586 </xsl:if> 544 587 </xsl:template> 588 545 589 <!-- document page --> 546 590 <xsl:template name="documentTitle"> … … 552 596 </img> 553 597 </xsl:template> 598 554 599 <xsl:template name="previousNextButtons"> 555 600 <!-- prev --> … … 564 609 </a> 565 610 </xsl:template> 611 566 612 </xsl:stylesheet>
Note:
See TracChangeset
for help on using the changeset viewer.