diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-02 03:29:06 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-02 03:29:06 +0000 |
commit | ab36344d8e480b7c1b053130f2afc19ed2cf9e6c (patch) | |
tree | 71a4c5b7233593cbd781738e932db35370f4771a /views/default/layouts | |
parent | 4d80bc33b8924038bd1ca57d548828afe661bb42 (diff) | |
download | elgg-ab36344d8e480b7c1b053130f2afc19ed2cf9e6c.tar.gz elgg-ab36344d8e480b7c1b053130f2afc19ed2cf9e6c.tar.bz2 |
Refs #2700 fixed the widget code with the new CSS element names
git-svn-id: http://code.elgg.org/elgg/trunk@7494 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/layouts')
-rw-r--r-- | views/default/layouts/widgets.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/layouts/widgets.php b/views/default/layouts/widgets.php index c5607314a..130b2eaad 100644 --- a/views/default/layouts/widgets.php +++ b/views/default/layouts/widgets.php @@ -30,11 +30,11 @@ if (elgg_can_edit_widget_layout($context)) { echo $vars['box']; -$widget_class = "widget_{$num_columns}_columns"; +$widget_class = "widget-{$num_columns}-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-column $widget_class\" id=\"widget-col-$column_index\">"; if (is_array($column_widgets) && sizeof($column_widgets) > 0) { foreach ($column_widgets as $widget) { echo elgg_view_entity($widget); |