Welcome, Guest. Please Login or Register.
April 27, 2025, 05:56:36 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  General Category  |  Feedback  |  PHP Code suggestion for BoardIndex.php on.gif & off.gif « previous next »
Pages: [1] Reply Ignore Print
Author Topic: PHP Code suggestion for BoardIndex.php on.gif & off.gif  (Read 649 times)
CandyMann_69
Full Member
***
Posts: 143


:)

PHP Code suggestion for BoardIndex.php on.gif & off.gif
« on: December 06, 2002, 02:16:23 AM »
Reply with quote

Right now it's coded so that you can change the on.gif & off.gif to another picture if you wanted to, which is great!  The problem is if you change them, the images below next to "new posts" and "no new posts" don't change as well.  Plus, if you are using another language it will still say the same, and not the correct language.

I suggest changing boardindex.php code from this:
<img src="$imagesdir/new_some.gif" border="0" alt="$txt[333]">
<img src="$imagesdir/new_none.gif" border="0" alt="$txt[334]"></td>
To something like this:
<font size="1"><img src="$imagesdir/on_small.gif" border="0" alt="$txt[333]"> $txt[333]
<img src="$imagesdir/off_small.gif" border="0" alt="$txt[334]"> $txt[334]</font></td>

Thanks for your time.  Hope some admin / moderator will look at this a resond. :)
Logged
Wistman
Jr. Member
**
Posts: 84


I'm a llama!

Re:PHP Code suggestion for BoardIndex.php on.gif & off.gif
« Reply #1 on: December 22, 2002, 10:55:02 PM »
Reply with quote

I have come accross the same problem and have been asking help on rescripting this and other errors like this on this post


The problem is that these images:
             

can not be changed by a user choosing a language file, they have to remain in the language of the forum
Logged
Markuz
Noobie
*
Posts: 24


I'm a llama!

ICQ - 151871137 WWW
Re:PHP Code suggestion for BoardIndex.php on.gif & off.gif
« Reply #2 on: December 23, 2002, 11:20:59 AM »
Reply with quote

Why not change the $imagesdir to contain the language sub dir? It isn't too difficult
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  General Category  |  Feedback  |  PHP Code suggestion for BoardIndex.php on.gif & off.gif « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.137 seconds with 21 queries.