<?php
// +-------------------------------------------------+
// © 2002-2004 PMB Services / www.sigb.net pmb@sigb.net et contributeurs (voir www.sigb.net)
// +-------------------------------------------------+
// $Id: mail_serialcirc_copy_isdone.class.php,v 1.1 2022/08/01 09:50:36 dgoron Exp $

if (stristr($_SERVER['REQUEST_URI'], ".class.php")) die("no access");

class mail_serialcirc_copy_isdone extends mail_serialcirc_copy {
	
	protected function get_mail_content() {
		global $msg;
		global $opac_url_base, $biblio_name;
		
		$mail_content = $msg['serialcirc_copy_isdone_mail_text'];
		$mail_content = str_replace("!!see!!", "<a href='".$opac_url_base."index.php?lvl=bulletin_display&id=".$this->serialcirc_copy->get_bulletin_id()."'>".$this->serialcirc_copy->get_bulletin_numero()."</a>", $mail_content);
		$mail_content = str_replace("!!issue!!", $this->serialcirc_copy->get_serial_tit1()."-".$this->serialcirc_copy->get_bulletin_numero(), $mail_content);
		$mail_content = str_replace("!!biblio_name!!", $biblio_name, $mail_content);
		return $mail_content;
	}
}