aboutsummaryrefslogtreecommitdiff
path: root/views/default/canvas
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-24 09:10:54 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-24 09:10:54 +0000
commit50318370acf9ee42604f1debabdfa8b7f2f970ae (patch)
tree70ac1d39caa55b64a8cc74e87a4dd8bca55838a8 /views/default/canvas
parent9e75564ea612baf6cf00d6628ad5bca50b20ce09 (diff)
downloadelgg-50318370acf9ee42604f1debabdfa8b7f2f970ae.tar.gz
elgg-50318370acf9ee42604f1debabdfa8b7f2f970ae.tar.bz2
Widget fixes
git-svn-id: https://code.elgg.org/elgg/trunk@1086 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/canvas')
-rw-r--r--views/default/canvas/layouts/widgets.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/views/default/canvas/layouts/widgets.php b/views/default/canvas/layouts/widgets.php
index 403ea8f96..1ef87d2f6 100644
--- a/views/default/canvas/layouts/widgets.php
+++ b/views/default/canvas/layouts/widgets.php
@@ -174,13 +174,7 @@
if (is_array($area2widgets) && sizeof($area2widgets) > 0)
foreach($area2widgets as $widget) {
- // echo elgg_view_entity($widget);
-
-?>
-
- <script type="text/javascript" src="<?php echo $vars['url']; ?>pg/view/<?php echo $widget->getGUID(); ?>?view=js"></script>
-
-<?
+ echo elgg_view_entity($widget);
}
?>