aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-24 01:46:08 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-24 01:46:08 +0000
commit2aa481c0ac877eacf643cd71c5701c1c271140da (patch)
tree8502b3be1c16cdbfa655ec96c2da378f7ed05cf9 /mod
parentc667ce609dc3c1f9f071e39293f8c176d3e1c5dc (diff)
downloadelgg-2aa481c0ac877eacf643cd71c5701c1c271140da.tar.gz
elgg-2aa481c0ac877eacf643cd71c5701c1c271140da.tar.bz2
Fixes #2997 - href used instead of url in menu system
git-svn-id: http://code.elgg.org/elgg/trunk@8456 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/bookmarks/start.php2
-rw-r--r--mod/developers/start.php2
-rw-r--r--mod/file/views/default/file/typecloud.php4
-rw-r--r--mod/invitefriends/start.php2
-rw-r--r--mod/messages/start.php4
-rw-r--r--mod/notifications/start.php4
-rw-r--r--mod/pages/lib/pages.php4
7 files changed, 11 insertions, 11 deletions
diff --git a/mod/bookmarks/start.php b/mod/bookmarks/start.php
index 9f8179823..a58ec37c5 100644
--- a/mod/bookmarks/start.php
+++ b/mod/bookmarks/start.php
@@ -26,7 +26,7 @@ function bookmarks_init() {
elgg_register_menu_item('site', array(
'name' => 'bookmarks',
'text' => elgg_echo('bookmarks'),
- 'url' => 'pg/bookmarks/all'
+ 'href' => 'pg/bookmarks/all'
));
elgg_register_plugin_hook_handler('register', 'menu:page', 'bookmarks_page_menu');
diff --git a/mod/developers/start.php b/mod/developers/start.php
index f9527cd44..dd74493f4 100644
--- a/mod/developers/start.php
+++ b/mod/developers/start.php
@@ -48,7 +48,7 @@ function developers_theme_preview_controller($page) {
elgg_register_menu_item('page', array(
'name' => $page_name,
'text' => elgg_echo("theme_preview:$page_name"),
- 'url' => "pg/theme_preview/$page_name",
+ 'href' => "pg/theme_preview/$page_name",
));
}
diff --git a/mod/file/views/default/file/typecloud.php b/mod/file/views/default/file/typecloud.php
index 6d329d831..c0db7932b 100644
--- a/mod/file/views/default/file/typecloud.php
+++ b/mod/file/views/default/file/typecloud.php
@@ -38,13 +38,13 @@ $all->tag = "all";
elgg_register_menu_item('page', array(
'name' => 'file:all',
'text' => elgg_echo('all'),
- 'url' => file_type_cloud_get_url($all, $friends),
+ 'href' => file_type_cloud_get_url($all, $friends),
));
foreach ($types as $type) {
elgg_register_menu_item('page', array(
'name' => "file:$type->tag",
'text' => elgg_echo("file:type:$type->tag"),
- 'url' => file_type_cloud_get_url($type, $friends),
+ 'href' => file_type_cloud_get_url($type, $friends),
));
}
diff --git a/mod/invitefriends/start.php b/mod/invitefriends/start.php
index 9ab602d37..123ab7364 100644
--- a/mod/invitefriends/start.php
+++ b/mod/invitefriends/start.php
@@ -15,7 +15,7 @@ function invitefriends_init() {
$params = array(
'name' => 'invite',
'text' => elgg_echo('friends:invite'),
- 'url' => "pg/invite/",
+ 'href' => "pg/invite/",
'contexts' => array('friends'),
);
elgg_register_menu_item('page', $params);
diff --git a/mod/messages/start.php b/mod/messages/start.php
index b7194d03b..44f024024 100644
--- a/mod/messages/start.php
+++ b/mod/messages/start.php
@@ -19,13 +19,13 @@ function messages_init() {
elgg_register_menu_item('page', array(
'name' => 'messages:inbox',
'text' => elgg_echo('messages:inbox'),
- 'url' => "pg/messages/inbox/" . elgg_get_logged_in_user_entity()->username,
+ 'href' => "pg/messages/inbox/" . elgg_get_logged_in_user_entity()->username,
'context' => 'messages',
));
elgg_register_menu_item('page', array(
'name' => 'messages:sentmessages',
'text' => elgg_echo('messages:sentmessages'),
- 'url' => "pg/messages/sent/" . elgg_get_logged_in_user_entity()->username,
+ 'href' => "pg/messages/sent/" . elgg_get_logged_in_user_entity()->username,
'context' => 'messages',
));
}
diff --git a/mod/notifications/start.php b/mod/notifications/start.php
index 13a21c420..b8c2aae1d 100644
--- a/mod/notifications/start.php
+++ b/mod/notifications/start.php
@@ -70,7 +70,7 @@ function notifications_plugin_pagesetup() {
$params = array(
'name' => '2_a_user_notify',
'text' => elgg_echo('notifications:subscriptions:changesettings'),
- 'url' => "pg/notifications/personal",
+ 'href' => "pg/notifications/personal",
);
elgg_register_menu_item('page', $params);
@@ -78,7 +78,7 @@ function notifications_plugin_pagesetup() {
$params = array(
'name' => '2_group_notify',
'text' => elgg_echo('notifications:subscriptions:changesettings:groups'),
- 'url' => "pg/notifications/group",
+ 'href' => "pg/notifications/group",
);
elgg_register_menu_item('page', $params);
}
diff --git a/mod/pages/lib/pages.php b/mod/pages/lib/pages.php
index c9a1b27b6..079155190 100644
--- a/mod/pages/lib/pages.php
+++ b/mod/pages/lib/pages.php
@@ -81,7 +81,7 @@ function pages_register_navigation_tree($container) {
elgg_register_menu_item('pages_nav', array(
'name' => $page->getGUID(),
'text' => $page->title,
- 'url' => $page->getURL(),
+ 'href' => $page->getURL(),
));
$stack = array();
@@ -99,7 +99,7 @@ function pages_register_navigation_tree($container) {
elgg_register_menu_item('pages_nav', array(
'name' => $child->getGUID(),
'text' => $child->title,
- 'url' => $child->getURL(),
+ 'href' => $child->getURL(),
'parent_name' => $parent->getGUID(),
));
array_push($stack, $child);