Revize 18ac9009
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
Fix merge issue that removed all staff from developer branch :-).