| @@ -1,28 +1,27 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | 3 | * Created on: 26/05/14 |
| 4 | - * Updated on: 15/11/22 | |
| 4 | + * Updated on: 15/03/22 | |
| 5 | 5 | */ |
| 6 | 6 | |
| 7 | 7 | // Constante pour gérer certaines facettes |
| 8 | 8 | define('wphal_delimiter', '_FacetSep_'); |
| 9 | -define('wphal_delimiter_join', '_JoinSep_'); | |
| 10 | 9 | |
| 11 | 10 | // Constante pour l'API |
| 12 | -define('wphal_api', 'https://api.archives-ouvertes.fr/search/hal/'); | |
| 11 | +define('wphal_api', 'http://api.archives-ouvertes.fr/search/hal/'); | |
| 13 | 12 | |
| 14 | 13 | // Constante pour le référentiel des auteurs |
| 15 | -define('wphal_urlauthor', 'https://api.archives-ouvertes.fr/ref/author/'); | |
| 14 | +define('wphal_urlauthor', 'http://api.archives-ouvertes.fr/ref/author/'); | |
| 16 | 15 | |
| 17 | 16 | // Constante pour le CV d'un auteur ayant un IdHAL |
| 18 | -define('cvhal', 'https://cv.hal.science/'); | |
| 17 | +define('cvhal', 'http://cv.archives-ouvertes.fr/'); | |
| 19 | 18 | |
| 20 | 19 | // Constante pour la rédirection vers l'onglet Recherche de HAL |
| 21 | -define('halv3', 'https://hal.science/search/index/'); | |
| 20 | +define('halv3', 'https://hal.archives-ouvertes.fr/search/index/'); | |
| 22 | 21 | |
| 23 | 22 | // Constante pour la rédirection vers la page d'accueil de HAL |
| 24 | -define('wphal_site', 'https://hal.science/'); | |
| 23 | +define('wphal_site', 'https://hal.archives-ouvertes.fr/'); | |
| 25 | 24 | |
| 26 | 25 | // Constante pour le tri par date |
| 27 | 26 | define('wphal_producedDateY', urlencode('producedDate_tdate desc')); |
| 28 | 27 | |
| @@ -29,5 +28,5 @@ | ||
| 29 | 28 | // Constante de langue |
| 30 | 29 | define('wphal_locale', get_locale()); |
| 31 | 30 | |
| 32 | 31 | // Constante de version du plugin |
| 33 | -define('wphal_version', '2.5'); | |
| 32 | +define('wphal_version', '2.2.1'); | |