diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-19 20:44:22 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-19 20:44:22 +0000 |
commit | 9c1ca0412bc94fa00494ce8bc46c6a8d4e66c4b2 (patch) | |
tree | 52a98da29079ea0ef1a93085126477c081033e1f /views/default/layout/shells | |
parent | c4086e0deabe3b4305f1368082c8bfcaab5539aa (diff) | |
download | elgg-9c1ca0412bc94fa00494ce8bc46c6a8d4e66c4b2.tar.gz elgg-9c1ca0412bc94fa00494ce8bc46c6a8d4e66c4b2.tar.bz2 |
starting to use the grid in the widget code
git-svn-id: http://code.elgg.org/elgg/trunk@7692 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/layout/shells')
-rw-r--r-- | views/default/layout/shells/widgets.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 "<div class=\"widget-column $widget_class\" id=\"widget-col-$column_index\">"; + echo "<div class=\"$widget_class elgg-widgets\" id=\"widget-col-$column_index\">"; if (is_array($column_widgets) && sizeof($column_widgets) > 0) { foreach ($column_widgets as $widget) { echo elgg_view_entity($widget); |