Amélioration des scripts AJAX et des styles

Ajout de la fonctionnalité "changement d'options" pour la clockAdvanced
This commit is contained in:
Chouchen
2010-09-20 14:39:08 +00:00
parent 136be98daa
commit fdc7719815
18 changed files with 306 additions and 61 deletions

View File

@@ -1,15 +1,7 @@
<?php
// Error reporting
error_reporting(E_ALL^E_NOTICE);
// Validating the input data:
if(!is_numeric($_GET['x']) || !is_numeric($_GET['y']))
die("0");
// Escaping:
$id = $_GET['id'];
$x = (int)$_GET['x'];
$y = (int)$_GET['y'];
// Validating the input data:
if(!is_numeric($_GET['x']) || !is_numeric($_GET['y']))
die("0");
@@ -22,6 +14,5 @@ $xmla->item[$target]->y = $y;
include '../class/AccueilModules.php';
echo AccueilModules::updateModule($id, array('x'=>$x, 'y'=>$y));
$i = 0;
foreach ($xmla->item as $s) {
/*
$target = -1;