Commit c404b0bb by Scott Vivian

Shorten comments

parent 62f454e2
......@@ -135,8 +135,7 @@
$posttype = qa_strtolower(isset($question['obasetype']) ? $question['obasetype'] : $question['basetype']);
if (!qa_user_post_permit_error('permit_hide_show', $question))
// Possible values for the popup (enumerated to let text searches match in the future):
// question/reshow_q_popup, question/reshow_a_popup and question/reshow_c_popup
// Possible values for popup: reshow_q_popup, reshow_a_popup, reshow_c_popup
$buttons['reshow']=array(
'tags' => 'name="admin_'.qa_html($qhiddenpostid[$key]).'_reshow" onclick="return qa_admin_click(this);"',
'label' => qa_lang_html('question/reshow_button'),
......@@ -144,8 +143,7 @@
);
if ((!qa_user_post_permit_error('permit_delete_hidden', $question)) && !$dependcounts[$qhiddenpostid[$key]])
// Possible values for the popup (enumerated to let text searches match in the future):
// question/delete_q_popup, question/delete_a_popup and question/delete_c_popup
// Possible values for popup: delete_q_popup, delete_a_popup, delete_c_popup
$buttons['delete']=array(
'tags' => 'name="admin_'.qa_html($qhiddenpostid[$key]).'_delete" onclick="return qa_admin_click(this);"',
'label' => qa_lang_html('question/delete_button'),
......
......@@ -117,16 +117,14 @@
'style' => 'light',
'buttons' => array(
// Possible values for the popup (enumerated to let text searches match in the future):
// question/approve_q_popup, question/approve_a_popup and question/approve_c_popup
// Possible values for popup: approve_q_popup, approve_a_popup, approve_c_popup
'approve' => array(
'tags' => 'name="admin_'.$postid.'_approve" onclick="return qa_admin_click(this);"',
'label' => qa_lang_html('question/approve_button'),
'popup' => qa_lang_html(sprintf('question/approve_%s_popup', $posttype)),
),
// Possible values for the popup (enumerated to let text searches match in the future):
// question/reject_q_popup, question/reject_a_popup and question/reject_c_popup
// Possible values for popup: reject_q_popup, reject_a_popup, reject_c_popup
'reject' => array(
'tags' => 'name="admin_'.$postid.'_reject" onclick="return qa_admin_click(this);"',
'label' => qa_lang_html('question/reject_button'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment