Traduction manquante dans la protection d'un répertoire
This commit is contained in:
parent
031d21ac8c
commit
e3680ecc32
|
@ -70,8 +70,6 @@ class m_dom {
|
||||||
var $type_url = "1";
|
var $type_url = "1";
|
||||||
var $type_ip = "2";
|
var $type_ip = "2";
|
||||||
var $type_webmail = "3";
|
var $type_webmail = "3";
|
||||||
var $type_cname = "4"; // TODO : implement this ;)
|
|
||||||
var $type_ns = "5"; // TODO : implement this ;)
|
|
||||||
|
|
||||||
var $action_insert = "0";
|
var $action_insert = "0";
|
||||||
var $action_update= "1";
|
var $action_update= "1";
|
||||||
|
@ -977,10 +975,14 @@ class m_dom {
|
||||||
/**
|
/**
|
||||||
* Returns the complete hosted domain list :
|
* Returns the complete hosted domain list :
|
||||||
*/
|
*/
|
||||||
function get_domain_list() {
|
function get_domain_list($uid=-1) {
|
||||||
global $db,$err;
|
global $db,$err;
|
||||||
|
$uid=intval($uid);
|
||||||
$res=array();
|
$res=array();
|
||||||
$db->query("SELECT domaine FROM domaines WHERE gesdns=1 ORDER BY domaine");
|
if ($uid!=-1) {
|
||||||
|
$sql=" AND compte='$uid' ";
|
||||||
|
}
|
||||||
|
$db->query("SELECT domaine FROM domaines WHERE gesdns=1 $sql ORDER BY domaine");
|
||||||
while ($db->next_record()) {
|
while ($db->next_record()) {
|
||||||
$res[]=$db->f("domaine");
|
$res[]=$db->f("domaine");
|
||||||
}
|
}
|
||||||
|
|
|
@ -1222,6 +1222,10 @@ msgstr "Liste des comptes ftp"
|
||||||
msgid "Protect a folder"
|
msgid "Protect a folder"
|
||||||
msgstr "Protéger un répertoire"
|
msgstr "Protéger un répertoire"
|
||||||
|
|
||||||
|
#: ../admin/hta_add.php:39 ../admin/hta_add.php:38
|
||||||
|
msgid "Enter the name of the folder you want to protect. It must already exists."
|
||||||
|
msgstr "Choisir le répertoire que vous souhaitez protéger. Ce répertoire doit préexister."
|
||||||
|
|
||||||
#: ../admin/hta_add.php:39 ../admin/hta_add.php:36
|
#: ../admin/hta_add.php:39 ../admin/hta_add.php:36
|
||||||
msgid "The folder must exists."
|
msgid "The folder must exists."
|
||||||
msgstr "Le répertoire doit déjà exister."
|
msgstr "Le répertoire doit déjà exister."
|
||||||
|
|
Loading…
Reference in New Issue