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(); $a_template=$xml->xpath('//database_template/dbtemplate'); $nb_template=count($a_template); echo "
'; $js=sprintf("onclick=\"install_template('%s')\"", trim($a_template[$i]->code)); echo HtmlInput::button("installTemplate", "Installation modèle", $js); echo ' | '; echo '