|
|
@ -31,7 +31,7 @@ function admin_questions() {
|
|
|
|
'from' => User_Nick_render($user_source),
|
|
|
|
'from' => User_Nick_render($user_source),
|
|
|
|
'question' => str_replace("\n", "<br />", $question['Question']),
|
|
|
|
'question' => str_replace("\n", "<br />", $question['Question']),
|
|
|
|
'answer' => form(array(
|
|
|
|
'answer' => form(array(
|
|
|
|
form_textarea('answer', _("Answer"), ''),
|
|
|
|
form_textarea('answer', '', ''),
|
|
|
|
form_submit('submit', _("Save"))
|
|
|
|
form_submit('submit', _("Save"))
|
|
|
|
), page_link_to('admin_questions') . '&action=answer&id=' . $question['QID']),
|
|
|
|
), page_link_to('admin_questions') . '&action=answer&id=' . $question['QID']),
|
|
|
|
'actions' => button(page_link_to("admin_questions") . '&action=delete&id=' . $question['QID'], _("delete"), 'btn-xs')
|
|
|
|
'actions' => button(page_link_to("admin_questions") . '&action=delete&id=' . $question['QID'], _("delete"), 'btn-xs')
|
|
|
|