&nbsp on page numbers

Jigsatics
Jigsatics's picture

Joined: 2003-10-08
Posts: 7
Posted: Mon, 2004-10-04 13:47

Hi!

I have extra &nbsp's after every page numbers when I view my gallery. It shows as &nbsp1 (where 1 is a link to page 1). Does anyone know how to fix it?

thanks.

----
Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version: 1.4.4 pl2
Apache version: 1.3.31
PHP version (don't just say PHP 4, please): 4.3.9
Graphics Toolkit: imagemagick
Operating system: Linux
Web browser/version (if applicable): MSIE 6

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Mon, 2004-10-04 14:08

Hello Jigsatics,

i cant verify this on my installation here.
Can you give us the URL to your Gallery ?

Regards,

Jens

 
Jigsatics
Jigsatics's picture

Joined: 2003-10-08
Posts: 7
Posted: Mon, 2004-10-04 14:42
 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Mon, 2004-10-04 15:27

Hi,

why did i know you run a modified or "not normal" Gallery ?
Strange to see a php site inside a .html.

Anyway.

Our code is fine. I think your parser does something strange.
Because i see this in your html output &amp;nbsp<b>1</b>

Open layout/navigator.inc
There you find $mpContent .= "&amp;nbsp;$leftdot&amp;nbsp$number\n\t\t"; and $mpContent .="&amp;nbsp;$rightdot&amp;nbsp;";

I did this codepart. And you can see the ; are there.

Jens

 
Jigsatics
Jigsatics's picture

Joined: 2003-10-08
Posts: 7
Posted: Thu, 2004-10-07 22:00

thank you very much. it's fixed. :D

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2004-10-07 22:19

what was it ?

;)

 
Aylwin
Aylwin's picture

Joined: 2003-09-16
Posts: 24
Posted: Sat, 2005-02-19 05:17
Tim_j wrote:
what was it ?

A semicolon is missing after the 2nd &nbsp.