Prevent empty links
authorJoey Schulze <joey@infodrom.org>
Fri, 27 Jun 2008 12:16:19 +0000 (12:16 +0000)
committerJoey Schulze <joey@infodrom.org>
Fri, 27 Jun 2008 12:16:19 +0000 (12:16 +0000)
Styles/infocon.style

index c646c63..43522e2 100644 (file)
@@ -81,7 +81,7 @@ printf "Letzte 
 <table cellspacing=0 cellpadding=0 border=0 width=100%>
 
 <tr>
-  <td width=90><a href="<root_prefix>"><img src="<root_prefix>Pics/infocon-90.png" align=center alt="[InfoCon]" border=0></a></td>
+  <td width=90><a href="<:=length($root_prefix)?$root_prefix:'/':>"><img src="<root_prefix>Pics/infocon-90.png" align=center alt="[InfoCon]" border=0></a></td>
   <td width=<page-horiz-space>></td>
   <td width=100%>
        <h1 align=center><font face=Helvetica>Information &amp; Consulting</font></h1>