Mail Index


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ApacheGallery] BROWSELINKS patch



I confirmed that $BROSWELINKS isn't assigned if there are no directory contents and therefore shows up in the output.
Example: http://ck1.is-a-geek.org/pics/test/ (look in upper right corner)

This was is still in r209.  Maybe my message got overlooked before?

this fixed it for me:

@@ -337,4 +337,5 @@
                else {
                        $tpl->assign(FILES => "No files found");
+                       $tpl->assign(BROWSELINKS => "");
                }


>installed
>http://svn.apachegallery.dk/snapshots/Apache-Gallery-r203.tar.gz
>and 'new' templates
>
>However I noticed that "$BROWSELINKS" appears in upper right corner of an empty directory (maybe?, anyone can confirm?)
>see here for example..
>http://ck1.is-a-geek.org/pics/PhotoBlog/Sept_11_2003/
>
>I get this in the error log
>[CGI::FastTemplate] Warning: no value found for variable: BROWSELINKS
>
>
>Chris
>http://ck1.is-a-geek.org/

_______________________________________________
users mailing list
users@xxxxxxxxxxxxxxxx
http://ufo.hestdesign.com/cgi-bin/mailman/listinfo/agusers

_______________________________________________
users mailing list
users@xxxxxxxxxxxxxxxx
http://ufo.hestdesign.com/cgi-bin/mailman/listinfo/agusers