edit bots
This commit is contained in:
parent
a64bbd22fe
commit
f12207546e
|
@ -161,6 +161,15 @@ if(isset($_GET['arena'])){
|
||||||
$jsAdditionalScript="";
|
$jsAdditionalScript="";
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
case "editBot":
|
||||||
|
$siteTitle="Modifier un bot";
|
||||||
|
$siteDescription="bots arena ";
|
||||||
|
$permitIndex=false;
|
||||||
|
$mainSectionScript="../src/editBot.php";
|
||||||
|
$asideSectionContent=''; //to do
|
||||||
|
$cssAdditionalScript="";
|
||||||
|
$jsAdditionalScript="";
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
error(404,"Not found");
|
error(404,"Not found");
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
<article>
|
<article>
|
||||||
<?php
|
<?php
|
||||||
echo '<h2>A props de '.htmlentities($_GET['params']).'</h2><p>Inscrit le '.$theBot['date_inscription'].'</p><p>'.$theBot['description'].'</p>';
|
echo '<h2>A props de '.htmlentities($_GET['params']).'</h2><p>Inscrit le '.$theBot['date_inscription'].'</p><p>'.$theBot['description'].'</p>
|
||||||
|
<p><i><a href="/p/editBot/'.$theBot['id'].'">Si vous êtes le propriétaire de ce bot, vous pouvez le modifier</a></i></p>';
|
||||||
?>
|
?>
|
||||||
</article>
|
</article>
|
1
src/editBot.php
Normal file
1
src/editBot.php
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<h2>EditBot</h2>
|
Loading…
Reference in New Issue
Block a user