Version 1.1b
This commit is contained in:
parent
6a19363758
commit
c4a18d4281
82 changed files with 2532 additions and 180 deletions
|
|
@ -5,7 +5,7 @@ $titre = $queryPlanete["nom_planete"];
|
|||
$id_plan = $queryPlanete["id"];
|
||||
|
||||
if (isset($_POST['planete'])) {
|
||||
$nouvNom = mysql_real_escape_string(htmlentities(trim($_POST['planete'])));
|
||||
$nouvNom = mysql_real_escape_string(str_replace('<', '<', trim($_POST['planete'])));
|
||||
if (empty($nouvNom)) {
|
||||
$template->assign('message','Vous n\'avez indiqué aucun nom de planète.');
|
||||
$template->assign('script','<script type="text/javascript">setTimeout(\'document.location.href="?p=rename";\', 2500);</script>');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue