summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkiz_09872007-04-23 10:42:20 (GMT)
committerkiz_09872007-04-23 10:42:20 (GMT)
commit30e89ab28f4833edbb332d1a633276c87fe5f4ad (patch)
tree8320f61e33eca0f88a97e572a991701ac87e3898
parenta648aa86b90203f57bc1a5641e63e3325e1eb9e0 (diff)
#132734 Removed hardcoding of center5.x-1.0
-rw-r--r--gallery_block.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/gallery_block.inc b/gallery_block.inc
index 7b4bc14..2fbfd69 100644
--- a/gallery_block.inc
+++ b/gallery_block.inc
@@ -76,8 +76,7 @@ function _gallery_block($op = 'list', $delta = 0, $edit = array()) {
} 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) {