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