aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index c28d1f3a1..397513312 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'),
+ 'label' => t('Webpages'),
'url' => $a->get_baseurl() . '/webpages/' . $nickname,
'sel' => ((argv(0) == 'webpages') ? 'active' : ''),
'title' => t('Manage Webpages'),
'id' => 'webpages-tab',
- );
+ );}
}
else {
// FIXME