report_reasons.php (mybb_1822) | : | report_reasons.php (mybb_1823) | ||
---|---|---|---|---|
skipping to change at line 367 | skipping to change at line 367 | |||
$form_container->output_cell("<input type=\"text\" name=\"dispord er[{$reasons['rid']}]\" value=\"{$reasons['disporder']}\" class=\"text_input ali gn_center\" style=\"width: 80%;\" />", array("class" => "align_center")); | $form_container->output_cell("<input type=\"text\" name=\"dispord er[{$reasons['rid']}]\" value=\"{$reasons['disporder']}\" class=\"text_input ali gn_center\" style=\"width: 80%;\" />", array("class" => "align_center")); | |||
$popup = new PopupMenu("reasons_{$reasons['rid']}", $lang->option s); | $popup = new PopupMenu("reasons_{$reasons['rid']}", $lang->option s); | |||
$popup->add_item($lang->edit_reason, "index.php?module=config-rep ort_reasons&action=edit&rid={$reasons['rid']}"); | $popup->add_item($lang->edit_reason, "index.php?module=config-rep ort_reasons&action=edit&rid={$reasons['rid']}"); | |||
$popup->add_item($lang->delete_reason, "index.php?module=config-r eport_reasons&action=delete&rid={$reasons['rid']}&my_post_key={$mybb ->post_code}", "return AdminCP.deleteConfirmation(this, '{$lang->confirm_reason_ deletion}')"); | $popup->add_item($lang->delete_reason, "index.php?module=config-r eport_reasons&action=delete&rid={$reasons['rid']}&my_post_key={$mybb ->post_code}", "return AdminCP.deleteConfirmation(this, '{$lang->confirm_reason_ deletion}')"); | |||
$form_container->output_cell($popup->fetch(), array("class" => "a lign_center")); | $form_container->output_cell($popup->fetch(), array("class" => "a lign_center")); | |||
$form_container->construct_row(); | $form_container->construct_row(); | |||
} | } | |||
if($form_container->num_rows() == 0) | if($form_container->num_rows() == 0) | |||
{ | { | |||
$form_container->construct_cell($lang->no_report_reasons, array(' colspan' => 5)); | $form_container->output_cell($lang->no_report_reasons, array('col span' => 5)); | |||
$form_container->construct_row(); | $form_container->construct_row(); | |||
} | } | |||
$form_container->end(); | $form_container->end(); | |||
$buttons = array(); | $buttons = array(); | |||
$buttons[] = $form->generate_submit_button($lang->update_reasons_order); | $buttons[] = $form->generate_submit_button($lang->update_reasons_order); | |||
$form->output_submit_wrapper($buttons); | $form->output_submit_wrapper($buttons); | |||
$form->end(); | $form->end(); | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |