Commit 22a965a6 authored by Jamie McClelland's avatar Jamie McClelland

de-powerbasing it so it is easier to use with other civi installs.

parent 9cef74ea
......@@ -146,7 +146,7 @@ function petitionemail_civicrm_buildForm( $formName, &$form ) {
// braces get escaped.
$base_url = CIVICRM_UF_BASEURL . "civicrm/petition/sign?sid=$survey_id&reset=1";
$personal_url = $base_url . '&{contact.checksum}&cid={contact.contact_id}';
$defaults['links'] = ts("Personal link (use this link if you are sending it via PowerBase Mail, it will auto fill with the user's address): ") . "\n" .
$defaults['links'] = ts("Personal link (use this link if you are sending it via CiviMail, it will auto fill with the user's address): ") . "\n" .
$personal_url . "\n\n" . ts("General link: ") . $base_url;
$form->setDefaults($defaults);
}
......
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