setDomain(1);
$acces_m = $dom_1->getRights($PMBuserid,$serial_id,8);
}
if ($acces_m==0) {
error_message('', htmlentities($dom_1->getComment('mod_seri_error'), ENT_QUOTES, $charset), 1, '');
} else {
print pmb_bidi("
$msg[catal_rep_per_h1]
");
if(!$by) {
$perio = new serial($serial_id);
$perio->replace_form();
} else {
// routine de remplacement
$perio = new serial($serial_id);
$rep_result = $perio->replace($by);
if(!$rep_result) {
print pmb_bidi("
");
} else {
error_message($msg[132], $rep_result, 1, "./catalog.php?categ=serials&sub=view&serial_id=$id");
}
}
}
?>