----
$lang['copyright_newsletter'] = '<div style="color:#0000FF;font-style:italic;font-size:14px;text-align:center;display:block;"><a href="http://votre_url_de_site.xx"> © ici_votre_copyright</a></div>';
----
public function add_copyright() { return $this -> lang['copyright_newsletter']; }
public function add_unsubscribe_link() { return ' [url=' . NewsletterUrlBuilder::unsubscribe() -> absolute() . ']' . $this -> lang['unsubscribe_newsletter'] . '[/url]'; } public function add_copyright() { return $this -> lang['copyright_newsletter']; } } ?>
----
. $this -> add_copyright();
$contents = $this->parse_contents($contents) . $this->add_unsubscribe_link(). $this -> add_copyright();
$mail_contents .= $this -> add_copyright();
public function send_mail($subscribers, $sender, $subject, $contents) { $mail_contents = '<html><head><title>' . $subject . '</title></head><body>'; $mail_contents .= $this -> parse_contents($contents) . $this -> add_unsubscribe_link(); $mail_contents .= $this -> add_copyright(); $mail_contents .= '</body></html>'; parent::send_mail($subscribers, $sender, $subject, $mail_contents); }
. $this -> add_copyright();
$contents = $this->parse_contents($contents) . $this->add_unsubscribe_link(). $this -> add_copyright();
----