aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-02-10 08:06:33 -0500
committerCash Costello <cash.costello@gmail.com>2012-02-10 08:06:33 -0500
commit77c2d19bc36450ce6f5bc6ddf6b2ddea510bd19b (patch)
tree6875b10ed754f8b433fa53e61da8994a5c42431a /engine
parent69786dcc8ad1c193f3b4fff36807e6dc92da1d8d (diff)
downloadelgg-77c2d19bc36450ce6f5bc6ddf6b2ddea510bd19b.tar.gz
elgg-77c2d19bc36450ce6f5bc6ddf6b2ddea510bd19b.tar.bz2
updated the walled garden js to use new js lib
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/elgglib.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index 5c444c2f5..b55958a6c 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -2026,6 +2026,7 @@ function elgg_walled_garden_index() {
$params = array(
'content' => $content,
'class' => 'elgg-walledgarden-double',
+ 'id' => 'elgg-walledgarden-login',
);
$body = elgg_view_layout('walled_garden', $params);
echo elgg_view_page('', $body, 'walled_garden');
@@ -2046,6 +2047,7 @@ function _elgg_walled_garden_ajax_handler($page) {
$params = array(
'content' => elgg_view("core/walled_garden/$view"),
'class' => 'elgg-walledgarden-single hidden',
+ 'id' => str_replace('_', '-', "elgg-walledgarden-$view"),
);
echo elgg_view_layout('walled_garden', $params);
return true;