$user_folders = get_folder($user->data['user_id']);
if (!$auth->acl_get('u_sendpm'))
if ($action != 'delete' && !$auth->acl_get('u_sendpm'))
{ // trigger_error('NO_AUTH_SEND_MESSAGE'); $template->assign_vars(array(