function elt_list() { global $msg, $charset; global $elt_query; global $results_show_all; $research .= '<b>' . htmlentities($msg['selector_lib_noti'], ENT_QUOTES, $charset) . '</b> ' . htmlentities(stripslashes($elt_query), ENT_QUOTES, $charset); $this->show_form(); if ($this->nbresults) { $research .= " => " . sprintf($msg["searcher_results"], $this->nbresults); if (!$results_show_all && $this->nbepage != 1) { $research .= " <input type='button' class='bouton_small' onclick='results_show_all();' name='searcher_results_show_all' value='" . htmlentities($msg['searcher_results_show_all'], ENT_QUOTES, $charset) . "'>"; } $this->elt_b_list = str_replace('!!research!!', $research, $this->elt_b_list); print $this->elt_b_list; //Boutons check/uncheck/add selection print "<div class='row'>\n\t\t\t\t\t\t<input type='button' class='bouton_small' onclick='check_uncheck(1);' id='searcher_results_check_all' name='searcher_results_check_all' value='" . htmlentities($msg['searcher_results_check_all'], ENT_QUOTES, $charset) . "'>\n\t\t\t\t\t\t \n\t\t\t\t\t\t<input type='button' class='bouton_small' onclick='add_selection();' id='searcher_results_add_selection' name='searcher_results_add_selection' value='" . htmlentities($msg['searcher_results_add_selection'], ENT_QUOTES, $charset) . "'>\n\t\t\t\t\t</div>"; print "<form name='searcher_results_check_form'>"; // on lance la requête while ($nz = pmb_mysql_fetch_object($this->t_query)) { // notice d'article $art = new sel_article_display($nz->notice_id, $this->base_url, 'sel_searcher_select_'); $art->action = $this->action; $art->action_values = $this->action_values; $art->doForm(); $list .= $this->elt_r_list; if (count($this->elt_r_list_values)) { foreach ($this->elt_r_list_values as $v) { $list = str_replace("!!{$v}!!", $art->{$v}, $list); } } } print $list; // fin de liste print "</form>"; print $this->elt_e_liste; print $this->back_script; print $this->back_script_show_all; } else { error_message_history($msg[357], $msg[1915], 1); } }