- $form->addInput(array('type'=>'submit','name'=>'btn_add','value'=>$i18n->getKey('button.add')));
- $notifications = ttTeamHelper::getNotifications($user->team_id);
+ $form->addInput(array('type'=>'submit','name'=>'btn_add','value'=>$i18n->get('button.add')));
+ $notifications = ttTeamHelper::getNotifications($user->group_id);