diff options
Diffstat (limited to 'views/default/widgets/add.php')
-rw-r--r-- | views/default/widgets/add.php | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/views/default/widgets/add.php b/views/default/widgets/add.php deleted file mode 100644 index c8576cf06..000000000 --- a/views/default/widgets/add.php +++ /dev/null @@ -1,34 +0,0 @@ -<?php - -$widgets = $vars['widgets']; -$widget_types = elgg_get_widget_types(); - -$context = $vars['context']; - -?> -<div class="widgets_add hidden"> - <p> - <?php echo elgg_echo('widgets:add:description'); ?> - </p> - <ul> -<?php - foreach ($widget_types as $handler => $widget_type) { - $options = array( - 'text' => $widget_type->name, - 'href' => '#', - 'internalid' => $handler, - ); - $link = elgg_view('output/url', $options); - echo "<li>$link</li>"; - } -?> - </ul> -<?php - $params = array( - 'internalname' => 'widget_context', - 'value' => $context - ); - echo elgg_view('input/hidden', $params); -?> - <div class="clearfloat"></div> -</div> |