if (!defined('ALLOWED')) die('Appel direct ne sont pas permis'); if (!defined('ALLOWED_ADMIN')) { die(_('Non autorisé')); } require_once NOALYSS_INCLUDE.'/class/package_repository.class.php'; require_once NOALYSS_INCLUDE.'/class/extension.class.php'; $package_repository=new Package_Repository(); $xml=$package_repository->getContent(); /* * If xml is null , it means it was not possible to get the file , could be * a network problem or a misconfiguration */ if ( $xml == NULL) { echo '
| '; $js=sprintf("onclick=\"install_template('%s')\"", trim($a_template[$i]->code)); echo HtmlInput::button("installTemplate", "Installation modèle", $js); echo ' | '; echo '