Author: glorieux Date: 2009-11-11 20:30:56 +0100 (Wed, 11 Nov 2009) New Revision: 562 Modified: trunk/src/main/resources/META-INF/maven/site.vm Log: Modified: trunk/src/main/resources/META-INF/maven/site.vm =================================================================== --- trunk/src/main/resources/META-INF/maven/site.vm 2009-11-02 07:24:30 UTC (rev 561) +++ trunk/src/main/resources/META-INF/maven/site.vm 2009-11-11 19:30:56 UTC (rev 562) @@ -42,15 +42,16 @@ #macro ( links $links ) #set ( $counter = 0 ) - #foreach( $item in $links ) + #foreach( $item in $links ) #set ( $counter = $counter + 1 ) #set ( $currentItemHref = $PathTool.calculateLink( $item.href, $relativePath ) ) #set ( $currentItemHref = $currentItemHref.replaceAll( "\\", "/" ) ) #link( $currentItemHref $item.name ) #if ( $links.size() > $counter ) | - #end - #end + #end + #end + | <a href="http://scmwebeditor.nuiton.org/nuiton-scmwebeditor/scmwebeditor?adresse=$pro..." class="externalLink">Edit this page</a> #end #macro ( breadcrumbs $breadcrumbs ) @@ -360,29 +361,25 @@ <!-- Search Google --> <div id="Google-search"> - <form method="get" action="http://www.google.fr/custom" target="_top"> - <input type="hidden" name="client" value="pub-5067547915349883"></input> - <input type="hidden" name="forid" value="1"></input> - <input type="hidden" name="ie" value="ISO-8859-15"></input> - <input type="hidden" name="oe" value="ISO-8859-15"></input> - <input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;LH:50;LW:210;L:http://www.codelutin.com/images/ - <input type="hidden" name="hl" value="fr"></input> - <table bgcolor="#eeeeee"> - <tr> - <td valign="top" align="right"> - <label for="sbi" style="display: none">Entrez les termes que vous recherchez.</label> - <input type="text" name="q" size="10" maxlength="255" value="" id="sbi"></input> - <label for="sbb" style="display: none">Envoyer un formulaire de recherche</label> - </td> - </tr> - <tr> - <td valign="top" align="right"> - <input type="submit" name="sa" value="Google" id="sbb"></input> - </td> - </tr> - </table> - </form> - </div> + <form action="http://www.google.com/cse" id="cse-search-box"> + <div> + #if( $project.groupId == "org.nuiton" ) + <input type="hidden" name="cx" value="006400969094406405403:svbxely-vkg" /> + #elseif( $project.groupId == "org.chorem" ) + <input type="hidden" name="cx" value="006400969094406405403:qk_jy5z6gaw" /> + #end + <input type="hidden" name="ie" value="UTF-8" /> + <input type="text" name="q" size="17" /> + #if( $locale == "fr" ) + <input type="submit" name="sa" value="Rechercher" /> + #elseif( $locale == "en" ) + <input type="submit" name="sa" value="Search" /> + #end + <input type="hidden" name="as_sitesearch" value="$project.url*"/> + </div> + </form> + <script type="text/javascript" src="http://www.google.com/cse/brand?form=cse-search-box&lang=fr"></script> + </div> <!-- Search Google --> <!-- paypal -->