Revize c478920d
Přidáno uživatelem Ondřej Fibich před asi 9 roky(ů)
application/helpers/email.php | ||
---|---|---|
|
||
return self::$mail->send($message, $to, $from);
|
||
}
|
||
|
||
/**
|
||
* Creates "show e-mail in browser" link
|
||
* @param string $hash
|
||
* @return string
|
||
*/
|
||
public static function create_preview_link($hash = NULL)
|
||
{
|
||
if ($hash === NULL)
|
||
{
|
||
return '';
|
||
}
|
||
|
||
return '<a href="' . url_lang::base() . 'email/preview?id='. $hash. '">' . __('Show e-mail in browser') .
|
||
'</a><br /><br /><img src="' . url_lang::base() . 'email/displayed/?id=' . $hash . '" /><br />';
|
||
}
|
||
|
||
} // End email
|
Také k dispozici: Unified diff
Undo my stupid mistake (I have pushed issue-957 to master instead of develop). Do I have copied files from GitHub master and push them back..