MNG-1095: handle locale images in the maven-site.vm

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@295115 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Vincent Siveton 2005-10-05 20:48:01 +00:00
parent c66610a6e4
commit fc1cf58818
1 changed files with 12 additions and 8 deletions

View File

@ -10,6 +10,10 @@
#if( $e.getChild( "src" ) ) #if( $e.getChild( "src" ) )
#set ( $src = $e.getChild( "src" ).getValue() ) #set ( $src = $e.getChild( "src" ).getValue() )
#if ( ! ( $src.toLowerCase().startsWith("http") || $src.toLowerCase().startsWith("https") ) )
#set ( $src = $PathTool.calculateLink( $src, $relativePath ) )
#set ( $src = $src.replaceAll( "\\", "/" ) )
#end
#if ( $e.getChild( "alt" ) ) #if ( $e.getChild( "alt" ) )
#set ( $alt = $e.getChild( "alt" ).getValue() ) #set ( $alt = $e.getChild( "alt" ).getValue() )
#else #else