|
@@ 1474-1480 (lines=7) @@
|
| 1471 |
|
} |
| 1472 |
|
} |
| 1473 |
|
// Gestion des auteurs ************************************************ |
| 1474 |
|
if ($edit) { |
| 1475 |
|
// Suppression pr�alable |
| 1476 |
|
$criteria = new CriteriaCompo(); |
| 1477 |
|
$criteria->add(new Criteria('ba_book_id', $id, '=')); |
| 1478 |
|
$criteria->add(new Criteria('ba_type', 1, '=')); |
| 1479 |
|
$h_bookshop_booksauthors->deleteAll($criteria); |
| 1480 |
|
} |
| 1481 |
|
// Puis sauvegarde des donn�es |
| 1482 |
|
if (isset($_POST['authors'])) { |
| 1483 |
|
foreach ($_POST['authors'] as $id2) { |
|
@@ 1493-1499 (lines=7) @@
|
| 1490 |
|
} |
| 1491 |
|
|
| 1492 |
|
// Gestion des traducteurs ******************************************** |
| 1493 |
|
if ($edit) { |
| 1494 |
|
// Suppression pr�alable |
| 1495 |
|
$criteria = new CriteriaCompo(); |
| 1496 |
|
$criteria->add(new Criteria('ba_book_id', $id, '=')); |
| 1497 |
|
$criteria->add(new Criteria('ba_type', 2, '=')); |
| 1498 |
|
$h_bookshop_booksauthors->deleteAll($criteria); |
| 1499 |
|
} |
| 1500 |
|
// Puis sauvegarde des donn�es |
| 1501 |
|
if (isset($_POST['translators'])) { |
| 1502 |
|
foreach ($_POST['translators'] as $id2) { |