Changeset 2698


Ignore:
Timestamp:
05/24/10 13:40:39 (3 years ago)
Author:
chantal
Message:

Traduction manquante dans la protection d'un répertoire

Location:
alternc/trunk/bureau
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • alternc/trunk/bureau/class/m_dom.php

    r2677 r2698  
    7171  var $type_ip = "2"; 
    7272  var $type_webmail = "3"; 
    73   var $type_cname = "4"; // TODO : implement this ;)  
    74   var $type_ns = "5"; // TODO : implement this ;)  
    7573 
    7674  var $action_insert = "0"; 
     
    978976   * Returns the complete hosted domain list :  
    979977   */ 
    980   function get_domain_list() { 
     978  function get_domain_list($uid=-1) { 
    981979        global $db,$err; 
     980        $uid=intval($uid); 
    982981        $res=array(); 
    983         $db->query("SELECT domaine FROM domaines WHERE gesdns=1 ORDER BY domaine"); 
     982        if ($uid!=-1) { 
     983          $sql=" AND compte='$uid' "; 
     984        } 
     985        $db->query("SELECT domaine FROM domaines WHERE gesdns=1 $sql ORDER BY domaine"); 
    984986        while ($db->next_record()) { 
    985987                $res[]=$db->f("domaine"); 
  • alternc/trunk/bureau/locales/fr_FR/LC_MESSAGES/messages.po

    r2695 r2698  
    12231223msgstr "Protéger un répertoire" 
    12241224 
     1225#: ../admin/hta_add.php:39 ../admin/hta_add.php:38 
     1226msgid "Enter the name of the folder you want to protect. It must already exists." 
     1227msgstr "Choisir le répertoire que vous souhaitez protéger. Ce répertoire doit préexister." 
     1228 
    12251229#: ../admin/hta_add.php:39 ../admin/hta_add.php:36 
    12261230msgid "The folder must exists." 
Note: See TracChangeset for help on using the changeset viewer.