--- gallery_block.inc.orig 2007-03-31 11:02:55.000000000 -0400
+++ gallery_block.inc 2007-03-31 11:13:19.000000000 -0400
@@ -76,8 +76,7 @@
} else {
$block['subject'] = $typeMap[$params['blocks']];
}
- // TODO: This should not be hardcoded, but included in the CSS.
- $block['content'] = '' . $content . '';
+ $block['content'] = '

' . $content . '

';
}
}
if ($head) {

Comments

dfgfdgdfgdfg’s picture

--- gallery_block.inc.orig      2007-03-31 11:02:55.000000000 -0400
+++ gallery_block.inc   2007-03-31 11:13:19.000000000 -0400
@@ -76,8 +76,7 @@
             } else {
               $block['subject'] = $typeMap[$params['blocks']]; 
             }
-            // TODO: This should not be hardcoded, but included in the CSS.
-            $block['content'] = '<center>' . $content . '</center>';
+            $block['content'] = '<div class="g2image_centered">' . $content . '</div>';
           }
         }
         if ($head) {
kiz_0987’s picture

Status: Reviewed & tested by the community » Fixed

Committed -- Thanks.

kiz_0987’s picture

Component: User interface » User interface / Theming
Status: Fixed » Closed (fixed)