diff --git a/public/bibliotheque.php b/public/bibliotheque.php index 7eedb5346805de54e075b7cc86369454c7929d18..0cc52ff2ee4092967dce8c96e5a7aae81e568cae 100644 --- a/public/bibliotheque.php +++ b/public/bibliotheque.php @@ -46,6 +46,7 @@ urlHasArgument(); <body onload="startviewer()"> <!-- génération des bannières --> <?php + generateUserBanner(); generateNavBar('bibliotheque'); ?> <div id="CDClist" style="display: none"> diff --git a/public/js/ajax.js b/public/js/ajax.js index e13bc61e8533108590fd527ec99aaa5546b4af29..02dc0e98121e1e1cfd74a3ebab7312670f94bfd7 100644 --- a/public/js/ajax.js +++ b/public/js/ajax.js @@ -16,9 +16,11 @@ function ajaxRemoveCDC(userP, photoP) { function ajaxNewReview(userP, photoP, noteP) { + console.log("reviewAjout"); $.post("ReviewSubmitAction.php", {user: userP, photo: photoP, note: noteP, action: "new"}) } function ajaxRemoveReview(userP, photoP) { + console.log("reviewRetrait"); $.post("ReviewSubmitAction.php", {user: userP, photo: photoP, action: "remove"}) } \ No newline at end of file