Changeset 2902

Show
Ignore:
Timestamp:
04/08/08 13:25:59 (8 months ago)
Author:
ksprotte
Message:

work on poi-description-ge.xsl

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/projects/bos/payment-website/static/poi-description-ge.xsl

    r2901 r2902  
    1111        <title>Sambodja POI template</title></head> 
    1212      <body> 
    13         <xsl:apply-templates select="//kml:Placemark"> 
    14           <xsl:sort select="kml:name"/> 
    15         </xsl:apply-templates> 
     13        <xsl:apply-templates/> 
    1614      </body> 
    1715    </html> 
     
    2624  <xsl:param name="image_width" select="120"/> 
    2725   
    28   <xsl:template match="kml:Placemark">   
    29     <table style="background-color: rgb(186, 186, 186); width: 319px; height: 350px;" border="0" cellpadding="5" cellspacing="0"> 
     26  <xsl:template match="bos:poi">      
     27    <table width="500" style="background-color: rgb(186, 186, 186);" 
     28           border="0" cellpadding="5" cellspacing="0"> 
    3029      <tbody> 
    3130        <tr> 
     
    3635        <tr> 
    3736          <td style="width: 100px;"> 
    38             <h1><xsl:value-of select="descendant::bos:title/bos:content[@lang=$lang]"/></h1> 
    39             <h2><xsl:value-of select="descendant::bos:subtitle/bos:content[@lang=$lang]"/></h2> 
    40             <div style="text-align: left;"> 
    41               <xsl:value-of select="descendant::bos:description/bos:content[@lang=$lang]"/> 
    42             </div> 
    43             <br/>             
     37            <h1><xsl:value-of select="bos:title/bos:content[@lang=$lang]"/></h1> 
     38            <h2><xsl:value-of select="bos:subtitle/bos:content[@lang=$lang]"/></h2> 
     39            <!--             <div width="400" style="text-align: left;"> --> 
     40            <!--               <xsl:value-of select="bos:description/bos:content[@lang=$lang]"/> --> 
     41            <!--             </div> --> 
     42            <table width="400"> 
     43              <tr><td> 
     44                  <xsl:value-of select="bos:description/bos:content[@lang=$lang]"/> 
     45              </td></tr> 
     46            </table>         
     47            <xsl:choose> 
     48              <xsl:when test="bos:name='selling-area'"> 
     49                <p><a href="http://test.createrainforest.org/de/bestellung">Machen Sie mit!</a></p> 
     50              </xsl:when> 
     51              <xsl:otherwise> 
     52                <br/><br/> 
     53              </xsl:otherwise> 
     54            </xsl:choose> 
    4455            <table> 
    4556              <tbody> 
     
    7889        </tr> 
    7990      </tbody> 
    80     </table> 
    81     <p/>     
     91      </table> 
     92      <p/>   
    8293  </xsl:template> 
    8394