Menu

#46 Remove blank from link to previous page

open
nobody
None
5
2008-07-28
2008-07-28
Russe
No

Hi,

Currently (0.9.13b) at the language file there's the text string for the link to the previous page with a blank at the end. This will display the blank in the link as well which is pretty ugly.
$txt_previous_page='<- Previous page -| ';

But when adding a blank to the php code at index.php you can remove the blank from the link text at language file.
Old code from index.php:
$html .= $aHref.(($current_page-1)*$config['nb_thumbs_max']).'">'.$txt_previous_page.'</a>';

New code from index.php:
$html .= $aHref.(($current_page-1)*$config['nb_thumbs_max']).'">'.$txt_previous_page.'</a> ';

I would like to ask you whether you want to use this change of code for next versions of phpGraphy?

Thanks,
Russe

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.