- if ($error) {
- $this->element('p', 'error', $error);
- } else {
- $this->elementStart('div', 'instructions');
- $this->element('p', null,
- _('Use this form to invite your friends and colleagues to use this service.'));
- $this->elementEnd('div');
+ if ($this->mode != 'sent') {
+ if ($this->error) {
+ $this->element('p', 'error', $this->error);
+ } else {
+ $this->elementStart('div', 'instructions');
+ $this->element('p', null,
+ _('Use this form to invite your friends and colleagues to use this service.'));
+ $this->elementEnd('div');
+ }