Non-translatable string plus feature enabled check

This commit is contained in:
Thomas Willingham
2013-07-11 01:37:41 +01:00
parent 40a444f01b
commit a4e1b4945a
3 changed files with 5 additions and 3 deletions

View File

@@ -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