From: <var...@us...> - 2008-10-24 14:59:03
|
Revision: 6336 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6336&view=rev Author: vargenau Date: 2008-10-24 14:58:50 +0000 (Fri, 24 Oct 2008) Log Message: ----------- Add missing alt argument Modified Paths: -------------- trunk/lib/plugin/YouTube.php Modified: trunk/lib/plugin/YouTube.php =================================================================== --- trunk/lib/plugin/YouTube.php 2008-10-24 14:25:18 UTC (rev 6335) +++ trunk/lib/plugin/YouTube.php 2008-10-24 14:58:50 UTC (rev 6336) @@ -2,6 +2,7 @@ rcs_id('$Id$'); /* Copyright 2007 Reini Urban + Copyright 2008 Marc-Etienne Vargenau, Alcatel-Lucent */ /** @@ -141,7 +142,8 @@ HTML::img(array('src' => "http://img.youtube.com/vi/". $v."/".(($size == 'large')?"0":"2").".jpg", 'width' => $width, - 'height' => $height))); + 'height' => $height, + 'alt' => "YouTube video $v"))); return $link; } $object = HTML::object(array('class' => 'inlineobject', @@ -173,12 +175,6 @@ } }; -// $Log: not supported by cvs2svn $ -// Revision 1.1 2007/05/24 18:40:30 rurban -// new plugin -// -// - // For emacs users // Local Variables: // mode: php This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |