Пример #1
0
 function showAjaxReviseForm()
 {
     header('Content-Type: text/xml;charset=utf-8');
     $this->xw->startDocument('1.0', 'UTF-8');
     $this->elementStart('html');
     $this->elementStart('head');
     // TRANS: Form title for sending an answer.
     $this->element('title', null, _m('TITLE', 'Answer'));
     $this->elementEnd('head');
     $this->elementStart('body');
     $form = new QnareviseanswerForm($this->answer, $this);
     $form->show();
     $this->elementEnd('body');
     $this->elementEnd('html');
 }
Пример #2
0
 function showAjaxReviseForm()
 {
     $this->startHTML('text/xml;charset=utf-8');
     $this->elementStart('head');
     // TRANS: Form title for sending an answer.
     $this->element('title', null, _m('TITLE', 'Answer'));
     $this->elementEnd('head');
     $this->elementStart('body');
     $form = new QnareviseanswerForm($this->answer, $this);
     $form->show();
     $this->elementEnd('body');
     $this->endHTML();
 }