Changeset 20020 for greenstone3/trunk


Ignore:
Timestamp:
2009-07-20T13:53:09+12:00 (15 years ago)
Author:
kjdon
Message:

indented the file nicely

File:
1 edited

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/web/interfaces/default/transform/home.xsl

    r18594 r20020  
    11<?xml version="1.0" encoding="ISO-8859-1"?>
    22<xsl:stylesheet version="1.0"
    3     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    4     xmlns:java="http://xml.apache.org/xslt/java"
    5     xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
    6     xmlns:gslib="http://www.greenstone.org/skinning"
    7     extension-element-prefixes="java util"
    8     exclude-result-prefixes="java util">
     3  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     4  xmlns:java="http://xml.apache.org/xslt/java"
     5  xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
     6  xmlns:gslib="http://www.greenstone.org/skinning"
     7  extension-element-prefixes="java util"
     8  exclude-result-prefixes="java util">
    99
    10  
     10  
    1111  <xsl:template match="page/pageResponse">
    12  
    13    <!-- the page layout template is here -->
     12   
     13    <!-- the page layout template is here -->
    1414    <html>
    15            
    16           <head>
    17             <title>
    18                 <gslib:siteHomePageTitle/>
    19             </title>
    20             <link rel="stylesheet" href="interfaces/default/style/core.css" type="text/css"/>
    21           </head>
    22          
    23           <body><gslib:textDirectionAttribute/>
    24        
    25         <div id="page-wrapper">
    26         <gslib:displayErrorsIfAny/>
    27      
    28        
    29         <div id="banner">
    30           <p>
    31             <img src="interfaces/default/images/gsdlhead.gif"><xsl:attribute name="alt"><gslib:greenstoneLogoAlternateText/></xsl:attribute>
    32             </img>
    33           </p>
     15     
     16      <head>
     17    <title>
     18      <gslib:siteHomePageTitle/>
     19    </title>
     20    <link rel="stylesheet" href="interfaces/default/style/core.css" type="text/css"/>
     21      </head>
     22     
     23      <body><gslib:textDirectionAttribute/>
     24   
     25    <div id="page-wrapper">
     26      <gslib:displayErrorsIfAny/>
     27     
     28     
     29      <div id="banner">
     30        <p>
     31          <img src="interfaces/default/images/gsdlhead.gif"><xsl:attribute name="alt"><gslib:greenstoneLogoAlternateText/></xsl:attribute>
     32          </img>
     33        </p>
     34      </div>
     35     
     36      <div id="content">
     37       
     38        <div class="divbar"><gslib:selectACollectionTextBar/></div>
     39       
     40        <div class="QuickSearch">
     41          <gslib:crossCollectionQuickSearchForm/>
    3442        </div>
    35        
    36         <div id="content">
    37        
    38             <div class="divbar"><gslib:selectACollectionTextBar/></div>
    39            
    40             <div class="QuickSearch">
    41                 <gslib:crossCollectionQuickSearchForm/>
    42             </div>
    43                
    44            
    45             <ul id="collectionlist">
    46                 <xsl:for-each select="collectionList/collection">
    47                     <li>
    48                         <gslib:collectionLinkWithImage/>
    49                     </li>
    50                 </xsl:for-each>
    51             </ul>
    52            
    53             <gslib:serviceClusterList/>
    54            
    55             <div class="divbar"><gslib:noTextBar/></div>
    56            
    57             <ul id="servicelist">
    58                 <xsl:for-each select="serviceList/service[@type='query']">
    59                     <li><gslib:serviceLink/></li>
    60                 </xsl:for-each>
    61                
    62              <!--uncomment the line below to display an authentication link inside a <li>-->
    63              <!--<gslib:authenticationLink/>-->
    64                
    65              <!--uncomment the line below to display a library interface link inside a <li>-->
    66              <!--<gslib:libraryInterfaceLink/>-->
    67             </ul>
    68            
    69         </div>
     43       
     44       
     45        <ul id="collectionlist">
     46          <xsl:for-each select="collectionList/collection">
     47        <li>
     48          <gslib:collectionLinkWithImage/>
     49        </li>
     50          </xsl:for-each>
     51        </ul>
     52       
     53        <gslib:serviceClusterList/>
     54       
     55        <div class="divbar"><gslib:noTextBar/></div>
     56       
     57        <ul id="servicelist">
     58          <xsl:for-each select="serviceList/service[@type='query']">
     59        <li><gslib:serviceLink/></li>
     60          </xsl:for-each>
     61         
     62          <!--uncomment the line below to display an authentication link inside a <li>-->
     63          <!--<gslib:authenticationLink/>-->
     64         
     65          <!--uncomment the line below to display a library interface link inside a <li>-->
     66          <!--<gslib:libraryInterfaceLink/>-->
     67        </ul>
     68       
     69      </div>
    7070
    71        
    72             <div id="footer">
    73                 <div class="divbar"><gslib:poweredByGS3TextBar/></div>
    74             </div>
    75        
    76         </div>
    77        
    78        </body>
     71     
     72      <div id="footer">
     73        <div class="divbar"><gslib:poweredByGS3TextBar/></div>
     74      </div>
     75     
     76    </div>
     77   
     78      </body>
    7979    </html>
    80    
    81    
     80   
     81   
    8282  </xsl:template>
    8383</xsl:stylesheet> 
Note: See TracChangeset for help on using the changeset viewer.