From 9c1ca0412bc94fa00494ce8bc46c6a8d4e66c4b2 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 19 Dec 2010 20:44:22 +0000 Subject: starting to use the grid in the widget code git-svn-id: http://code.elgg.org/elgg/trunk@7692 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/layout/shells/widgets.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'views/default/layout/shells') diff --git a/views/default/layout/shells/widgets.php b/views/default/layout/shells/widgets.php index e5b63114b..e35e8c6c4 100644 --- a/views/default/layout/shells/widgets.php +++ b/views/default/layout/shells/widgets.php @@ -30,11 +30,11 @@ if (elgg_can_edit_widget_layout($context)) { echo $vars['box']; -$widget_class = "widget-{$num_columns}-columns"; +$widget_class = "elgg-col-1of{$num_columns}"; for ($column_index = 1; $column_index <= $num_columns; $column_index++) { $column_widgets = $widgets[$column_index]; - echo "
"; + echo "
"; if (is_array($column_widgets) && sizeof($column_widgets) > 0) { foreach ($column_widgets as $widget) { echo elgg_view_entity($widget); -- cgit v1.2.3