Changeset 2698
- Timestamp:
- 05/24/10 13:40:39 (3 years ago)
- Location:
- alternc/trunk/bureau
- Files:
-
- 2 edited
-
class/m_dom.php (modified) (2 diffs)
-
locales/fr_FR/LC_MESSAGES/messages.po (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
alternc/trunk/bureau/class/m_dom.php
r2677 r2698 71 71 var $type_ip = "2"; 72 72 var $type_webmail = "3"; 73 var $type_cname = "4"; // TODO : implement this ;)74 var $type_ns = "5"; // TODO : implement this ;)75 73 76 74 var $action_insert = "0"; … … 978 976 * Returns the complete hosted domain list : 979 977 */ 980 function get_domain_list( ) {978 function get_domain_list($uid=-1) { 981 979 global $db,$err; 980 $uid=intval($uid); 982 981 $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"); 984 986 while ($db->next_record()) { 985 987 $res[]=$db->f("domaine"); -
alternc/trunk/bureau/locales/fr_FR/LC_MESSAGES/messages.po
r2695 r2698 1223 1223 msgstr "Protéger un répertoire" 1224 1224 1225 #: ../admin/hta_add.php:39 ../admin/hta_add.php:38 1226 msgid "Enter the name of the folder you want to protect. It must already exists." 1227 msgstr "Choisir le répertoire que vous souhaitez protéger. Ce répertoire doit préexister." 1228 1225 1229 #: ../admin/hta_add.php:39 ../admin/hta_add.php:36 1226 1230 msgid "The folder must exists."
Note: See TracChangeset
for help on using the changeset viewer.
