Révision 943d3f9a
Ajouté par Jocelyn Dealande il y a presque 10 ans
ajax/add_reference.php | ||
---|---|---|
3 | 3 |
require_once('../class/RefPoint.class.php'); |
4 | 4 |
require_once('../class/site_point.class.php'); |
5 | 5 |
|
6 |
$fields_spec = array('x' => array('required', 'numeric', 'positive'),
|
|
7 |
'y' => array('required', 'numeric', 'positive'),
|
|
6 |
$fields_spec = array('x' => array('required', 'numeric'), |
|
7 |
'y' => array('required', 'numeric'), |
|
8 | 8 |
'panorama' => array('required'), |
9 | 9 |
'ref_point' => array('required'), |
10 | 10 |
); |
Formats disponibles : Unified diff
x,y relative positions can be negative, although its rare