aboutsummaryrefslogtreecommitdiff
path: root/views/default/widgets
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-19 22:01:08 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-19 22:01:08 +0000
commite99c8b979a149dc6693b0e82762a9ca550ece86b (patch)
treec6566b0c5c4690e57b2cbac599898dc54aea2e58 /views/default/widgets
parent9d810a6331a025c28052eadcbfe7e6e77b8a7334 (diff)
downloadelgg-e99c8b979a149dc6693b0e82762a9ca550ece86b.tar.gz
elgg-e99c8b979a149dc6693b0e82762a9ca550ece86b.tar.bz2
finished updated the widgets library
git-svn-id: http://code.elgg.org/elgg/trunk@7352 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/widgets')
-rw-r--r--views/default/widgets/add.php2
-rw-r--r--views/default/widgets/wrapper.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/views/default/widgets/add.php b/views/default/widgets/add.php
index 9687c5bea..c8576cf06 100644
--- a/views/default/widgets/add.php
+++ b/views/default/widgets/add.php
@@ -1,7 +1,7 @@
<?php
$widgets = $vars['widgets'];
-$widget_types = get_widget_types();
+$widget_types = elgg_get_widget_types();
$context = $vars['context'];
diff --git a/views/default/widgets/wrapper.php b/views/default/widgets/wrapper.php
index a113d114e..8e92c119b 100644
--- a/views/default/widgets/wrapper.php
+++ b/views/default/widgets/wrapper.php
@@ -12,7 +12,7 @@ if (!elgg_instanceof($widget, 'object', 'widget')) {
}
// @todo catch for disabled plugins
-$widgettypes = get_widget_types();
+$widgettypes = elgg_get_widget_types('all');
$handler = $widget->handler;