Non-translatable string plus feature enabled check
This commit is contained in:
3
boot.php
3
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
|
||||
|
||||
Reference in New Issue
Block a user