manage bots
This commit is contained in:
parent
d578d3bfaf
commit
bb3ca4e18a
|
@ -192,6 +192,18 @@ if(isset($_GET['arena'])){
|
|||
$cssAdditionalScript="";
|
||||
$jsAdditionalScript="";
|
||||
break;
|
||||
|
||||
case "ValidateEditBot":
|
||||
$siteTitle="Your bot is changed";
|
||||
$siteDescription="bots arena ";
|
||||
$permitIndex=false;
|
||||
$mainSectionScript="../src/validateEditBot.php";
|
||||
$asideSectionContent=''; //to do
|
||||
$cssAdditionalScript="";
|
||||
$jsAdditionalScript="";
|
||||
|
||||
|
||||
break;
|
||||
default:
|
||||
error(404,"Not found");
|
||||
break;
|
||||
|
|
|
@ -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/editBot/'.$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 {
|
||||
|
|
2
src/validateEditBot.php
Normal file
2
src/validateEditBot.php
Normal file
|
@ -0,0 +1,2 @@
|
|||
<?php
|
||||
echo "<h1>PLOP</h1>";
|
Loading…
Reference in New Issue
Block a user