From: luci a. l. d' b. <sf...@gr...> - 2010-09-22 18:20:34
|
yes, we can On 09/22/2010 04:45 PM, Stephane Casset wrote: > Le Wed, Sep 22, 2010 at 02:22:22PM +0000, lu...@us... écrivait : > >> Revision: 29528 >> http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=29528&view=rev >> Author: luciash >> Date: 2010-09-22 14:22:22 +0000 (Wed, 22 Sep 2010) >> >> Log Message: >> ----------- >> [MOD] img border strict markup validation (using style="border: none" instead of border="0" attribute) >> > Shouldn't we introduce a no_border class in CSS and avoid open coding > style in PHP/Smarty etc. ? > I would be cleaner IMO. > > >> Modified Paths: >> -------------- >> branches/6.x/lib/smarty_tiki/function.icon.php >> >> Modified: branches/6.x/lib/smarty_tiki/function.icon.php >> =================================================================== >> --- branches/6.x/lib/smarty_tiki/function.icon.php 2010-09-22 13:40:42 UTC (rev 29527) >> +++ branches/6.x/lib/smarty_tiki/function.icon.php 2010-09-22 14:22:22 UTC (rev 29528) >> @@ -144,7 +144,7 @@ >> >> // default values for some params >> if ( ! isset($params['border']) ) >> - $params['border'] = '0'; >> + $params['style'] = 'border: none'; >> >> if ( isset($params['path_prefix']) ) { >> $params['basedir'] = $tikipath; >> >> >> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. >> >> ------------------------------------------------------------------------------ >> Start uncovering the many advantages of virtual appliances >> and start using them to simplify application deployment and >> accelerate your shift to cloud computing. >> http://p.sf.net/sfu/novell-sfdev2dev >> _______________________________________________ >> Tikiwiki-cvs mailing list >> Tik...@li... >> https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs >> > |