aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/world.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/pages/world.php')
-rw-r--r--mod/pages/world.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/mod/pages/world.php b/mod/pages/world.php
index 2b6385745..65f054dfb 100644
--- a/mod/pages/world.php
+++ b/mod/pages/world.php
@@ -20,16 +20,16 @@
set_page_owner($_SESSION['guid']);
}
-tif (($page_owner instanceof ElggEntity) && ($page_owner->canWriteToContainer())){
-ttadd_submenu_item(elgg_echo('pages:new'), $CONFIG->url . "pg/pages/new/", 'pagesactions');
-ttadd_submenu_item(elgg_echo('pages:welcome'), $CONFIG->url . "pg/pages/welcome/", 'pagesactions');
-t}
-t
-tif(isloggedin())
-t add_submenu_item(sprintf(elgg_echo("pages:user"), page_owner_entity()->name), $CONFIG->url . "pg/pages/owned/" . page_owner_entity()->username, 'pageslinksgeneral');
-t
-tadd_submenu_item(elgg_echo('pages:all'),$CONFIG->wwwroot."mod/pages/world.php", 'pageslinksgeneral');
-t
+ if (($page_owner instanceof ElggEntity) && ($page_owner->canWriteToContainer())){
+ add_submenu_item(elgg_echo('pages:new'), $CONFIG->url . "pg/pages/new/", 'pagesactions');
+ add_submenu_item(elgg_echo('pages:welcome'), $CONFIG->url . "pg/pages/welcome/", 'pagesactions');
+ }
+
+ if(isloggedin())
+ 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');
+
$limit = get_input("limit", 10);
$offset = get_input("offset", 0);