diff --git a/bureau/admin/bro_main.php b/bureau/admin/bro_main.php index 45517a4f..20dc7f06 100644 --- a/bureau/admin/bro_main.php +++ b/bureau/admin/bro_main.php @@ -142,7 +142,7 @@ if ($c===false) $error=$err->errstr(); $error"; ?> - - + + +

is_protected($R)) { -echo ""._("Edit this folder's restrictions").""; +echo ""._("Edit this folder's restrictions").""; } else { -echo ""._("Protect this folder").""; + echo ""._("Protect this folder").""; } ?>

diff --git a/bureau/admin/dom_edit.php b/bureau/admin/dom_edit.php index d3b80eda..8e905bd7 100644 --- a/bureau/admin/dom_edit.php +++ b/bureau/admin/dom_edit.php @@ -69,7 +69,7 @@ function dnsoff() { -

+
@@ -158,7 +158,7 @@ if ($c===false) $error=$err->errstr();
  +
@@ -281,11 +281,15 @@ document.write(" +
+
"> @@ -90,7 +91,7 @@ for($i=0;$i<$r["nsub"];$i++) {


- +
+
diff --git a/bureau/admin/ftp_add.php b/bureau/admin/ftp_add.php index 86250252..237de3ec 100644 --- a/bureau/admin/ftp_add.php +++ b/bureau/admin/ftp_add.php @@ -47,7 +47,7 @@ if (!$quota->cancreate("ftp")) { } ?> - +
- + + -
 _  diff --git a/bureau/admin/hta_add.php b/bureau/admin/hta_add.php index 83490c1a..14ff6e0f 100644 --- a/bureau/admin/hta_add.php +++ b/bureau/admin/hta_add.php @@ -33,7 +33,7 @@ include_once("head.php"); ?>

- +

+
" />
+
+" /> + \ No newline at end of file diff --git a/bureau/admin/hta_list.php b/bureau/admin/hta_list.php index 2d315eb0..ed8eb610 100644 --- a/bureau/admin/hta_list.php +++ b/bureau/admin/hta_list.php @@ -61,8 +61,8 @@ $mem->show_help("hta_list2");

- - +
 
+ - + -
<?php __(" /> + +
" />
+
+" /> +
-

- -

+

show_help("hta_list"); ?>

diff --git a/bureau/admin/icon/doc.png b/bureau/admin/icon/doc.png index fa88841e..1137f3b0 100644 Binary files a/bureau/admin/icon/doc.png and b/bureau/admin/icon/doc.png differ diff --git a/bureau/admin/icon/exe.png b/bureau/admin/icon/exe.png index 678d971f..a6de4167 100644 Binary files a/bureau/admin/icon/exe.png and b/bureau/admin/icon/exe.png differ diff --git a/bureau/admin/icon/file.png b/bureau/admin/icon/file.png index 7323203b..25a06efb 100644 Binary files a/bureau/admin/icon/file.png and b/bureau/admin/icon/file.png differ diff --git a/bureau/admin/icon/folder.png b/bureau/admin/icon/folder.png index f1ae1bbc..d2edbaad 100644 Binary files a/bureau/admin/icon/folder.png and b/bureau/admin/icon/folder.png differ diff --git a/bureau/admin/icon/htm.png b/bureau/admin/icon/htm.png index 68921013..125dc40b 100644 Binary files a/bureau/admin/icon/htm.png and b/bureau/admin/icon/htm.png differ diff --git a/bureau/admin/icon/jpg.png b/bureau/admin/icon/jpg.png index afdbace6..09f9c1af 100644 Binary files a/bureau/admin/icon/jpg.png and b/bureau/admin/icon/jpg.png differ diff --git a/bureau/admin/icon/m3u.png b/bureau/admin/icon/m3u.png index 0468529e..bb3db46a 100644 Binary files a/bureau/admin/icon/m3u.png and b/bureau/admin/icon/m3u.png differ diff --git a/bureau/admin/icon/pdf.png b/bureau/admin/icon/pdf.png index 1357fcf2..35ca44b0 100644 Binary files a/bureau/admin/icon/pdf.png and b/bureau/admin/icon/pdf.png differ diff --git a/bureau/admin/icon/ppt.png b/bureau/admin/icon/ppt.png index 13214c3e..fb87643a 100644 Binary files a/bureau/admin/icon/ppt.png and b/bureau/admin/icon/ppt.png differ diff --git a/bureau/admin/icon/ra.png b/bureau/admin/icon/ra.png index 88c4356c..b76d8b9e 100644 Binary files a/bureau/admin/icon/ra.png and b/bureau/admin/icon/ra.png differ diff --git a/bureau/admin/icon/swf.png b/bureau/admin/icon/swf.png index d5d3a086..4a63816c 100644 Binary files a/bureau/admin/icon/swf.png and b/bureau/admin/icon/swf.png differ diff --git a/bureau/admin/icon/txt.png b/bureau/admin/icon/txt.png index c445d96e..34315a39 100644 Binary files a/bureau/admin/icon/txt.png and b/bureau/admin/icon/txt.png differ diff --git a/bureau/admin/icon/wav.png b/bureau/admin/icon/wav.png index 12feca8f..994ef397 100644 Binary files a/bureau/admin/icon/wav.png and b/bureau/admin/icon/wav.png differ diff --git a/bureau/admin/icon/xls.png b/bureau/admin/icon/xls.png index ca600ced..cd92c674 100644 Binary files a/bureau/admin/icon/xls.png and b/bureau/admin/icon/xls.png differ diff --git a/bureau/admin/icon/zip.png b/bureau/admin/icon/zip.png index 47156d68..4779bae1 100644 Binary files a/bureau/admin/icon/zip.png and b/bureau/admin/icon/zip.png differ diff --git a/bureau/admin/mail_add.php b/bureau/admin/mail_add.php index cee1312d..38717659 100644 --- a/bureau/admin/mail_add.php +++ b/bureau/admin/mail_add.php @@ -49,7 +49,7 @@ if ($error) { - + diff --git a/bureau/admin/mail_edit.php b/bureau/admin/mail_edit.php index 36875a86..3d61aa5c 100644 --- a/bureau/admin/mail_edit.php +++ b/bureau/admin/mail_edit.php @@ -58,16 +58,18 @@ if ($error_edit) { } ?> -
@
/>
/>
()
+
+%s"),$email); ?> -
-
/>
()
" />
+
+" /> +" onclick="document.location='mail_list.php?domain='"/>

diff --git a/bureau/admin/mail_list.php b/bureau/admin/mail_list.php index 5a9c0e29..9b88f4d9 100644 --- a/bureau/admin/mail_list.php +++ b/bureau/admin/mail_list.php @@ -51,9 +51,12 @@ if(!$res=$mail->enum_doms_mails($domain,1,$letter)) { if ($error) { echo "

$error

"; } -echo "

".sprintf(_("Add a mailbox on %s"),$domain)."
"; -echo " ".sprintf(_("Add many mailboxes on %s"),$domain)."

"; - +?> +

+ %s"),$domain); ?> + %s"),$domain); ?> +

+$error

"; } - -echo "

".sprintf(_("Add a mailbox on %s"),$domain)."
"; -echo " ".sprintf(_("Add many mailboxes on %s"),$domain)."

"; +?> +

+ %s"),$domain); ?> + %s"),$domain); ?> +

+enum_doms_mails_letters($domain)) $error=$err->errstr(); else{ + echo "

"; + __("Show only mail starting by:"); + echo " "; for($i=0;$i$val "; } echo " ".sprintf(_("All")).""; + echo "

"; } if ($res["count"]) { ?>
- +
- +"; - echo " - - "; + echo ""; +?> + + +"; if ($val["pop"]) { echo ""; } else { @@ -104,8 +117,9 @@ for($i=0;$i<$res["count"];$i++) { } ?> -
-
+
\""._("Edit")."\"".format_size($val["size"])."
" />
+
+" />
cancreate("mysql")) { } ?>
- +
-
user["login"]; ?> _ 
" />
+
+" />
diff --git a/bureau/admin/sql_bck.php b/bureau/admin/sql_bck.php index 098ce145..9c86be4c 100644 --- a/bureau/admin/sql_bck.php +++ b/bureau/admin/sql_bck.php @@ -51,8 +51,8 @@ if (is_array($r)) {

- - +
+ - + - + - + - - - -
@@ -62,7 +62,7 @@ if (is_array($r)) {
" />
" />
+
+" />
show_help("sql_bck"); diff --git a/bureau/admin/sql_del.php b/bureau/admin/sql_del.php index fcd4bd07..adf66374 100644 --- a/bureau/admin/sql_del.php +++ b/bureau/admin/sql_del.php @@ -64,7 +64,7 @@ while (list($key,$val)=each($_POST)) { ?>
-" /> - " onclick="history.back()" /> +" /> " onclick="history.back()" />

\ No newline at end of file diff --git a/bureau/admin/sql_getparam.php b/bureau/admin/sql_getparam.php index e2bbc400..98f48c80 100644 --- a/bureau/admin/sql_getparam.php +++ b/bureau/admin/sql_getparam.php @@ -43,20 +43,20 @@ if (!$r=$mysql->get_dblist()) { ?>

:

- - +
+ - + - + - + diff --git a/bureau/admin/sql_list.php b/bureau/admin/sql_list.php index e8487e9f..bbe8b766 100644 --- a/bureau/admin/sql_list.php +++ b/bureau/admin/sql_list.php @@ -45,7 +45,7 @@ echo "

"._("help_sql_list_ok")."

"; ?> -
user["login"]; ?>
server; ?>
+
"> - - + + -
 
" name="del_" value="" /> ">">
+
- -
- +
+
" />
+
+" /> show_help("sta2_add"); ?> \ No newline at end of file diff --git a/bureau/admin/sta2_doadd_raw.php b/bureau/admin/sta2_doadd_raw.php index 16500b52..d7aed651 100644 --- a/bureau/admin/sta2_doadd_raw.php +++ b/bureau/admin/sta2_doadd_raw.php @@ -29,7 +29,13 @@ */ require_once("../class/config.php"); -$r=$sta2->add_stats_raw($hostname,$folder); +$fields = array ( + "hostname" => array ("post", "string", ""), + "dir" => array ("post", "string", ""), +); +getFields($fields); + +$r=$sta2->add_stats_raw($hostname,$dir); if (!$r) { $error=$err->errstr(); include("sta2_add_raw.php"); diff --git a/bureau/admin/sta2_doedit_raw.php b/bureau/admin/sta2_doedit_raw.php index 464576a5..ad33a402 100644 --- a/bureau/admin/sta2_doedit_raw.php +++ b/bureau/admin/sta2_doedit_raw.php @@ -32,7 +32,7 @@ require_once("../class/config.php"); if (!$id) { $error=_("No Statistics selected!"); } else { - $r=$sta2->put_stats_details_raw($id,$folder); + $r=$sta2->put_stats_details_raw($id,$dir); if (!$r) { $error=$err->errstr(); include("sta2_edit_raw.php"); diff --git a/bureau/admin/sta2_edit_raw.php b/bureau/admin/sta2_edit_raw.php index 9bd57e59..09c8f632 100644 --- a/bureau/admin/sta2_edit_raw.php +++ b/bureau/admin/sta2_edit_raw.php @@ -52,13 +52,13 @@ if (!$id) {
- diff --git a/bureau/admin/sta2_list.php b/bureau/admin/sta2_list.php index a6b745ed..665218d9 100644 --- a/bureau/admin/sta2_list.php +++ b/bureau/admin/sta2_list.php @@ -36,7 +36,7 @@ include_once("head.php"); cancreate("sta2")) { ?>

- - +

get_list_raw()) { ?> -
- +
" size="20" maxlength="255" /> +
" size="20" maxlength="255" />
- +
 
+ - +
" value="" />"><?php __(" alt="" /> / "; - if (($fp=fsockopen($serveur, 43))>0) { + if (($fp=@fsockopen($serveur, 43))>0) { fputs($fp, "$egal$domain\r\n"); $found = false; $state=0; diff --git a/bureau/locales/fr_FR/LC_MESSAGES/messages.po b/bureau/locales/fr_FR/LC_MESSAGES/messages.po index 11c055ed..d3758426 100644 --- a/bureau/locales/fr_FR/LC_MESSAGES/messages.po +++ b/bureau/locales/fr_FR/LC_MESSAGES/messages.po @@ -61,7 +61,7 @@ msgstr "Ajout d'un membre" #: ../admin/sql_getparam.php:48 ../admin/sql_list.php:93 #: ../admin/sql_passchg.php:49 ../admin/sql_users_list.php:92 msgid "Username" -msgstr "Nom" +msgstr "Utilisateur" #: ../admin/adm_add.php:58 msgid "Initial password" @@ -1355,8 +1355,8 @@ msgstr "Ajout d'un mail sur le domaine %s" #: ../admin/mail_add.php:49 ../admin/mail_edit.php:58 ../admin/mail_add.php:52 #: ../admin/mail_edit.php:65 -msgid "Is it a POP account?" -msgstr "Compte POP ?" +msgid "Is it a POP/IMAP account?" +msgstr "Est-ce un compte POP/IMAP ?" #: ../admin/mail_add.php:50 ../admin/mail_edit.php:59 ../admin/mail_add.php:53 #: ../admin/mail_edit.php:66 @@ -1443,8 +1443,8 @@ msgstr "Modification d'un email du domaine %s" #: ../admin/mail_edit.php:57 ../admin/mail_edit.php:64 #, php-format -msgid "Edit the mailbox %s" -msgstr "Modification du mail %s" +msgid "Edit the mailbox %s" +msgstr "Modification du mail %s" #: ../admin/mail_edit.php:62 ../admin/mail_edit.php:69 msgid "Change this mailbox" @@ -1488,7 +1488,7 @@ msgstr "Ajouter plusieurs emails sur %s" #: ../admin/mail_list.php:76 ../admin/mail_list.php:78 #, php-format msgid "All" -msgstr "Tout" +msgstr "Tous" #: ../admin/mail_list.php:88 ../admin/sql_list.php:53 ../admin/sql_list.php:49 msgid "Size" @@ -2713,3 +2713,88 @@ msgstr "Impossible de modifier la politique de mot de passe, une erreur est appa #~ msgid "<-No Password->" #~ msgstr "<-Aucun mot de passe->" + +msgid "Show this folder's content in the File Browser" +msgstr "Afficher le contenu de ce dossier dans le Gestionnaire de Fichiers" + +msgid "Adding an authorized user" +msgstr "Ajout d'un utilisateur autorisé" + +msgid "Change this user's password" +msgstr "Changer le mot de passe de cet utilisateur" + +msgid "Do you want to point this domain to another domain already installed in your account?" +msgstr "Voulez-vous pointer ce domaine sur un autre déjà installé sur votre compte ?" + +msgid "No: This domain will have its own folder." +msgstr "Non : ce domaine aura son propre dossier." + +msgid "Yes, redirect this new domain to this one:" +msgstr "Oui, redirigez ce nouveau domaine vers ce domaine existant :" + +msgid "-- Choose a domain --" +msgstr "-- Choisir un nom de domaine --" + +msgid "Subdomain" +msgstr "Sous-domaine" + +msgid "Place" +msgstr "Emplacement" + +msgid "Add this subdomain" +msgstr "Ajouter ce sous-domaine" + +msgid "Choose a folder..." +msgstr "Choisir un répertoire ..." + +msgid "Send one file:" +msgstr "Envoyer un fichier:" + +msgid "New file or folder:" +msgstr "Créer un fichier ou un dossier:" + +msgid "Send this file" +msgstr "Envoyer ce fichier" + +msgid "Filename" +msgstr "Nom du fichier" + +msgid "To" +msgstr "Vers" + +msgid "Last modification" +msgstr "Dernière modification" + +msgid "File Type" +msgstr "Type de fichier" + +msgid "Show size of directories" +msgstr "Afficher la taille des répertoires" + +msgid "(slow)" +msgstr "(lent)" + +msgid "Edit this folder's restrictions" +msgstr "Modifier les restriction dans ce dossier" + +msgid "with a login and a password" +msgstr "utilisant un nom d'utilisateur et un mot de passe" + +msgid "Download this folder" +msgstr "Télécharger ce dossier" + +msgid "as a %s file" +msgstr "comme fichier %s" + +msgid "Show only mail starting by:" +msgstr "N'afficher que les mails commençant par :" + + +msgid "Delete %s from this server" +msgstr "Effacer le domaine %s de ce serveur" + +msgid "Folder where we will put the log file:" +msgstr "Dossier qui accueillera vos logs :" + +msgid "Domain name:" +msgstr "Nom de domaine :" \ No newline at end of file