aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorThomas Willingham <beardyunixer@beardyunixer.com>2013-07-10 17:43:06 -0700
committerThomas Willingham <beardyunixer@beardyunixer.com>2013-07-10 17:43:06 -0700
commit93e0cb37b671f1a9667e99b2dad5a9634c616973 (patch)
tree959087bb8b827abaaae777dbc55d1203c65ddbd9 /boot.php
parentdf23bc9ad4511c1faab2efcf9a3558d81a8c2058 (diff)
parenta4e1b4945a7becca5c0cea66edde286cb4080e41 (diff)
downloadvolse-hubzilla-93e0cb37b671f1a9667e99b2dad5a9634c616973.tar.gz
volse-hubzilla-93e0cb37b671f1a9667e99b2dad5a9634c616973.tar.bz2
volse-hubzilla-93e0cb37b671f1a9667e99b2dad5a9634c616973.zip
Merge pull request #74 from beardy-unixer/master
Couple of bugs
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php3
1 files changed, 2 insertions, 1 deletions
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