<?php
global $user;
$nid = arg(1);
$node = node_load($nid);
if ($node->type == 'team') {
  if (_deliver_is_administrator() || _deliver_is_team_manager($user->uid, $nid)) {
    if (arg(0) == 'invite') return FALSE;
    return TRUE;
  } else return FALSE;
} else return FALSE;
?>