From a4e1b4945a7becca5c0cea66edde286cb4080e41 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Thu, 11 Jul 2013 01:37:41 +0100 Subject: Non-translatable string plus feature enabled check --- boot.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index 8e6852f7a..94affb786 100755 --- a/boot.php +++ b/boot.php @@ -2058,13 +2058,14 @@ function profile_tabs($a, $is_owner=False, $nickname=Null){ 'title' => t('Events and Calendar'), 'id' => 'events-tab', ); + if(feature_enabled(local_user(),'webpages')){ $tabs[] = array( 'label' => t('Wepages'), 'url' => $a->get_baseurl() . '/webpages/' . $nickname, 'sel' => ((argv(0) == 'webpages') ? 'active' : ''), 'title' => t('Manage Webpages'), 'id' => 'webpages-tab', - ); + );} } else { // FIXME -- cgit v1.2.3 From 8222cede814e012a0fb2f566d940b078c8fdca02 Mon Sep 17 00:00:00 2001 From: git-marijus Date: Thu, 11 Jul 2013 17:39:45 +0200 Subject: Update boot.php typo --- boot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index 94affb786..9facdd005 100755 --- a/boot.php +++ b/boot.php @@ -2060,7 +2060,7 @@ function profile_tabs($a, $is_owner=False, $nickname=Null){ ); if(feature_enabled(local_user(),'webpages')){ $tabs[] = array( - 'label' => t('Wepages'), + 'label' => t('Webpages'), 'url' => $a->get_baseurl() . '/webpages/' . $nickname, 'sel' => ((argv(0) == 'webpages') ? 'active' : ''), 'title' => t('Manage Webpages'), -- cgit v1.2.3