function genere_notice_childs() { global $msg, $opac_notice_affichage_class; $this->antiloop[$this->notice_id] = true; //Notices liees if ($this->notice_childs) { return $this->notice_childs; } if (count($this->childs) && !$this->to_print) { if ($this->seule) { $affichage = ""; } else { $affichage = "<a href='" . str_replace("!!id!!", "es" . $this->notice_id, $this->lien_rech_notice) . "&seule=1'>" . $msg[voir_contenu_detail] . "</a>"; } global $relation_typedown; if (!$relation_typedown) { $relation_typedown = new marc_list("relationtypedown"); } reset($this->childs); $affichage .= "<br />"; while (list($rel_type, $child_notices) = each($this->childs)) { $affichage = "<b>" . $relation_typedown->table[$rel_type] . "</b>"; if ($this->seule) { } else { $affichage .= "<ul>"; } $bool = false; for ($i = 0; $i < count($child_notices) && ($i < 20 || $this->seule); $i++) { if (!$this->antiloop[$child_notices[$i]]) { if ($opac_notice_affichage_class) { $child_notice = new $opac_notice_affichage_class($child_notices[$i], $this->liens, $this->cart_allowed, $this->to_print); } else { $child_notice = new notice_affichage($child_notices[$i], $this->liens, $this->cart_allowed, $this->to_print); } if ($child_notice->notice->niveau_biblio != 'b' || $child_notice->notice->niveau_biblio == 'b' && $this->notice->niveau_biblio != "s") { $child_notice->antiloop = $this->antiloop; $child_notice->do_header(); if ($this->seule) { $child_notice->do_isbd(); $child_notice->do_public(); if ($this->double_ou_simple == 2) { $child_notice->genere_double(1, $this->premier); } $child_notice->genere_simple(1, $this->premier); $affichage .= $child_notice->result; } else { $child_notice->visu_expl = 0; $child_notice->visu_explnum = 0; $affichage .= "<li><a href='" . str_replace("!!id!!", "es" . $child_notices[$i], $this->lien_rech_notice) . "'>" . $child_notice->notice_header . "</a></li>"; } $bool = true; } } } if ($bool == true) { $aff_childs .= $affichage; } if (count($child_notices) > 20 && !$this->seule) { $aff_childs .= "<br />"; if ($this->lien_rech_notice) { $aff_childs .= "<a href='" . str_replace("!!id!!", "es" . $this->notice_id, $this->lien_rech_notice) . "&seule=1'>"; } $aff_childs .= sprintf($msg["see_all_childs"], 20, count($child_notices), count($child_notices) - 20); if ($this->lien_rech_notice) { $aff_childs .= "</a>"; } } if ($this->seule) { } else { $aff_childs .= "</ul>"; } } $this->notice_childs = $aff_childs . "<br />"; } else { $this->notice_childs = ""; } return $this->notice_childs; }
$aff .= "<span>" . $result->message . "</span><br />"; } } // if($result->title) $aff.="<h2>".$result->title."</h2>"; // if($result->message) $aff.="<span>".$result->message."</span><br />"; if ($result->message_loc) { $aff .= "<span>" . $result->message_loc . "</span><br />"; } if ($result->message_resa) { $aff .= "<span>" . $result->message_resa . "</span><br />"; } if ($result->message_retard) { $aff .= "<span>" . $result->message_retard . "</span><br />"; } if ($result->message_amende) { $aff .= "<span>" . $result->message_amende . "</span><br />"; } print $aff; $requete = "select expl_notice, expl_bulletin from exemplaires where expl_cb ='{$cb_expl}'"; $resultat = mysql_query($requete); $prix = 0; if ($r = mysql_fetch_object($resultat)) { $current = new notice_affichage($r->expl_notice + $r->expl_bulletin, 0, 1); $current->do_header(); $current->do_isbd(); $current->do_public(); $current->genere_double(0, "public"); $output_final .= $current->result; print "<br />" . $output_final; } }
function items_notices() { global $dbh, $liens_opac; global $charset; global $opac_flux_rss_notices_order; global $opac_notice_affichage_class; if (!$this->nb_bannettes && !$this->nb_paniers) { $this->notices = ""; return; } if (!$opac_flux_rss_notices_order) { $opac_flux_rss_notices_order = "index_serie, tnvol, index_sew"; } if (!$charset) { $charset = 'ISO-8859-1'; } if ($this->nb_bannettes) { $rqt[] = "select distinct notice_id, index_sew, create_date, update_date, index_serie, tnvol \n\t\t\t\t\tfrom notices join bannette_contenu on num_notice=notice_id \n\t\t\t\t\t\t\tjoin notice_statut on statut=id_notice_statut \n\t\t\t\t\twhere notice_visible_opac=1 and notice_visible_opac_abon=0 and num_bannette in (" . implode(",", $this->num_bannettes) . ") "; } if ($this->nb_paniers) { $rqt[] = "select distinct notice_id, index_sew, create_date, update_date, index_serie, tnvol \n\t\t\t\t\tfrom notices join caddie_content on object_id=notice_id \n\t\t\t\t\t\t\tjoin notice_statut on statut=id_notice_statut \n\t\t\t\t\twhere notice_visible_opac=1 and notice_visible_opac_abon=0 and caddie_id in (" . implode(",", $this->num_paniers) . ") "; } $rqtfinale = implode(' union ', $rqt); pmb_mysql_query("create temporary table tmpfluxrss ENGINE=MyISAM {$rqtfinale} ", $dbh); // Thu, 27 Apr 2006 23:40:11 +0100 $query_not = "select distinct notice_id, index_sew, DATE_FORMAT(create_date,'%a, %e %b %Y %T +0100') as pubdate from tmpfluxrss order by {$opac_flux_rss_notices_order}"; $res = pmb_mysql_query($query_not, $dbh); while ($tmp = pmb_mysql_fetch_object($res)) { if ($opac_notice_affichage_class != "") { $notice = new $opac_notice_affichage_class($tmp->notice_id, $liens_opac, "", 1); } else { $notice = new notice_affichage($tmp->notice_id, $liens_opac, "", 1); } $notice->visu_expl = 0; $notice->visu_explnum = 0; $notice->do_header_without_html(); $retour_aff .= "<item>\n\t\t\t\t\t\t\t\t<title>" . htmlspecialchars($notice->notice_header_without_html, ENT_QUOTES, $charset) . "</title>\n\t\t\t\t\t\t\t\t<pubDate>" . htmlspecialchars($tmp->pubdate, ENT_QUOTES, $charset) . "</pubDate>\n\t\t\t\t\t\t\t\t<link>" . htmlspecialchars(str_replace("!!id!!", $tmp->notice_id, $liens_opac['lien_rech_notice']), ENT_QUOTES, $charset) . "</link>"; $desc = ''; $desc_explnum = ''; if ($this->export_court_flux) { $notice->do_isbd(1, 0); $desc = $notice->notice_isbd; } elseif ($this->tpl_rss_flux) { $noti_tpl = new notice_tpl_gen($this->tpl_rss_flux); $desc .= $noti_tpl->build_notice($tmp->notice_id, $deflt2docs_location); } else { switch ($this->format_flux) { case 'TITLE': $desc = ''; break; case 'ABSTRACT': $desc = $notice->notice->n_resume . '<br />'; break; case 'ISBD': default: $notice->do_isbd(0, 0); $desc = $notice->notice_isbd; $desc_explnum = $this->do_explnum($tmp->notice_id); } } if (!$this->tpl_rss_flux) { $image = $this->do_image($notice->notice->code, $notice->notice->thumbnail_url, $notice->notice->tit1); $desc = str_replace("<br />", "<br/>", $desc); $retour_aff .= "\t<description>" . htmlspecialchars(strip_tags($image . $desc, "<table><tr><td><br/><img>"), ENT_QUOTES, $charset) . "</description>"; $retour_aff .= $desc_explnum; } else { $retour_aff .= "\t<description>" . htmlspecialchars($desc, ENT_QUOTES, $charset) . "</description>"; } $retour_aff .= "</item>"; } $this->notices = $retour_aff; }
function construit_contenu_HTML($use_limit = 1) { global $dbh; global $msg; global $opac_url_base; global $liens_opac; $url_base_opac = $opac_url_base . "index.php?database=" . DATA_BASE . "&lvl=notice_display&id="; if ($this->nb_notices_diff && $use_limit) { $limitation = " LIMIT {$this->nb_notices_diff} "; } $requete = "select num_notice from bannette_contenu, notices where num_bannette='" . $this->id_bannette . "' and notice_id=num_notice order by index_serie, tnvol, index_sew {$limitation} "; $resultat = pmb_mysql_query($requete, $dbh); // paramétrage : $environement["short"] = 6; $environement["ex"] = 0; $environement["exnum"] = 0; if ($this->nb_notices_diff >= $this->nb_notices || !$this->nb_notices_diff) { $nb_envoyees = $this->nb_notices; } else { $nb_envoyees = $this->nb_notices_diff; } $resultat_aff .= "<hr />"; $resultat_aff .= sprintf($msg["dsi_diff_n_notices"], $nb_envoyees, $this->nb_notices); $resultat_aff .= "<hr />"; while ($r = pmb_mysql_fetch_object($resultat)) { // afin de ne pas afficher les liens pour réservation de doc dans le mail : global $opac_resa; $opac_resa = 0; $depliable = 0; $notice = new notice_affichage($r->num_notice, $liens_opac); $notice->do_header(); $notice->do_isbd(); $notice->genere_simple($depliable, 'ISBD'); $resultat_aff .= "<a href='" . $url_base_opac . $r->num_notice . "'><b>" . $notice->notice_header . "</b></a><br /><br />\r\n"; $resultat_aff .= $notice->notice_isbd; $resultat_aff .= "<hr />\r\n"; } if ($this->typeexport) { $this->export_contenu = cree_export_notices($this->liste_id_notice, start_export::get_id_by_path($this->typeexport), 1); } return $resultat_aff; }
function genere_notice_childs() { global $msg, $opac_url_base, $opac_notice_affichage_class; global $memo_notice; global $icon_doc, $biblio_doc, $tdoc; global $relation_typedown; $onglet_perso = new notice_onglets(); $this->antiloop[$this->notice_id] = true; //Notices liées if ($this->notice_childs) { return $this->notice_childs; } if (count($this->childs) && !$this->to_print) { if ($this->seule) { $affichage = ""; } else { $affichage = "<a href='" . str_replace("!!id!!", $this->notice_id, $this->lien_rech_notice) . "&seule=1'>" . $msg[voir_contenu_detail] . "</a>"; } if (!$relation_typedown) { $relation_typedown = new marc_list("relationtypedown"); } reset($this->childs); $affichage .= "<br />"; while (list($rel_type, $child_notices) = each($this->childs)) { $affichage = "<br /><b>" . $relation_typedown->table[$rel_type] . "</b>"; if ($this->seule) { } else { $affichage .= "<ul>"; } $bool = false; for ($i = 0; $i < count($child_notices); $i++) { if (!$this->antiloop[$child_notices[$i]]) { //if(!$this->seule && $memo_notice[$child_notices[$i]]["niveau_biblio"]!='b' && $memo_notice[$child_notices[$i]]["header"]) { if (!$this->seule && $memo_notice[$child_notices[$i]]["niveau_biblio"] != 'b' && $memo_notice[$child_notices[$i]]["header_without_doclink"]) { //$affichage.="<li><a href='".str_replace("!!id!!",$child_notices[$i],$this->lien_rech_notice)."'>".$memo_notice[$child_notices[$i]]["header"]."</a></li>"; $icon = $icon_doc[$memo_notice[$child_notices[$i]]["niveau_biblio"] . $memo_notice[$child_notices[$i]]["typdoc"]]; if ($icon) { $info_bulle_icon = str_replace("!!niveau_biblio!!", $biblio_doc[$memo_notice[$child_notices[$i]]["niveau_biblio"]], $msg["info_bulle_icon"]); $info_bulle_icon = str_replace("!!typdoc!!", $tdoc->table[$memo_notice[$child_notices[$i]]["typdoc"]], $info_bulle_icon); $html_icon = "<img src=\"" . $opac_url_base . "images/{$icon}\" alt='" . $info_bulle_icon . "' title='" . $info_bulle_icon . "'/>"; } else { $html_icon = ""; } $affichage .= "<br /><table><tr><td width='3%'><li style='list-style-type: none;'>" . $html_icon . "</td><td width='87%'><a href='" . str_replace("!!id!!", $child_notices[$i], $this->lien_rech_notice) . "'>" . $memo_notice[$child_notices[$i]]["header_without_doclink"] . "</a></td><td>" . $child_notice->notice_header_doclink . "</td></tr></table></li>"; $bool = true; } else { if (!$memo_notice[$child_notices[$i]]["niveau_biblio"]) { if ($this->seule) { $header_only = 0; } else { $header_only = 1; } if ($opac_notice_affichage_class) { $child_notice = new $opac_notice_affichage_class($child_notices[$i], $this->liens, $this->cart_allowed, $this->to_print, $header_only); } else { $child_notice = new notice_affichage($child_notices[$i], $this->liens, $this->cart_allowed, $this->to_print, $header_only); } if ($child_notice->notice->niveau_biblio != 'b' || $child_notice->notice->niveau_biblio == 'b' && $this->notice->niveau_biblio != "s") { $child_notice->antiloop = $this->antiloop; $child_notice->do_header(); if ($this->seule) { $child_notice->do_isbd(); $child_notice->do_public(); if ($this->double_ou_simple == 2) { $child_notice->genere_double(1, $this->premier); } $child_notice->genere_simple(1, $this->premier); $child_notice->result = $onglet_perso->insert_onglets($child_notices[$i], $child_notice->result); $affichage .= $child_notice->result; } else { $child_notice->visu_expl = 0; $child_notice->visu_explnum = 0; $icon = $icon_doc[$child_notice->notice->niveau_biblio . $child_notice->notice->typdoc]; if ($icon) { $info_bulle_icon = str_replace("!!niveau_biblio!!", $biblio_doc[$child_notice->notice->niveau_biblio], $msg["info_bulle_icon"]); $info_bulle_icon = str_replace("!!typdoc!!", $tdoc->table[$child_notice->notice->typdoc], $info_bulle_icon); $html_icon = "<img src=\"" . $opac_url_base . "images/{$icon}\" alt='" . $info_bulle_icon . "' title='" . $info_bulle_icon . "'/>"; } else { $html_icon = ""; } $affichage .= "<br /><table><tr><td width='3%'><li style='list-style-type: none;'>" . $html_icon . "</td><td width='87%'><a href='" . str_replace("!!id!!", $child_notices[$i], $this->lien_rech_notice) . "'>" . $child_notice->notice_header . "</a></td><td>" . $child_notice->notice_header_doclink . "</td></tr></table></li>"; } $bool = true; } } } } } if ($bool) { $aff_childs .= $affichage; } if ($this->seule) { } else { $aff_childs .= "</ul>"; } } $this->notice_childs = $aff_childs . "<br />"; } else { $this->notice_childs = ""; } return $this->notice_childs; }
function alert_mail_users_pmb($id_notice = 0, $id_bulletin = 0, $id_empr, $annul = 0) { global $dbh; global $msg, $charset; global $opac_biblio_name, $opac_biblio_email; global $opac_url_base; // paramétrage OPAC: choix du nom de la bibliothèque comme expéditeur $requete = "select location_libelle, email from empr, docs_location where empr_location=idlocation and id_empr='{$id_empr}' "; $res = mysql_query($requete, $dbh); $loc = mysql_fetch_object($res); $PMBusernom = $loc->location_libelle; $PMBuserprenom = ''; $PMBuseremail = $loc->email; if ($PMBuseremail) { $query = "select distinct empr_prenom, empr_nom, empr_cb, empr_mail, empr_tel1, empr_tel2, empr_ville, location_libelle, nom, prenom, user_email, date_format(sysdate(), '" . $msg["format_date_heure"] . "') as aff_quand from empr, docs_location, users where id_empr='{$id_empr}' and empr_location=idlocation and user_email like('%@%') and user_alert_resamail=1"; $result = @mysql_query($query, $dbh); $headers = "MIME-Version: 1.0\n"; $headers .= "Content-type: text/html; charset=" . $charset . "\n"; $output_final = ''; while ($empr = @mysql_fetch_object($result)) { if (!$output_final) { $output_final = "<html><body>"; if ($annul == 1) { $output_final .= "<a href='" . $opac_url_base . "'><font color=red><strong>" . $msg["mail_obj_resa_canceled"]; $sujet = $msg["mail_obj_resa_canceled"]; } elseif ($annul == 2) { $output_final .= "<a href='" . $opac_url_base . "'><font color=blue><strong>" . $msg["mail_obj_resa_reaffected"]; $sujet = $msg["mail_obj_resa_reaffected"]; } else { $output_final .= "<a href='" . $opac_url_base . "'><font color=green><strong>" . $msg["mail_obj_resa_added"]; $sujet = $msg["mail_obj_resa_added"]; } $output_final .= "</strong></font></a> " . $empr->aff_quand . "\n\t\t\t\t\t\t\t\t\t<br /><strong>" . $empr->empr_prenom . " " . $empr->empr_nom . "</strong>\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<br /><i>" . $empr->empr_mail . " / " . $empr->empr_tel1 . " / " . $empr->empr_tel2 . "</i>"; if ($empr->empr_cp || $empr->empr_ville) { $output_final .= "<br /><u>" . $empr->empr_cp . " " . $empr->empr_ville . "</u>"; } $output_final .= "<hr />" . $msg[situation] . ": " . $empr->location_libelle . "<hr />"; if ($id_notice) { $current = new notice_affichage($id_notice, array(), 0, 1); $current->do_header(); $current->do_isbd(1, 1); $output_final .= "<h3>" . $current->notice_header . "</h3>"; $output_final .= $current->notice_isbd; $output_final .= $current->affichage_expl; } else { $output_final .= bulletin_affichage_reduit($id_bulletin); $output_final .= notice_affichage::expl_list("m", 0, $id_bulletin); } $output_final .= "<hr /></body></html> "; } $res_envoi = mailpmb($empr->nom . " " . $empr->prenom, $empr->user_email, $sujet . " " . $empr->aff_quand, $output_final, $PMBusernom, $PMBuseremail, $headers, "", "", 1); } } }
require_once $base_path . "/includes/opac_version.inc.php"; // fonctions de gestion de formulaire require_once $base_path . "/includes/javascript/form.inc.php"; require_once $base_path . "/includes/templates/common.tpl.php"; require_once $base_path . "/includes/divers.inc.php"; // classe de gestion des catégories require_once $base_path . "/classes/categorie.class.php"; require_once $base_path . "/classes/notice.class.php"; require_once $base_path . "/classes/notice_display.class.php"; // classe indexation interne require_once $base_path . "/classes/indexint.class.php"; require_once $base_path . "/includes/marc_tables/" . $pmb_indexation_lang . "/empty_words"; // pour l'affichage correct des notices require_once $base_path . "/includes/templates/common.tpl.php"; require_once $base_path . "/includes/templates/notice.tpl.php"; require_once $base_path . "/includes/list_notices.inc.php"; require_once $base_path . "/includes/navbar.inc.php"; require_once $base_path . "/includes/notice_authors.inc.php"; require_once $base_path . "/includes/notice_categories.inc.php"; require_once $base_path . "/includes/notice_affichage.inc.php"; // les nouveaux affichages require_once $base_path . "/includes/isbn.inc.php"; require_once $base_path . "/classes/notice_affichage.class.php"; require_once $base_path . '/includes/templates/notice_display.tpl.php'; require_once $base_path . '/includes/explnum.inc.php'; $notice = new notice_affichage(32, $liens_opac); $notice->do_header(); $notice->do_isbd(); $notice->do_public(); $notice->genere_double($depliable, 'PUBLIC'); print $notice->result;
private function aff_notices_list($notices_list) { global $dbh, $charset, $opac_url_base; global $opac_notice_affichage_class; $retour_aff = ""; foreach ($notices_list as $notice_id) { $req = "select notice_id, notice_date_is_new from notices where notice_id={$notice_id}"; $res = @pmb_mysql_query($req, $dbh); if ($r = pmb_mysql_fetch_object($res)) { if ($opac_notice_affichage_class != "") { $notice = new $opac_notice_affichage_class($r->notice_id, "", "", 1); } else { $notice = new notice_affichage($r->notice_id, "", "", 1); } $notice->visu_expl = 0; $notice->visu_explnum = 0; $notice->do_header_without_html(); $retour_aff .= "<item>\r\n\t\t\t\t\t<title>" . htmlspecialchars($notice->notice_header_without_html, ENT_QUOTES, $charset) . "</title>\r\n\t\t\t\t\t<pubDate>" . htmlspecialchars($r->notice_date_is_new, ENT_QUOTES, $charset) . "</pubDate>\r\n\t\t\t\t\t<link>" . htmlspecialchars($opac_url_base . "index.php?lvl=notice_display&id=" . $r->notice_id, ENT_QUOTES, $charset) . "</link>"; $notice->do_isbd(1, 0); $desc = $notice->notice_isbd; $retour_aff .= "\t<description>" . htmlspecialchars($desc, ENT_QUOTES, $charset) . "</description>"; $retour_aff .= "</item>"; } } return $retour_aff; }
function genere_notice_childs() { global $msg, $opac_notice_affichage_class; global $memo_notice; global $relation_typedown; /* début modif */ //Je ne veux que les liens vers les notices liées, pas de notices dépliables. $this->seule = 0; /* fin modif */ $onglet_perso = new notice_onglets(); $this->antiloop[$this->notice_id] = true; //Notices liées if ($this->notice_childs) { return $this->notice_childs; } if (count($this->childs) && !$this->to_print) { if ($this->seule) { $affichage = ""; } else { $affichage = "<a href='" . str_replace("!!id!!", $this->notice_id, $this->lien_rech_notice) . "&seule=1'>" . $msg[voir_contenu_detail] . "</a>"; } if (!$relation_typedown) { $relation_typedown = new marc_list("relationtypedown"); } reset($this->childs); $affichage .= "<br />"; while (list($rel_type, $child_notices) = each($this->childs)) { /* début modif */ $affichage = "<tr><td align='left' class='bg-grey'><span class='etiq_champ'>" . $relation_typedown->table[$rel_type] . " :</span></td>\n"; if ($this->seule) { } else { $affichage .= "<td>"; } /* fin modif */ $bool = false; for ($i = 0; $i < count($child_notices) && ($i < 100 || $this->seule); $i++) { if (!$this->antiloop[$child_notices[$i]]) { //if(!$this->seule && $memo_notice[$child_notices[$i]]["niveau_biblio"]!='b' && $memo_notice[$child_notices[$i]]["header"]) { if (!$this->seule && $memo_notice[$child_notices[$i]]["niveau_biblio"] != 'b' && $memo_notice[$child_notices[$i]]["header_without_doclink"]) { //$affichage.="<li><a href='".str_replace("!!id!!",$child_notices[$i],$this->lien_rech_notice)."'>".$memo_notice[$child_notices[$i]]["header"]."</a></li>"; $affichage .= "<a href='" . str_replace("!!id!!", $child_notices[$i], $this->lien_rech_notice) . "'>" . $memo_notice[$child_notices[$i]]["header_without_doclink"] . "</a><br/>"; $bool = true; } else { if (!$memo_notice[$child_notices[$i]]["niveau_biblio"]) { if ($this->seule) { $header_only = 0; } else { $header_only = 1; } if ($opac_notice_affichage_class) { $child_notice = new $opac_notice_affichage_class($child_notices[$i], $this->liens, $this->cart_allowed, $this->to_print, $header_only); } else { $child_notice = new notice_affichage($child_notices[$i], $this->liens, $this->cart_allowed, $this->to_print, $header_only); } if ($child_notice->notice->niveau_biblio != 'b' || $child_notice->notice->niveau_biblio == 'b' && $this->notice->niveau_biblio != "s") { $child_notice->antiloop = $this->antiloop; $child_notice->do_header(); if ($this->seule) { $child_notice->do_isbd(); $child_notice->do_public(); if ($this->double_ou_simple == 2) { $child_notice->genere_double(1, $this->premier); } $child_notice->genere_simple(1, $this->premier); $child_notice->result = $onglet_perso->insert_onglets($child_notices[$i], $child_notice->result); $affichage .= $child_notice->result; } else { $child_notice->visu_expl = 0; $child_notice->visu_explnum = 0; /* début modif */ $affichage .= "<a href='" . str_replace("!!id!!", $child_notices[$i], $this->lien_rech_notice) . "'>" . $child_notice->notice_header . "</a><br/>"; /* fin modif */ } $bool = true; } } } } } if ($bool) { $aff_childs .= $affichage; } if ($bool && count($child_notices) > 100 && !$this->seule) { $aff_childs .= "<br />"; if ($this->lien_rech_notice) { $aff_childs .= "<a href='" . str_replace("!!id!!", $this->notice_id, $this->lien_rech_notice) . "&seule=1'>"; } $aff_childs .= sprintf($msg["see_all_childs"], 20, count($child_notices), count($child_notices) - 20); if ($this->lien_rech_notice) { $aff_childs .= "</a>"; } } /* début modif */ if ($this->seule) { } else { $aff_childs .= "</td>\n</tr>\n"; } /* fin modif */ } $this->notice_childs = $aff_childs . "<br />"; } else { $this->notice_childs = ""; } return $this->notice_childs; }