1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-30 09:39:55 +02:00

More work on user administrators - plugin icons.

This commit is contained in:
CaMer0n
2011-05-18 08:58:35 +00:00
parent 1d20338f63
commit 7b5cfe8afa
5 changed files with 78 additions and 5 deletions

View File

@@ -335,7 +335,22 @@ if (isset ($_POST['adduser']))
$QUICKADDUSER_TEMPLATE = USRLAN_185.USRLAN_186;
}
$e_message = str_replace(array('{SITEURL}','{LOGIN}','{USERNAME}','{PASSWORD}'),array(SITEURL,$user_data['user_name'],$user_data['user_login'],$savePassword),$QUICKADDUSER_TEMPLATE);
$var_search = array(
'{SITEURL}',
'{LOGIN}',
'{USERNAME}',
'{PASSWORD}',
'{EMAIL}'
);
$var_replace = array(
SITEURL,
$user_data['user_name'],
$user_data['user_login'],
$savePassword,
$user_data['user_email']
);
$e_message = str_replace($var_search,$var_replace,$QUICKADDUSER_TEMPLATE);
if (sendemail($user_data['user_email'],USRLAN_187.SITEURL,$e_message,$user_data['user_login'],'',''))
{