correct links in e?mail notifications
This commit is contained in:
parent
26ccbc61e0
commit
a08a09a9a0
7 changed files with 7 additions and 8 deletions
|
|
@ -566,8 +566,7 @@
|
||||||
/**
|
/**
|
||||||
* Send mail for new user registration.
|
* Send mail for new user registration.
|
||||||
*
|
*
|
||||||
* @param string $username Name of newly registered user
|
* @param array $user Newly registered user
|
||||||
* @param string $email E‑mail address of newly registered user
|
|
||||||
*/
|
*/
|
||||||
private function sendRegistrationMail($user)
|
private function sendRegistrationMail($user)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,2 @@
|
||||||
<?=sprintf(_('User “%s” has registered a new Character for the Seminary “%s”'), $user['username'], $seminary['title'])?>:
|
<?=sprintf(_('User “%s” has registered a new Character for the Seminary “%s”'), $user['username'], $seminary['title'])?>:
|
||||||
<?php if(!is_null($linker)) : ?><a href="<?=$linker->link(array('characters',$seminary['url'],$user['url']),0,false,null,false,null,true)?>"><?=$character['name']?></a><?php else : ?><?=$character['name']?><?php endif ?>
|
<?php if(!is_null($linker)) : ?><a href="<?=$linker->link(array('characters','character',$seminary['url'],$character['url']),0,true,null,false,null,true)?>"><?=$character['name']?></a><?php else : ?><?=$character['name']?><?php endif ?>
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,2 @@
|
||||||
<?=sprintf(_('Character “%s” has submitted a new submission for the Quest “%s” of the Seminary “%s”'), $character['name'], $quest['title'], $seminary['title'])?>:
|
<?=sprintf(_('Character “%s” has submitted a new submission for the Quest “%s” of the Seminary “%s”'), $character['name'], $quest['title'], $seminary['title'])?>:
|
||||||
<?php if(!is_null($linker)) : ?><a href="<?=$linker->link(array('quests','submission',$seminary['url'],$questgroup['url'],$quest['url'],$character['url']),0,false,null,false,null,true)?>"><?=$questgroup['title']?>/<?=$quest['title']?>/<?=$character['name']?></a><?php else : ?><?=$questgroup['title']?>/<?=$quest['title']?>/<?=$character['name']?><?php endif ?>
|
<?php if(!is_null($linker)) : ?><a href="<?=$linker->link(array('quests','submission',$seminary['url'],$questgroup['url'],$quest['url'],$character['url']),0,true,null,false,null,true)?>"><?=$seminary['title']?>/<?=$questgroup['title']?>/<?=$quest['title']?>/<?=$character['name']?></a><?php else : ?><?=$seminary['title']?>/<?=$questgroup['title']?>/<?=$quest['title']?>/<?=$character['name']?><?php endif ?>
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,2 @@
|
||||||
<?=_('A new user has been registered')?>:
|
<?=_('A new user has been registered')?>:
|
||||||
<?php if(!is_null($linker)) : ?><a href="<?=$linker->link(array('users',$user['url']),0,true,null,false,null,true)?>"><?=$user['username']?></a><?php else : ?><?=$user['username']?><?php endif ?>
|
<?php if(!is_null($linker)) : ?><a href="<?=$linker->link(array('users','user',$user['url']),0,true,null,false,null,true)?>"><?=$user['username']?></a><?php else : ?><?=$user['username']?><?php endif ?>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
<?=sprintf(_('User “%s” has registered a new Character for the Seminary “%s”'), $user['username'], $seminary['title'])?>: <?=$character['name']?>
|
<?=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 ?>
|
<?php if(!is_null($linker)) : ?><?=$linker->link(array('characters','character',$seminary['url'],$character['url']),0,true,null,false,null,true)?><?php endif ?>
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,2 @@
|
||||||
<?=sprintf(_('Character “%s” has submitted a new submission for the Quest “%s” of the Seminary “%s”'), $character['name'], $quest['title'], $seminary['title'])?>.
|
<?=sprintf(_('Character “%s” has submitted a new submission for the Quest “%s” of the Seminary “%s”'), $character['name'], $quest['title'], $seminary['title'])?>.
|
||||||
<?php if(!is_null($linker)) : ?><?=$linker->link(array('quests','submission',$seminary['url'],$questgroup['url'],$quest['url'],$character['url']),0,false,null,false,null,true)?><?php endif ?>
|
<?php if(!is_null($linker)) : ?><?=$linker->link(array('quests','submission',$seminary['url'],$questgroup['url'],$quest['url'],$character['url']),0,true,null,false,null,true)?><?php endif ?>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
<?=_('A new user has been registered')?>: <?=$user['username']?>
|
<?=_('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 ?>
|
<?php if(!is_null($linker)) : ?><?=$linker->link(array('users','user',$user['url']),0,true,null,false,null,true)?><?php endif ?>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue