implement MailAgent and use it for user and Character registration

This commit is contained in:
coderkun 2014-05-25 22:38:41 +02:00
commit d6bb882bb6
8 changed files with 183 additions and 31 deletions

View file

@ -0,0 +1,3 @@
<?=sprintf(_('User “%s” has registered a new Character for the Seminary “%s”'), $user['username'], $seminary['title'])?>: <?=$character['name']?>
<?php if(!is_null($linker)) : ?><?=$linker->link(array('characters',$seminary['url'],$user['url']),0,false,null,false,null,true)?><?php endif ?>

View file

@ -0,0 +1,3 @@
<?=_('A new user has been registered')?>: <?=$user['username']?>
<?php if(!is_null($linker)) : ?><?=$linker->link(array('users',$user['url']),0,false,null,false,null,true)?><?php endif ?>