From: <var...@us...> - 2021-11-24 10:49:32
|
Revision: 10680 http://sourceforge.net/p/phpwiki/code/10680 Author: vargenau Date: 2021-11-24 10:49:30 +0000 (Wed, 24 Nov 2021) Log Message: ----------- Use CSS for bgcolor Modified Paths: -------------- trunk/lib/plugin/PhotoAlbum.php Modified: trunk/lib/plugin/PhotoAlbum.php =================================================================== --- trunk/lib/plugin/PhotoAlbum.php 2021-11-23 16:02:42 UTC (rev 10679) +++ trunk/lib/plugin/PhotoAlbum.php 2021-11-24 10:49:30 UTC (rev 10680) @@ -313,7 +313,7 @@ // cell operations $cell = array( 'class' => 'photoalbum cell align-center top', - 'bgcolor' => "$color"); + 'style' => "background-color: $color"); if ($cellwidth != 'auto') { if ($cellwidth == 'equal') { $newcellwidth = round(100 / $numcols) . "%"; @@ -389,12 +389,12 @@ $row->pushContent( HTML::td(array("class" => "top", "nowrap" => 0, - "bgcolor" => $color), + 'style' => "background-color: $color"), HTML::div(array('class' => 'boldsmall'), ($url_text)))); $row->pushContent( HTML::td(array("class" => "top", "nowrap" => 0, - "bgcolor" => $color), + 'style' => "background-color: $color"), HTML::div(array('class' => 'gensmall'), ($size[0] . " x " . @@ -405,7 +405,7 @@ $row->pushContent( HTML::td(array("class" => "top", "nowrap" => 0, - "bgcolor" => $color), + 'style' => "background-color: $color"), HTML::div(array('class' => 'gensmall'), $desc))); } elseif ($mode == 'thumbs') { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |