From: <var...@us...> - 2016-07-07 14:56:02
|
Revision: 9860 http://sourceforge.net/p/phpwiki/code/9860 Author: vargenau Date: 2016-07-07 14:55:58 +0000 (Thu, 07 Jul 2016) Log Message: ----------- Use CSS Modified Paths: -------------- trunk/lib/plugin/PhotoAlbum.php Modified: trunk/lib/plugin/PhotoAlbum.php =================================================================== --- trunk/lib/plugin/PhotoAlbum.php 2016-07-07 13:59:29 UTC (rev 9859) +++ trunk/lib/plugin/PhotoAlbum.php 2016-07-07 14:55:58 UTC (rev 9860) @@ -501,7 +501,7 @@ //create main table $table_attributes = array( "class" => "photoalbum", - "width" => $tablewidth ? $tablewidth : "100%"); + "style" => $tablewidth ? "width: ".$tablewidth : "width: 100%"); if (!empty($tableheight)) $table_attributes = array_merge($table_attributes, @@ -509,7 +509,7 @@ if ($mode != 'row') $html = HTML::table($table_attributes, $html); // align all - return HTML::div(array("align" => $align), $html); + return HTML::div(array("class" => "align-".$align), $html); } /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |