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 {
print "
$msg[catal_rep_not_h1]
";
if(!$by) {
require_once("$include_path/templates/catal_form.tpl.php");
$notice = new notice($id);
$notice->replace_form();
} else {
// routine de remplacement
$notice = new notice($id);
$rep_result = $notice->replace($by);
if(!$rep_result)
print "
";
else {
error_message($msg[132], $rep_result, 1, "./catalog.php?categ=modif&id=$id");
}
}
}
?>