21if (!defined(
'ALLOWED'))
22 die(
'Appel direct ne sont pas permis');
23if (!defined(
'ALLOWED_ADMIN'))
25 die(_(
'Non autorisé'));
36 echo
'<h2 class="error">';
37 printf (_(
"Désolé , impossible de se connecter au serveur %s"),
38 NOALYSS_PACKAGE_REPOSITORY);
49 th(_(
"Nom")).
th(_(
"Description")).
th(_(
"Mise à jour"))
58 $js=sprintf(
"onclick=\"install_template('%s')\"", trim(
$a_template[
$i]->code));
66 function install_template(p_code)
68 var task_id =
"<?= uniqid() ?>";
69 progress_bar_start(task_id);
70 new Ajax.Updater(
"installTemplate" + p_code,
"ajax_misc.php", {
72 parameters:{op:
"installTemplate", gDossier:0, code:p_code,task_id:task_id}
th($p_string, $p_extra='', $raw='')
tr($p_string, $p_extra='')
td($p_string='', $p_extra='')
surround the string with td
static echo_file($msg, $print=true)
display the file
connect to NOALYSS_PACKAGE and fetch the file web.xml , it displays content of this file ,...
if( $xml==NULL) $a_template