// Use the "limit" plugin if we have one. Ignore include errors.
// The "limit" plugin is not required for normal operation of the Time Tracker.
-@include('plugins/limit/user_add.php');
+@include('../plugins/limit/user_add.php');
if ($user->isPluginEnabled('cl'))
- $clients = ttTeamHelper::getActiveClients($user->team_id);
+ $clients = ttTeamHelper::getActiveClients($user->group_id);
$assigned_projects = array();
if ($request->isPost()) {
$form->addInput(array('type'=>'floatfield','maxlength'=>'10','name'=>'rate','format'=>'.2','value'=>$cl_rate));
-$projects = ttTeamHelper::getActiveProjects($user->team_id);
+$projects = ttTeamHelper::getActiveProjects($user->group_id);
// Define classes for the projects table.
class NameCellRenderer extends DefaultCellRenderer {
'login' => $cl_login,
'password' => $cl_password1,
'rate' => $cl_rate,
- 'team_id' => $user->team_id,
+ 'group_id' => $user->group_id,
'role_id' => $cl_role_id,
'client_id' => $cl_client_id,
'projects' => $assigned_projects,