[Evocms-plugins-commits] SF.net SVN: evocms-plugins: [470] flickr_plugin/trunk/_flickr.plugin.php
Brought to you by:
blueyed
From: <bl...@us...> - 2007-08-20 23:20:45
|
Revision: 470 http://evocms-plugins.svn.sourceforge.net/evocms-plugins/?rev=470&view=rev Author: blueyed Date: 2007-08-20 16:20:36 -0700 (Mon, 20 Aug 2007) Log Message: ----------- Use title for alt _and_ title attribute of images Modified Paths: -------------- flickr_plugin/trunk/_flickr.plugin.php Modified: flickr_plugin/trunk/_flickr.plugin.php =================================================================== --- flickr_plugin/trunk/_flickr.plugin.php 2007-08-20 23:00:52 UTC (rev 469) +++ flickr_plugin/trunk/_flickr.plugin.php 2007-08-20 23:20:36 UTC (rev 470) @@ -289,7 +289,8 @@ $person_url = $person_urls[$person_id]; echo '<a href="'.$person_url.$photo['id'].'">'; - echo '<img alt="'.htmlspecialchars($photo['title']).'" src="'.$f->buildPhotoURL($photo, "Square").'" height="75" width="75" />'; + $title_html = htmlspecialchars($photo['title']); + echo '<img alt="'.$title_html.'" title="'.$title_html.'" src="'.$f->buildPhotoURL($photo, "Square").'" height="75" width="75" />'; echo "</a>"; $i++; // If it reaches the end of the row, insert a line break This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |