manage bots
This commit is contained in:
parent
bb3ca4e18a
commit
31c2338a84
|
@ -193,7 +193,7 @@ if(isset($_GET['arena'])){
|
||||||
$jsAdditionalScript="";
|
$jsAdditionalScript="";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "ValidateEditBot":
|
case "validateEditBot":
|
||||||
$siteTitle="Your bot is changed";
|
$siteTitle="Your bot is changed";
|
||||||
$siteDescription="bots arena ";
|
$siteDescription="bots arena ";
|
||||||
$permitIndex=false;
|
$permitIndex=false;
|
||||||
|
|
|
@ -175,7 +175,7 @@ switch($_POST['act']){
|
||||||
$mail->setFrom($smtpParams['username'], 'Bots Arena');
|
$mail->setFrom($smtpParams['username'], 'Bots Arena');
|
||||||
$mail->Subject = 'BotsArena';
|
$mail->Subject = 'BotsArena';
|
||||||
$mail->addAddress($_POST['email']);
|
$mail->addAddress($_POST['email']);
|
||||||
$mail->Body = $lang['E_MAIL_EDIT_BOT']."\n".$siteParam['BASEURL'].'p/ValidateEditBot/'.$secret."\n".$lang['E_MAIL_ADD_BOT_SIGNATURE'];
|
$mail->Body = $lang['E_MAIL_EDIT_BOT']."\n".$siteParam['BASEURL'].'p/validateEditBot/'.$secret."\n".$lang['E_MAIL_ADD_BOT_SIGNATURE'];
|
||||||
if (!$mail->send()) {
|
if (!$mail->send()) {
|
||||||
error(500,"Mailer Error: " . $mail->ErrorInfo);
|
error(500,"Mailer Error: " . $mail->ErrorInfo);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user