class QnashowanswerForm extends Form
{
/**
- * The answer to revise
+ * The answer to show
*/
- var $answer = null;
+ protected $answer = null;
/**
* The question this is an answer to
*/
- var $question = null;
+ protected $question = null;
/**
* Constructor
*/
function id()
{
- return 'revise-' . $this->answer->id;
+ return 'show-' . $this->answer->id;
}
/**
*/
function formLegend()
{
- // TRANS: Form legend for revising the answer.
- $this->out->element('legend', null, _('Revise your answer'));
+ // TRANS: Form legend for showing the answer.
+ $this->out->element('legend', null, _('Answer'));
}
/**
{
$this->out->hidden(
'id',
- 'revise-' . $this->answer->id
+ 'answer-' . $this->answer->id
);
-
- $this->out->raw($this->answer->asHTML());
+
+
+
+ // $this->out->raw($this->answer->asHTML());
}
/**
*/
function formClass()
{
- return 'form_revise ajax';
+ return 'form_show ajax';
}
}