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