22if (!defined(
'ALLOWED')) die(
'Appel direct ne sont pas permis');
23if ( ! defined (
'ALLOWED_ADMIN')) { die (_(
'Non autorisé'));}
39 echo
'<h2 class="error">';
40 printf (_(
"Désolé , impossible de se connecter au serveur %s"),
41 NOALYSS_PACKAGE_REPOSITORY);
46printf(
h1(_(
"Version %s du %s")),
$xml->core->version,
$xml->core->date);
48echo
$xml->core->description;
53 echo _(
"Votre version est à jour");
58$js=
"onclick='UpgradeCore()'";
66 function UpgradeCore()
68 progress_bar_start(
'upgradeCore');
69 new Ajax.Updater(
"info_admin",
"ajax_misc.php",{
71 parameters:{op:
"upgradeCore",gDossier:0,task_id:
'upgradeCore'
h1($p_string, $p_class="")
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->core->version<=$version_noalyss) $js