Commit 7e843052 authored by Richard Mansfield's avatar Richard Mansfield Committed by Gerrit Code Review
Browse files

Merge "Add in a popup to make sure user understands the report feature."

parents 1489e11c 2cc44fba
......@@ -120,6 +120,7 @@ $string['attachedfileaddedtofolder'] = "The attached file %s has been added to y
$string['complaint'] = 'Complaint';
$string['date'] = 'Date';
$string['notifysiteadministrator'] = 'Notify site administrator';
$string['notifysiteadministratorconfirm'] = 'Are you sure you wish to report this page as containing objectional material?';
$string['print'] = 'Print';
$string['reportobjectionablematerial'] = 'Report objectionable material';
$string['reportsent'] = 'Your report has been sent';
......
......@@ -3922,6 +3922,7 @@ function objection_form() {
$form['elements']['submit'] = array(
'type' => 'submitcancel',
'value' => array(get_string('notifysiteadministrator', 'view'), get_string('cancel')),
'confirm' => array(get_string('notifysiteadministratorconfirm', 'view')),
);
return $form;
}
......
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