Changeset 1955

Show
Ignore:
Timestamp:
2008-05-06 21:11:38 (3 months ago)
Author:
mosipov
Message:

site.vm angepasst

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor.Java/branches/2.4/src/site/site.vm

    r1954 r1955  
    1212  #if ( $banner ) 
    1313    #if( $banner.href ) 
    14       <a href="$banner.href" id="$id" #if( $banner.alt ) title="$banner.alt" #end > 
    15     #else 
    16         <div id="$id"> 
     14      <a href="$banner.href" id="$id"> 
     15    #else 
     16        <span id="$id"> 
    1717    #end 
    1818 
     
    2626            #set ( $alt = $banner.alt ) 
    2727        #else 
    28             #set ( $alt = $banner.name ) 
     28            #set ( $alt = "" ) 
    2929        #end 
    3030        <img src="$src" alt="$alt" /> 
     
    3636        </a> 
    3737    #else 
    38         </div> 
     38        </span> 
    3939    #end 
    4040  #end 
     
    7777      #set ( $subitemHref = $PathTool.calculateLink( $subitem.href, $relativePath ) ) 
    7878      #set ( $subitemHref = $subitemHref.replaceAll( "\\", "/" ) ) 
    79       #set ( $display = false ) 
     79 
    8080      #if ( $alignedFileName == $subitemHref ) 
    8181        #set ( $display = true ) 
     
    151151#macro ( copyright ) 
    152152  #if ( $project ) 
    153     #set ( $currentYear = ${currentDate.year} + 1900 ) 
    154  
     153    #if ( ${project.organization} )  
     154      #set ( $period = "" ) 
     155        #else  
     156          #set ( $period = "." ) 
     157        #end 
     158        #set ( $currentYear = ${currentDate.year} + 1900 ) 
    155159    #if ( ${project.inceptionYear} && ( ${project.inceptionYear} != ${currentYear.toString()} ) ) 
    156       ${project.inceptionYear}-${currentYear} 
    157     #else 
    158       ${currentYear} 
    159     #end 
    160  
    161     #if ( ${project.organization} && ${project.organization.name} ) 
    162       ${project.organization.name} 
     160      ${project.inceptionYear}-${currentYear}${period} 
     161    #else 
     162      ${currentYear}${period} 
     163    #end 
     164 
     165    #if ( ${project.organization} ) 
     166      #if ( ${project.organization.name} && ${project.organization.url} ) 
     167          <a href="$project.organization.url">$project.organization.name</a>. 
     168      #elseif ( ${project.organization.name} ) 
     169        $project.organization.name. 
     170      #end 
    163171    #end 
    164172  #end 
     
    188196      #set ( $versionPosition = "left" ) 
    189197    #end 
    190   #else 
    191     #set ( $version = "" ) 
    192     #set ( $versionPosition = "left" ) 
    193198  #end 
    194199 
     
    276281              #set ( $img = $PathTool.calculateLink( $img, $relativePath ) ) 
    277282              #set ( $img = $img.replaceAll( "\\", "/" ) ) 
    278               <img  class="poweredBy"   
    279                     alt="$name"  
    280                     src="$img"  
    281                     width="90" 
    282                     height="30" 
    283               /> 
     283              <img alt="$name" src="$img" /> 
    284284            </a> 
    285285        #end 
    286286        #if( $poweredBy.isEmpty() ) 
    287287          <a href="http://maven.apache.org/" title="$i18n.getString( "site-renderer", $locale, "template.builtby" ) Maven" class="poweredBy"> 
    288             <img class="poweredBy"  
    289                  alt="$i18n.getString( "site-renderer", $locale, "template.builtby" ) Maven"  
    290                  src="$relativePath/images/logos/maven-feather.png"  
    291                  width="90" 
    292                  height="30" 
    293                  border="1" /> 
     288            <img alt="$i18n.getString( "site-renderer", $locale, "template.builtby" ) Maven" src="$relativePath/images/logos/maven-feather.png"></img> 
    294289          </a> 
    295290        #end 
    296291    #else 
    297292        <a href="http://maven.apache.org/" title="$i18n.getString( "site-renderer", $locale, "template.builtby" ) Maven" class="poweredBy"> 
    298           <img class="poweredBy"  
    299                alt="$i18n.getString( "site-renderer", $locale, "template.builtby" ) Maven"  
    300                src="$relativePath/images/logos/maven-feather.png"  
    301                width="90" 
    302                height="30" 
    303                border="1" 
    304                /> 
     293          <img alt="$i18n.getString( "site-renderer", $locale, "template.builtby" ) Maven" src="$relativePath/images/logos/maven-feather.png"></img> 
    305294        </a> 
    306295    #end 
     
    367356    </div> 
    368357    <div id="footer"> 
    369       <div class="xright">&copy; 2004 - 2008 Frederico Caldeira Knabben (<a href="http://www.fredck.com/">FredCK.com</a>). All rights reserved.</div> 
     358      <div class="xright">Copyright &#169;#copyright()All Rights Reserved.#publishDate( "bottom" $decoration.publishDate $decoration.version )</div> 
    370359      <div class="clear"> 
    371360        <hr/>