* supply mail address * send mail with username and URL to that mail address * option to temporary enable this featureremotes/origin/fix-10825
parent
5b9c453071
commit
3b61f76ca0
@ -0,0 +1,36 @@ |
||||
<table cellspacing="0" cellpadding="0" border="0" width="100%"> |
||||
<tr><td> |
||||
<table cellspacing="0" cellpadding="0" border="0" width="600px"> |
||||
<tr> |
||||
<td bgcolor="<?php p($theme->getMailHeaderColor());?>" width="20px"> </td>
|
||||
<td bgcolor="<?php p($theme->getMailHeaderColor());?>">
|
||||
<img src="<?php p(OC_Helper::makeURLAbsolute(image_path('', 'logo-mail.gif'))); ?>" alt="<?php p($theme->getName()); ?>"/>
|
||||
</td> |
||||
</tr> |
||||
<tr><td colspan="2"> </td></tr> |
||||
<tr> |
||||
<td width="20px"> </td> |
||||
<td style="font-weight:normal; font-size:0.8em; line-height:1.2em; font-family:verdana,'arial',sans;"> |
||||
<?php |
||||
print_unescaped($l->t('Hey there,<br><br>just letting you know that you now have an %s account.<br><br>Your username: %s<br>Access it: <a href="%s">%s</a><br><br>', array($theme->getName(), $_['username'], $_['url'], $_['url']))); |
||||
|
||||
// TRANSLATORS term at the end of a mail |
||||
p($l->t('Cheers!')); |
||||
?> |
||||
</td> |
||||
</tr> |
||||
<tr><td colspan="2"> </td></tr> |
||||
<tr> |
||||
<td width="20px"> </td> |
||||
<td style="font-weight:normal; font-size:0.8em; line-height:1.2em; font-family:verdana,'arial',sans;">--<br> |
||||
<?php p($theme->getName()); ?> -
|
||||
<?php p($theme->getSlogan()); ?> |
||||
<br><a href="<?php p($theme->getBaseUrl()); ?>"><?php p($theme->getBaseUrl());?></a>
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td colspan="2"> </td> |
||||
</tr> |
||||
</table> |
||||
</td></tr> |
||||
</table> |
@ -0,0 +1,10 @@ |
||||
<?php |
||||
print_unescaped($l->t("Hey there,\n\njust letting you know that you now have an %s account.\n\nYour username: %s\nAccess it: %s\n\n", array($theme->getName(), $_['username'], $_['url']))); |
||||
|
||||
// TRANSLATORS term at the end of a mail |
||||
p($l->t("Cheers!")); |
||||
?> |
||||
|
||||
-- |
||||
<?php p($theme->getName() . ' - ' . $theme->getSlogan()); ?> |
||||
<?php print_unescaped("\n".$theme->getBaseUrl()); |
Loading…
Reference in new issue