guid, $context); if (elgg_can_edit_widget_layout($context)) { if ($show_add_widgets) { echo elgg_view('layout/shells/widgets/add_button'); } $params = array( 'widgets' => $widgets, 'context' => $context, ); echo elgg_view('layout/shells/widgets/add_panel', $params); } echo $vars['box']; $widget_class = "elgg-col-1of{$num_columns}"; for ($column_index = 1; $column_index <= $num_columns; $column_index++) { $column_widgets = $widgets[$column_index]; echo "
'; } elgg_pop_context();