|
|
|
|
Joined: May 2003
Posts: 1,068
Junior Member
|
|
Junior Member
Joined: May 2003
Posts: 1,068 |
I want to make it more obvious that there is an attachment so I would like to replace the text with an image. Forgive me if I am way off the mark but here is what I have come up with. In showthreaded.php and showflat.php there is a line that reads this: $ubbt_lang['FILE_ATTACH'] = "Attachment"; So what if I were to change "Attachment" to: <img src="{$config['images']}/images/diskimage.gif" border="0" alt="Attachment" /> Any thoughts would be great, thanks.
|
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
That'll work. There's a mod of mine around here that does that too.... it's way old - but in the image tag - since you are already inside quote = you need to comment out the quotes with a \ before them... like this: $ubbt_lang['FILE_ATTACH'] = "<img src="{$config['images']}/images/diskimage.gif" border="0" alt="Attachment" />";
Last edited by JoshPet; 05/14/2003 10:00 AM.
|
|
|
|
|
Joined: May 2003
Posts: 1,068
Junior Member
|
|
Junior Member
Joined: May 2003
Posts: 1,068 |
Thanks for pointing me in the right direction, that worked great. Also, I changed border="0" alt= to border="0" alt=
|
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
Oh yeah.  I'd forgotten that.... but you got the ideas - all quotes inside of quotes need to be commented out or it "breaks" the string.  Lemme fix above if anyone else is looking.
|
|
|
|
|
Joined: May 2003
Posts: 1,068
Junior Member
|
|
Junior Member
Joined: May 2003
Posts: 1,068 |
This language sure does smack of Perl 
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 253
Joined: January 2000
|
|
|
Forums63
Topics37,583
Posts293,957
Members13,826
| |
Most Online151,614 Nov 14th, 2025
|
|
Currently Online 2042
Topics Created 0
Posts Made 0
Users Online 1
Birthdays 30
|
|
|
|
|
|