- $repeat = $this->notice->repeat($this->user->id, 'web');
-
-
-
- if ($this->boolean('ajax')) {
- $this->startHTML('text/xml;charset=utf-8');
- $this->elementStart('head');
- $this->element('title', null, _('Repeated'));
- $this->elementEnd('head');
- $this->elementStart('body');
- $this->element('p', array('id' => 'repeat_response',
- 'class' => 'repeated'),
- _('Repeated!'));
- $this->elementEnd('body');
- $this->elementEnd('html');
- } else {
- // FIXME!
- }
+ $this->element('p', array('id' => 'repeat_response',
+ 'class' => 'repeated'),
+ // TRANS: Confirmation text after repeating a notice.
+ _('Repeated!'));