public function render($datas) { global $dbh; global $opac_url_base; global $opac_show_book_pics; global $opac_book_pics_url; global $opac_notice_affichage_class; global $opac_bannette_notices_depliables; global $opac_bannette_notices_format; global $opac_bannette_notices_order; global $liens_opac; if ($datas['id']) { $bannette = new bannette($datas['id']); $info_header = $bannette->construit_liens_HTML(); $datas['info']['header'] = $info_header; $bannette->notice_tpl = $this->parameters['used_template']; $bannette->document_notice_tpl = $this->parameters['used_template']; $bannette->get_datas_content(); $datas = array_merge($datas, $bannette->data_document); } return parent::render($datas); }