You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ev...@apache.org on 2004/02/09 12:37:16 UTC
cvs commit: maven-plugins/xdoc/src/plugin-resources site.jsl
evenisse 2004/02/09 03:37:16
Modified: xdoc/src/plugin-resources site.jsl
Log:
Add support to https protocol for logo
Revision Changes Path
1.49 +2 -2 maven-plugins/xdoc/src/plugin-resources/site.jsl
Index: site.jsl
===================================================================
RCS file: /home/cvs/maven-plugins/xdoc/src/plugin-resources/site.jsl,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- site.jsl 2 Feb 2004 04:40:25 -0000 1.48
+++ site.jsl 9 Feb 2004 11:37:16 -0000 1.49
@@ -80,7 +80,7 @@
</j:if>
<!-- set image to relative or complete -->
<j:set var="image" value="${pom.organization.logo}"/>
- <j:if test="${!image.startsWith('http://')}">
+ <j:if test="${!image.startsWith('http://') and !image.startsWith('https://')}">
<j:set var="image" value="${relativePath}${image}"/>
</j:if>
<a href="${home}" id="organizationLogo">
@@ -93,7 +93,7 @@
<j:if test="${logo != null and logo != ''}">
<!-- set image to relative or complete -->
<j:set var="image" value="${pom.logo}"/>
- <j:if test="${!image.startsWith('http://')}">
+ <j:if test="${!image.startsWith('http://') and !image.startsWith('https://')}">
<j:set var="image" value="${relativePath}${image}"/>
</j:if>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org