diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-07-15 16:45:06 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-07-15 16:45:06 +0000 |
commit | 3b29bf9a2f9e95a03753f063bbe170e7081c6c99 (patch) | |
tree | ba0277d49c8edcf95dffd14c27057863ce3d40cb /mod/pages/index.php | |
parent | 5696bea39a9be7f8c44e0d4abf7ca776db711bfa (diff) | |
download | elgg-3b29bf9a2f9e95a03753f063bbe170e7081c6c99.tar.gz elgg-3b29bf9a2f9e95a03753f063bbe170e7081c6c99.tar.bz2 |
Converting spaces to tabs without the stray t.
git-svn-id: http://code.elgg.org/elgg/trunk@6714 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/pages/index.php')
-rw-r--r-- | mod/pages/index.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/mod/pages/index.php b/mod/pages/index.php index 02d13a3a7..6c1487c81 100644 --- a/mod/pages/index.php +++ b/mod/pages/index.php @@ -16,14 +16,14 @@ // Add menus $owner = page_owner_entity(); if (!($owner instanceof ElggGroup)) { -t add_submenu_item(sprintf(elgg_echo("pages:user"), page_owner_entity()->name), $CONFIG->url . "pg/pages/owned/" . page_owner_entity()->username, 'pageslinksgeneral'); -t add_submenu_item(elgg_echo('pages:all'),$CONFIG->wwwroot."mod/pages/world.php", 'pageslinksgeneral'); + add_submenu_item(sprintf(elgg_echo("pages:user"), page_owner_entity()->name), $CONFIG->url . "pg/pages/owned/" . page_owner_entity()->username, 'pageslinksgeneral'); + add_submenu_item(elgg_echo('pages:all'),$CONFIG->wwwroot."mod/pages/world.php", 'pageslinksgeneral'); } -tif (($owner instanceof ElggEntity) && (can_write_to_container(0,$owner->guid))){ -ttadd_submenu_item(elgg_echo('pages:new'), $CONFIG->url . "pg/pages/new/?container_guid=" . page_owner(), 'pagesactions'); -ttif ($owner instanceof ElggUser) add_submenu_item(elgg_echo('pages:welcome'), $CONFIG->url . "pg/pages/welcome/", 'pagesactions'); -t} -t + if (($owner instanceof ElggEntity) && (can_write_to_container(0,$owner->guid))){ + add_submenu_item(elgg_echo('pages:new'), $CONFIG->url . "pg/pages/new/?container_guid=" . page_owner(), 'pagesactions'); + if ($owner instanceof ElggUser) add_submenu_item(elgg_echo('pages:welcome'), $CONFIG->url . "pg/pages/welcome/", 'pagesactions'); + } + // access check for closed groups group_gatekeeper(); |