Subversion Repositories ALCASAR

Rev

Rev 411 | Rev 721 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 411 Rev 688
Line 19... Line 19...
19
 $l_warning = "(attention, la création de l'image ISO du système dure plusieurs dizaines de minutes)";
19
 $l_warning = "(attention, la création de l'image ISO du système dure plusieurs dizaines de minutes)";
20
 $l_backup_files = "Fichiers disponibles pour archivage";
20
 $l_backup_files = "Fichiers disponibles pour archivage";
21
 $l_firewall_log = "Journaux du parefeu (Firewall)";
21
 $l_firewall_log = "Journaux du parefeu (Firewall)";
22
 $l_users_db_files = "Base des usagers";
22
 $l_users_db_files = "Base des usagers";
23
 $l_iso_files = "images ISO du système";
23
 $l_iso_files = "images ISO du système";
-
 
24
 $l_empty = "vide";
24
}
25
}
25
else {
26
else {
26
 $l_backups = "Backups";
27
 $l_backups = "Backups";
27
 $l_user_db_save = "Save the users database";
28
 $l_user_db_save = "Save the users database";
28
 $l_system_iso = "Create a system iso image";
29
 $l_system_iso = "Create a system iso image";
Line 30... Line 31...
30
 $l_warning = "(warning, the creation of the system iso image takes few minutes)";
31
 $l_warning = "(warning, the creation of the system iso image takes few minutes)";
31
 $l_backup_files = "Archive backup files";
32
 $l_backup_files = "Archive backup files";
32
 $l_firewall_log = "Firewall log files";
33
 $l_firewall_log = "Firewall log files";
33
 $l_users_db_files = "Users database";
34
 $l_users_db_files = "Users database";
34
 $l_iso_files = "System ISO images";
35
 $l_iso_files = "System ISO images";
-
 
36
 $l_empty = "empty";
35
}
37
}
36
function taille_fichier($fichier)
38
function taille_fichier($fichier)
37
{
39
{
38
	$taille_fichier = filesize($fichier);
40
	$taille_fichier = filesize($fichier);
39
	if ($taille_fichier >= 1073741824){
41
	if ($taille_fichier >= 1073741824){
Line 105... Line 107...
105
		}
107
		}
106
	}
108
	}
107
	closedir($rep);
109
	closedir($rep);
108
	if ($i == 0)
110
	if ($i == 0)
109
	{
111
	{
110
		echo "vide";
112
		echo "$l_empty";
111
	}
113
	}
112
	else
114
	else
113
	{
115
	{
114
		sort($liste_f);
116
		sort($liste_f);
115
		while ( $i > 0)
117
		while ( $i > 0)