diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-19 21:22:20 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-19 21:22:20 +0000 |
commit | 8784c7282009b9cd14b166d57617525424ef94a5 (patch) | |
tree | aa4949f2a1b28d3bd3e6a05fe396d54a8ba4c0f4 /views/default/layout/objects/widget.php | |
parent | 9c1ca0412bc94fa00494ce8bc46c6a8d4e66c4b2 (diff) | |
download | elgg-8784c7282009b9cd14b166d57617525424ef94a5.tar.gz elgg-8784c7282009b9cd14b166d57617525424ef94a5.tar.bz2 |
namespaced the widget code
git-svn-id: http://code.elgg.org/elgg/trunk@7693 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/layout/objects/widget.php')
-rw-r--r-- | views/default/layout/objects/widget.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/views/default/layout/objects/widget.php b/views/default/layout/objects/widget.php index d109693e1..1ba274aa6 100644 --- a/views/default/layout/objects/widget.php +++ b/views/default/layout/objects/widget.php @@ -19,12 +19,12 @@ $title = $widget->getTitle(); $can_edit = $widget->canEdit(); -$widget_id = "widget-$widget->guid"; -$widget_instance = "widget-instance-$handler"; +$widget_id = "elgg-widget-$widget->guid"; +$widget_instance = "elgg-widget-instance-$handler"; ?> -<div class="widget draggable <?php echo $widget_instance?>" id="<?php echo $widget_id; ?>"> - <div class="widget-title drag-handle"> +<div class="elgg-widget draggable <?php echo $widget_instance?>" id="<?php echo $widget_id; ?>"> + <div class="elgg-widget-title drag-handle"> <h3><?php echo $title; ?></h3> </div> <?php @@ -32,13 +32,13 @@ $widget_instance = "widget-instance-$handler"; echo elgg_view('layout/objects/widget/controls', array('widget' => $widget)); } ?> - <div class="widget-container"> + <div class="elgg-widget-container"> <?php if ($can_edit) { echo elgg_view('layout/objects/widget/settings', array('widget' => $widget)); } ?> - <div class="widget-content"> + <div class="elgg-widget-content"> <?php if (elgg_view_exists("widgets/$handler/content")) { echo elgg_view("widgets/$handler/content", $vars); |