X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/914ba42493e01bc0f79053b0d3cd6348fcdfa0f8..58fa98e466c9b59f9352240e86c6349eba21440e:/cookbooks/dmca/files/default/html/index.php diff --git a/cookbooks/dmca/files/default/html/index.php b/cookbooks/dmca/files/default/html/index.php index 759810ac5..47e1afb06 100644 --- a/cookbooks/dmca/files/default/html/index.php +++ b/cookbooks/dmca/files/default/html/index.php @@ -10,7 +10,10 @@ function process_data ($values) { $email_body = 'OpenStreetMap - Claim of Copyright Infringement form:'."\n\n"; $email_body .= 'Automated Email - Form Posted.'."\n\n"; $email_body .= print_r($values, true); - mail('dmca@osmfoundation.org','OSM Claim of Copyright Infringement', $email_body, 'From: OSMF Copyright Form ', '-fdmca@osmfoundation.org'); + $reply_address = $values['name_first'].' '.$values['name_last'].' <'.$values['email'].'>'; + $email_body .= 'Formatted address: '.$reply_address."\n\n"; + $email_header = 'From: OSMF Copyright Form ' . "\r\n" . 'Content-Type: text/plain; charset="utf-8"'; + mail('dmca@osmfoundation.org','OSM Claim of Copyright Infringement', $email_body, $email_header, '-fdmca@osmfoundation.org'); } ?> @@ -18,7 +21,7 @@ function process_data ($values) { OpenStreetMap Legal - Claim of Copyright Infringement - +
@@ -37,7 +40,8 @@ $form->addElement('static', null, '

To file a copyright infringement notificat

  • A statement that the complaining party has a good faith belief that use of the material in the manner complained of is not authorized by the copyright owner, its agent, or the law.
  • A statement that the information in the notification is accurate and, under penalty of perjury, that the complaining party is authorized to act on behalf of the owner of an exclusive right that is allegedly infringed.

    To expedite our ability to process your request, such written notice should be sent to our designated agent via our online copyright complaint form below.

    -

    This form is only for cases where you believe that material on OpenStreetMap\'s websites or in its geodata database infringes your copyright or that of your clients. For example, you claim someone has copied material from a map belonging to you. If you have come here for another reason, Go here.

    '); +

    This form is only for cases where you believe that material on OpenStreetMap\'s websites or in its geodata database infringes your copyright or that of your clients. For example, you claim someone has copied material from a map belonging to you.

    +

    If you have come here for reporting map inaccuracies, privacy issues or another reason, Read here.

    '); $form->addElement('text', 'url', 'URL of Allegedly Infringing Material', array('size' => 50, 'maxlength' => 255)); $form->addRule('url', 'Please enter URL of Allegedly Infringing Material', 'required', null, 'client');