diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-02 21:38:55 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-02 21:38:55 +0000 |
commit | e40958a97ddce771ac9a9f2a8473da7ee3e6534f (patch) | |
tree | 2e11cad9676db5a0421b3aa98a570cd78a83cbf2 /mod/pages/view.php | |
parent | 1d3d21b69eafb45c97e283ead86f63e7bf1731dc (diff) | |
download | elgg-e40958a97ddce771ac9a9f2a8473da7ee3e6534f.tar.gz elgg-e40958a97ddce771ac9a9f2a8473da7ee3e6534f.tar.bz2 |
Fixes #2463: Removed gratuitous references to $CONFIG->url, etc. from the rest of the plugins.
git-svn-id: http://code.elgg.org/elgg/trunk@7205 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/pages/view.php')
-rw-r--r-- | mod/pages/view.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/pages/view.php b/mod/pages/view.php index bbbed6d22..6eb58ed8e 100644 --- a/mod/pages/view.php +++ b/mod/pages/view.php @@ -28,11 +28,11 @@ if ($container) { } global $CONFIG; -// add_submenu_item(sprintf(elgg_echo("pages:user"), elgg_get_page_owner()->name), $CONFIG->url . "pg/pages/owned/" . elgg_get_page_owner()->username, 'pageslinksgeneral'); +// add_submenu_item(sprintf(elgg_echo("pages:user"), elgg_get_page_owner()->name), "pg/pages/owned/" . elgg_get_page_owner()->username, 'pageslinksgeneral'); if ($pages->canEdit()) { add_submenu_item(elgg_echo('pages:newchild'), "pg/pages/new/?parent_guid={$pages->getGUID()}&container_guid=" . elgg_get_page_owner_guid(), 'pagesactions'); - $delete_url = elgg_add_action_tokens_to_url($CONFIG->url . "action/pages/delete?page={$pages->getGUID()}"); + $delete_url = elgg_add_action_tokens_to_url("action/pages/delete?page={$pages->getGUID()}"); add_submenu_item(elgg_echo('pages:delete'), $delete_url, 'pagesactions', true); } |