aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-08 09:43:58 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-08 09:43:58 +0000
commit0b3be849bab320cae8e4425d443ca889953596e8 (patch)
tree0807976c97fbf5ceb3438b0854bd81ce6bb80e1d
parentba8eed0e9e988019a5a3186f20c742111211f703 (diff)
downloadelgg-0b3be849bab320cae8e4425d443ca889953596e8.tar.gz
elgg-0b3be849bab320cae8e4425d443ca889953596e8.tar.bz2
widget are now logged in by default, tag output tweaked
git-svn-id: https://code.elgg.org/elgg/trunk@1329 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/widgets.php1
-rw-r--r--views/default/output/tags.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/engine/lib/widgets.php b/engine/lib/widgets.php
index 5156a6332..2269d76d0 100644
--- a/engine/lib/widgets.php
+++ b/engine/lib/widgets.php
@@ -179,6 +179,7 @@
$widget->context = $context;
$widget->column = $column;
$widget->order = $order;
+ $widget->access_id = 1;
if (!$widget->save())
return false;
// save_widget_location($widget, $order, $column);
diff --git a/views/default/output/tags.php b/views/default/output/tags.php
index a1a282bb1..ce479d2b1 100644
--- a/views/default/output/tags.php
+++ b/views/default/output/tags.php
@@ -49,7 +49,7 @@
$tagstr .= "<a href=\"{$vars['url']}search/?tag=".urlencode($tag) . "{$type}{$subtype}{$object}\">{$tag}</a>";
}
}
- echo "<div class=\"object_tag_string\">" . $tagstr . "</div>";
+ echo $tagstr;
}
?> \ No newline at end of file