setDomain(1); $acces_m = $dom_1->getRights($PMBuserid,$id,8); } if ($acces_m==0) { error_message('', htmlentities($dom_1->getComment('mod_noti_error'), ENT_QUOTES, $charset), 1, ''); } else { $harv = new harvest_notice($notice_id,$harvest_id,$profil_id); switch($action){ case 'build': print "

".$msg[harvest_notice_replace_title]."

"; $harv->get_notice_externe($notice_id); break; case 'record': $harv->record_notice($notice_id); break; default: print "

".$msg[harvest_notice_replace_title]."

"; print $harv->get_form_sel(); break; } }