handler; $title = $widget->title; if (!$title) { $title = $widgettypes[$handler]->name; } $can_edit = $widget->canEdit(); $widget_id = "widget_$widget->guid"; $widget_instance = "widget_instance_$handler"; ?>