/** * CCompteRendu aed * * @category CompteRendu * @package Mediboard * @author SARL OpenXtrem <*****@*****.**> * @license GNU General Public License, see http://www.gnu.org/licenses/gpl.html * @version SVN: $Id:\$ * @link http://www.mediboard.org */ if (isset($_POST["_do_empty_pdf"])) { $compte_rendu_id = CValue::post("compte_rendu_id"); $compte_rendu = new CCompteRendu(); $compte_rendu->load($compte_rendu_id); $compte_rendu->loadRefsFiles(); foreach ($compte_rendu->_ref_files as $_file) { $_file->fileEmpty(); } CApp::rip(); } $do = new CDoObjectAddEdit("CCompteRendu"); $do->redirectDelete = "m=dPcompteRendu&new=1"; // Récupération des marges du modele en fast mode if (isset($_POST["fast_edit"]) && $_POST["fast_edit"] == 1 && isset($_POST["object_id"]) && $_POST["object_id"] != '') { $compte_rendu = new CCompteRendu(); $compte_rendu->load($_POST["modele_id"]); if ($compte_rendu->_id) { $do->request["margin_top"] = $compte_rendu->margin_top; $do->request["margin_bottom"] = $compte_rendu->margin_bottom; $do->request["margin_left"] = $compte_rendu->margin_left;