Subversion Repositories eFlore/Archives.eflore-consultation-v1

Compare Revisions

Ignore whitespace Rev 2 → Rev 8

/trunk/eflore_transfo_xslt.inc.php
21,7 → 21,7
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: eflore_transfo_xslt.inc.php,v 1.1 2005-05-24 15:57:48 jpm Exp $
// CVS : $Id: eflore_transfo_xslt.inc.php,v 1.2 2005-06-01 18:26:21 jpm Exp $
/**
* Réalisation de la transfo XSL du XML d'eFlore.
*
32,7 → 32,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2005
*@version $Revision: 1.1 $ $Date: 2005-05-24 15:57:48 $
*@version $Revision: 1.2 $ $Date: 2005-06-01 18:26:21 $
// +------------------------------------------------------------------------------------------------------+
*/
 
71,12 → 71,6
}
(isset($_GET['servicexml'])) ? $xml = $_GET['servicexml'] : '';
(isset($_GET['xslt'])) ? $xslt = $_GET['xslt'] : '';
//Nous recherchons le navigateur utilisé par le client. S'il s'agit de Netscape 4.x nous
//lui attribuons une nouvelle feuille xslt pour la fiche identité taxon.
$navigateur = get_browser($_SERVER['HTTP_USER_AGENT']);
if ( is_object($navigateur) && $navigateur->browser == 'Netscape' && $navigateur->majorver == '4' && $xslt == 'identitetaxon.xsl') {
$xslt = 'identitetaxon_nn4.xsl';
}
 
$radical = rawurlencode($radical);
$param = '?radical='.$radical;