aboutsummaryrefslogtreecommitdiff
path: root/views/default/layout
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-19 20:44:22 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-19 20:44:22 +0000
commit9c1ca0412bc94fa00494ce8bc46c6a8d4e66c4b2 (patch)
tree52a98da29079ea0ef1a93085126477c081033e1f /views/default/layout
parentc4086e0deabe3b4305f1368082c8bfcaab5539aa (diff)
downloadelgg-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')
-rw-r--r--views/default/layout/shells/widgets.php4
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);