Not good. It might not be called <uri>/activelink.png. It should be separate, 
and optional, like in 0.5.

On Monday 19 November 2007 13:27, you wrote:
> Author: nextgens
> Date: 2007-11-19 13:27:01 +0000 (Mon, 19 Nov 2007)
> New Revision: 15821
> 
> Modified:
>    trunk/freenet/src/freenet/clients/http/WelcomeToadlet.java
> Log:
> WelcomeToadlet: Show activelinks nearby bookmarks
> 
> That might break with missconfigured browsers.
> 
> Modified: trunk/freenet/src/freenet/clients/http/WelcomeToadlet.java
> ===================================================================
> --- trunk/freenet/src/freenet/clients/http/WelcomeToadlet.java        
> 2007-11-19 
13:12:42 UTC (rev 15820)
> +++ trunk/freenet/src/freenet/clients/http/WelcomeToadlet.java        
> 2007-11-19 
13:27:01 UTC (rev 15821)
> @@ -73,7 +73,10 @@
>               BookmarkItems items = cat.getItems();
>               for(int i = 0; i < items.size(); i++) {
>                       HTMLNode li = list.addChild("li", "class","item");
> -                     li.addChild("a", "href", "/" + items.get(i).getKey(), 
items.get(i).getName());
> +                     HTMLNode a = li.addChild("a", "href", '/' + 
> items.get(i).getKey());
> +                        HTMLNode img = a.addChild("img", new String[] 
{ "src", "height", "width", "alt"},
> +                                new String[] { '/' + items.get(i).getKey() 
+ "/activelink.png", "36px", "108px", "activelink"});
> +                        img.addChild("#", "  " + items.get(i).getName());
>               }
>  
>               BookmarkCategories cats = cat.getSubCategories();
> 
> _______________________________________________
> cvs mailing list
> cvs at freenetproject.org
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20071119/857ee333/attachment.pgp>

Reply via email to