Commit Graph

10 Commits

Author SHA1 Message Date
Samuel Georges fa4984cbaf Minor touch up
Refs https://github.com/octobercms/october/pull/1665
2016-01-02 11:23:29 +11:00
Sergei Novikov 922cf30cb6 Fix mail subject on PHP 5.4
Check if subject set in closure

If subject setted in template, changing in closure like:

Mail::queue("template", [], function ($message) use ($subject, $email) {
	$message->subject($subject)->to($email);
});

has no effect.
2016-01-02 10:53:16 +11:00
Samuel Georges bbfba7dc34 Remove the use of Twig_Loader_String, added Twig::parse 2015-09-30 05:26:00 +10:00
Samuel Georges 942a8c000e Add helper for listing file + db templates 2015-08-24 20:31:44 +10:00
Samuel Georges 4e507823ea Sending mail now passes the parent data set to the layout
Renamed conflicting variable message -> content
Fixes #1070
2015-05-02 09:49:24 +10:00
Sam Georges c83797231d Subsequent expressions are on a new line (see developer guide > PSR exceptions) 2014-11-01 12:00:45 +11:00
Stefan Talen f85087eac6 Updating modules/system 2014-10-18 11:58:50 +02:00
Sam Georges 8d73924fbb Add docs to class headers 2014-10-03 18:00:21 +10:00
Sam Georges e29d88e07a Validation + Purgeable traits must now be used in the Model class definition 2014-07-11 21:15:21 +10:00
Sam Georges 3617a7fea8 Important! All references to *Email* have been changed to *Mail*
(This change might hurt a little, sorry!)
2014-07-04 19:14:15 +10:00