Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from Engelbert/notifier-new-user
revamped notifieror new user/account and update user/account
- Loading branch information
Showing
2 changed files
with
26 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
<?php echo lang('hi john doe', $new_account->getContact()->getDisplayName()) ?>, | ||
<?php echo lang('user created your account', $new_account->getCreatedBy()->getContact()->getDisplayName()) ?>. | ||
<?php echo lang('visit and login', externalUrl(ROOT_URL)) ?>: | ||
<?php echo lang('username') ?>: <?php echo $new_account->getUsername() ?> | ||
<?php echo lang('password') ?>: <?php echo $raw_password ?> | ||
-- | ||
<?php echo lang('hi john doe', $new_account->getContact()->getDisplayName()) ?>, | ||
<?php echo "\n"?> | ||
<?php echo lang('user created your account', $new_account->getCreatedBy()->getContact()->getDisplayName()) ?>. | ||
<?php echo lang('visit and login', externalUrl(ROOT_URL)) ?>: | ||
<?php echo "\n"?> | ||
<?php echo lang('username') ?>: <?php echo $new_account->getUsername() ?> | ||
<?php echo "\n"?> | ||
<?php echo lang('password') ?>: <?php echo $raw_password ?> | ||
<?php echo "\n--\n"?> | ||
<?php echo externalUrl(ROOT_URL) ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,18 @@ | ||
<?php echo lang('hi john doe', $updated_account->getContact()->getDisplayName()) ?>, | ||
|
||
<?php echo lang('user updated your account', $updated_account->getUpdatedBy()->getContact()->getDisplayName()) ?>. <?php echo lang('visit and login', externalUrl(ROOT_URL)) ?>: | ||
<?php echo lang('username') ?>: <?php echo $updated_account->getUsername() ?> | ||
<?php if (trim($raw_password) != '') { ?> | ||
<?php echo lang('password') ?>: <?php echo $raw_password ?> | ||
<?php } else { ?> | ||
<?php echo lang('password unchanged') ?> | ||
<?php } // if?> | ||
|
||
-- | ||
<?php echo lang('hi john doe', $updated_account->getContact()->getDisplayName()) ?>, | ||
|
||
|
||
<?php echo lang('user updated your account', $updated_account->getUpdatedBy()->getContact()->getDisplayName()) ?>. | ||
<?php echo lang('visit and login', externalUrl(ROOT_URL)) ?>: | ||
|
||
|
||
<?php echo lang('username') ?>: <?php echo $updated_account->getUsername() ?> | ||
|
||
<?php if (trim($raw_password) != '') { ?> | ||
<?php echo lang('password') ?>: <?php echo $raw_password ?> | ||
<?php } else { ?> | ||
<?php echo lang('password unchanged') ?> | ||
<?php } // if?> | ||
|
||
|
||
-- | ||
<?php echo externalUrl(ROOT_URL) ?> |