Page Index Toggle Pages: 1
Topic Tools
Normal Topic Alt and Title Attributes for RSS Image (Read 1,597 times)
Jet Li
Legacy Dev Team
Development Team
****
Offline



Posts: 6,588
Location: Hong Kong
Re: Alt and Title Attributes for RSS Image
Reply #2 - Dec 31st, 2009 at 4:20pm
Post Tools
Done in CVS.

New BoardIndex.pl and MessageIndex.pl in CVS.

@ Captain John

No need attach files. Because you dont know if other dev have other changes. Wink
« Last Edit: Dec 31st, 2009 at 4:21pm by Jet Li »  

PM me for YaBB Installation Service
Back to top
WWWGTalkFacebook  
IP Logged
 
Captain John
Ex Member


Re: Alt and Title Attributes for RSS Image
Reply #1 - Dec 31st, 2009 at 4:15pm
Post Tools
corrected title & alt >lines 653,654  updated version 1.40.2.2> 1.40.2.3
« Last Edit: Dec 31st, 2009 at 4:17pm by »  

boardindex.txt (Attachment deleted)
Back to top
 
IP Logged
 
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Alt and Title Attributes for RSS Image
Oct 31st, 2009 at 9:39pm
Post Tools
Not a bug as such but, the alt and title attributes aren't working for the RSS image. (Checked on YaBB 2.4)

In BoardIndex.pl and MessageIndex.pl the highlighted underscores need to be removed. Should be '$maintxt' and not '$main_txt':

BoardIndex.pl:

Code
Select All
		$rss_link = qq~<a href="$scripturl?action=RSSrecent" target="_blank"><img src="$imagesdir/rss.png" border="0" alt="$main_txt{'rssfeed'}" title="$main_txt{'rssfeed'}" style="vertical-align: middle;" /></a>~;
		$rss_link = qq~<a href="$scripturl?action=RSSrecent;catselect=$INFO{'catselect'}" target="_blank"><img src="$imagesdir/rss.png" border="0" alt="$main_txt{'rssfeed'}" title="$main_txt{'rssfeed'}" style="vertical-align: middle;" /></a>~ if $INFO{'catselect'}; 


MessageIndex.pl:

Code
Select All
		$rss_link = qq~<a href="$scripturl?action=RSSboard;board=$currentboard" target="_blank"><img src="$imagesdir/rss.png" border="0" alt="$main_txt{'rssfeed'}" title="$main_txt{'rssfeed'}" style="vertical-align: middle;" /></a>~; 

« Last Edit: Oct 31st, 2009 at 9:40pm by Derek Barnstorm »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools
 
  « Board Index ‹ Board  ^Top