manage bots

This commit is contained in:
Gnieark 2016-06-09 15:17:06 +02:00
parent bb3ca4e18a
commit 31c2338a84
2 changed files with 2 additions and 2 deletions

View File

@ -193,7 +193,7 @@ if(isset($_GET['arena'])){
$jsAdditionalScript="";
break;
case "ValidateEditBot":
case "validateEditBot":
$siteTitle="Your bot is changed";
$siteDescription="bots arena ";
$permitIndex=false;

View File

@ -175,7 +175,7 @@ switch($_POST['act']){
$mail->setFrom($smtpParams['username'], 'Bots Arena');
$mail->Subject = 'BotsArena';
$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()) {
error(500,"Mailer Error: " . $mail->ErrorInfo);
} else {