cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinh...@apache.org
Subject svn commit: r448097 - /cocoon/trunk/site/cocoon-maven-site-skin/src/main/resources/META-INF/maven/site.vm
Date Wed, 20 Sep 2006 06:46:32 GMT
Author: reinhard
Date: Tue Sep 19 23:46:31 2006
New Revision: 448097

URL: http://svn.apache.org/viewvc?view=rev&rev=448097
Log:
use a property to read the external URL

Modified:
    cocoon/trunk/site/cocoon-maven-site-skin/src/main/resources/META-INF/maven/site.vm

Modified: cocoon/trunk/site/cocoon-maven-site-skin/src/main/resources/META-INF/maven/site.vm
URL: http://svn.apache.org/viewvc/cocoon/trunk/site/cocoon-maven-site-skin/src/main/resources/META-INF/maven/site.vm?view=diff&rev=448097&r1=448096&r2=448097
==============================================================================
--- cocoon/trunk/site/cocoon-maven-site-skin/src/main/resources/META-INF/maven/site.vm (original)
+++ cocoon/trunk/site/cocoon-maven-site-skin/src/main/resources/META-INF/maven/site.vm Tue
Sep 19 23:46:31 2006
@@ -19,11 +19,15 @@
 -->
 #macro ( banner $banner $id )
   #if ( $banner )
-    #if( $banner.href )
-      <a href="$banner.href" id="$id">
-    #else
-        <span id="$id">
-    #end
+##    #if( $banner.href )
+##      <a href="$banner.href" id="$id">
+##    #else
+##        <span id="$id">
+##    #end
+
+## start Cocoon specific modification    
+    <a href="$project.getProperties().get("externalUrl")" id="$id">
+## end Cocoon specific modification    
 
     #if( $banner.src )
         #set ( $src = $banner.src )
@@ -41,20 +45,25 @@
         $banner.name
     #end
 
-    #if( $banner.href )
-        </a>
-    #else
-        </span>
-    #end
+##    #if( $banner.href )
+##        </a>
+##    #else
+##        </span>
+##    #end
+
+## start Cocoon specific modification    
+          </a>
+## end Cocoon specific modification  
+
   #end
 #end
 
 #macro ( links $links )
   #set ( $counter = 0 )
   <a href="http://www.apache.org/">The Apache Software Foundation</a> |  
-  <a href="http://cocoon.apache.org/core/">Cocoon Core</a> | 
-  <a href="http://cocoon.apache.org/blocks/">Cocoon Blocks</a> |   
-  <a href="http://cocoon.apache.org/maven-plugins/">Cocoon Maven Plugins</a>
+  <a href="$project.getProperties().get("externalUrl")/core/">Cocoon Core</a>
| 
+  <a href="$project.getProperties().get("externalUrl")/blocks/">Cocoon Blocks</a>
|   
+  <a href="$project.getProperties().get("externalUrl")/maven-plugins/">Cocoon Maven
Plugins</a>
   #if ( $links.size() > 0 ) 
    |
   #end  
@@ -115,9 +124,11 @@
 ##      ## By default collapsed
 ##      #set ( $collapse = "collapsed" )
 ##    #end
-    
+
+## start Cocoon specific modification    
     #set ( $collapse = "collapsed" )
-    
+## end Cocoon specific modification    
+
     #set ( $display = false )
     #displayTree( $display $item )
 



Mime
View raw message