msg["no_configuration_required"]; return $result; } function update_config_from_form() { return; } function instantiate_source_class($source_id) { return new openurl_out_source($this, $source_id, $this->msg); } //On chargera nous même les messages si on en a besoin function need_global_messages() { return false; } function process($source_id) { global $base_path; foreach($this->sources as $source){ if($source->id == $source_id){ if($source->config['mode'] == "requeteur"){ $str = $HTTP_RAW_POST_DATA; if(!$str){ $str = str_replace('source_id='.$source_id.'&',"",$_SERVER['QUERY_STRING']); } openurl_transport::unserialize($str); }else{ foreach($_POST as $key=>$value) { global $$key; $$key = $value; } foreach($_GET as $key=>$value) { global $$key; $$key = $value; } require($base_path."/admin/connecteurs/in/openurl/openurl.class.php"); $conn = new openurl("openurl"); header('Content-type: text/txt'); print $conn->getByRefContent($in_id,$notice_id,$uri,$entity); } } } return; } } class openurl_out_source extends connecteur_out_source { function openurl_out_source($connector, $id, $msg) { parent::connecteur_out_source($connector, $id, $msg); } function get_config_form() { global $charset; $result = parent::get_config_form(); //Adresse d'utilisation $result .= "