You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.1 KiB
PHP
29 lines
1.1 KiB
PHP
<?php
|
|
|
|
if (!defined('_ECRIRE_INC_VERSION')) {
|
|
return;
|
|
}
|
|
|
|
function graphql_header_prive($flux) {
|
|
$flux .= recuperer_fond('prive/js/graphql');
|
|
$flux .= '
|
|
<script
|
|
src="https://unpkg.com/react@17/umd/react.development.js"
|
|
integrity="sha512-Vf2xGDzpqUOEIKO+X2rgTLWPY+65++WPwCHkX2nFMu9IcstumPsf/uKKRd5prX3wOu8Q0GBylRpsDB26R6ExOg=="
|
|
crossorigin="anonymous"
|
|
></script>
|
|
<script
|
|
src="https://unpkg.com/react-dom@17/umd/react-dom.development.js"
|
|
integrity="sha512-Wr9OKCTtq1anK0hq5bY3X/AvDI5EflDSAh0mE9gma+4hl+kXdTJPKZ3TwLMBcrgUeoY0s3dq9JjhCQc7vddtFg=="
|
|
crossorigin="anonymous"
|
|
></script>';
|
|
$flux .= '<script
|
|
src="https://unpkg.com/react-dom@17/umd/react-dom.development.js"
|
|
integrity="sha512-Wr9OKCTtq1anK0hq5bY3X/AvDI5EflDSAh0mE9gma+4hl+kXdTJPKZ3TwLMBcrgUeoY0s3dq9JjhCQc7vddtFg=="
|
|
crossorigin="anonymous"
|
|
></script>';
|
|
$flux .= '<link rel="stylesheet" href="https://unpkg.com/graphiql/graphiql.min.css" />';
|
|
$flux .= '<link rel="stylesheet" href="https://unpkg.com/@graphiql/plugin-explorer/dist/style.css" />';
|
|
return $flux;
|
|
}
|