Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

Missing spacer characters in Top10 view
https://www.tinywebgallery.com/forum/viewtopic.php?f=5&t=707
Page 1 of 1

Author:  indy31 [ 20. Dec 2006, 18:43 ]
Post subject:  Missing spacer characters in Top10 view

V1.5.5 with $show_count_views=false

In the Top10 screen the spacer between the first and second item is missing when show_count_views is configured as false. The result looks as follows:
Code:
DownloadsRating | Votes | Newest comments
i.s.o.
Code:
Downloads | Rating | Votes | Newest comments


Caused by a bug in printtop10.inc.php
Code:
            if ($show_spacer == true) {
                echo " | ";
                $show_spacer = true;
            }
change (in 3 locations) to
Code:
            if ($show_spacer == true) {
                echo " | ";
            }
            $show_spacer = true;

Author:  TinyWebGallery [ 22. Dec 2006, 18:43 ]
Post subject: 

Right - I'll fix this in the next version too

The fix you made does work for your setup only!
because the other 2 fixes are for the other | that are displayed.

I'll recheck this and fix this for the next version ;).

thanks for reporting.

/Michael

Author:  TinyWebGallery [ 22. Dec 2006, 21:01 ]
Post subject: 

It's now fixed - my latest comment was not correct - your changes where right - only at the last one not needed - I removed it there ;).

Thanks again,
Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/