aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/index.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-07-15 16:38:16 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-07-15 16:38:16 +0000
commit5696bea39a9be7f8c44e0d4abf7ca776db711bfa (patch)
tree8e3fb8e7e3109315c532d8a127c9f72aa6fd9ba8 /mod/pages/index.php
parent4ece630febf2c1275c7781e8cb9d4f4321aacfc1 (diff)
downloadelgg-5696bea39a9be7f8c44e0d4abf7ca776db711bfa.tar.gz
elgg-5696bea39a9be7f8c44e0d4abf7ca776db711bfa.tar.bz2
Convert spaces to tabs.
git-svn-id: http://code.elgg.org/elgg/trunk@6713 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/pages/index.php')
-rw-r--r--mod/pages/index.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/mod/pages/index.php b/mod/pages/index.php
index 6c1487c81..02d13a3a7 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)) {
- 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');
+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');
}
- 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');
- }
-
+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
// access check for closed groups
group_gatekeeper();