aboutsummaryrefslogtreecommitdiff
path: root/views/default/widgets/add_panel.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-02 03:29:06 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-02 03:29:06 +0000
commitab36344d8e480b7c1b053130f2afc19ed2cf9e6c (patch)
tree71a4c5b7233593cbd781738e932db35370f4771a /views/default/widgets/add_panel.php
parent4d80bc33b8924038bd1ca57d548828afe661bb42 (diff)
downloadelgg-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/widgets/add_panel.php')
-rw-r--r--views/default/widgets/add_panel.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/views/default/widgets/add_panel.php b/views/default/widgets/add_panel.php
index 9dbc8f78f..d9acc5518 100644
--- a/views/default/widgets/add_panel.php
+++ b/views/default/widgets/add_panel.php
@@ -20,7 +20,7 @@ foreach ($widgets as $column_widgets) {
<ul>
<?php
foreach ($widget_types as $handler => $widget_type) {
- $id = "widget_type_$handler";
+ $id = "widget-type-$handler";
// check if widget added and only one instance allowed
if ($widget_type->multiple == false && in_array($handler, $current_handlers)) {
$class = 'widget-unavailable';
@@ -31,9 +31,9 @@ foreach ($widgets as $column_widgets) {
}
if ($widget_type->multiple) {
- $class .= ' widget_multiple';
+ $class .= ' widget-multiple';
} else {
- $class .= ' widget_single';
+ $class .= ' widget-single';
}
echo "<li title=\"$tooltip\" id=\"$id\" class=\"$class\">$widget_type->name</li>";
@@ -42,7 +42,7 @@ foreach ($widgets as $column_widgets) {
</ul>
<?php
$params = array(
- 'internalname' => 'widget_context',
+ 'internalname' => 'widget-context',
'value' => $context
);
echo elgg_view('input/hidden', $params);