Changeset 7228 for branches/2.4/expressoAdmin1_2/inc
- Timestamp:
- 09/17/12 14:30:47 (12 years ago)
- Location:
- branches/2.4
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.4
- Property svn:mergeinfo changed
-
branches/2.4/expressoAdmin1_2/inc/class.bosectors.inc.php
r6754 r7228 53 53 $sector_info['diskQuota'] = isset($_POST['disk_quota']) ? (int)$_POST['disk_quota'] : 0; 54 54 $sector_info['usersQuota'] = isset($_POST['users_quota']) ? (int)$_POST['users_quota'] : 0; 55 56 if( isset($_POST['associated_domain']) ) 57 { 58 if ( $_POST['associated_domain'] != "") { 59 $sector_info['objectClass'][] = 'domainRelatedObject'; 60 $sector_info['associatedDomain'] = trim($_POST['associated_domain']); 61 } 62 } 55 63 56 64 $systemName = $GLOBALS['phpgw_info']['server']['system_name']; -
branches/2.4/expressoAdmin1_2/inc/class.ldap_functions.inc.php
r6096 r7228 835 835 836 836 $filter = "(&(phpgwAccountType=u)(cpf=$cpf))"; 837 $justthese = array("cn","uid" );837 $justthese = array("cn","uid" ,"mail"); 838 838 $search = ldap_search($local_ldap_connection, $context, $filter, $justthese); 839 839 $entries = ldap_get_entries($local_ldap_connection,$search); … … 847 847 { 848 848 if (strcasecmp($uid, $entries[$i]['uid'][0]) != 0) 849 $result['question'] .= "- " . $entries[$i]['cn'][0] . "\n";849 $result['question'] .= "- " . $entries[$i]['cn'][0] ." - ".$entries[$i]['uid'][0] ." - ".$entries[$i]['mail'][0] . "\n"; 850 850 } 851 851 $result['question'] .= $this->functions->lang("Do you want to continue anyway") . "?"; … … 2913 2913 2914 2914 return $return; 2915 } 2916 2917 2915 } 2918 2916 2919 2917 } -
branches/2.4/expressoAdmin1_2/inc/class.uimaillists.inc.php
r6157 r7228 265 265 else 266 266 { 267 $mail_not_found .= "<option value=" . $mail . ">" . utf8_decode($cn) . " (" . $array_users_uid[$mail] . ")</option>";267 $mail_not_found .= "<option value=" . $mail . ">" . $array_users_uid[$mail] . "</option>"; 268 268 } 269 269 } … … 271 271 if ($mail_not_found != '') 272 272 { 273 $opt_tmp_mail_not_found = '<option value="-1" disabled>-------------------- '.lang('e mails did not find').' ------------------ </option>'."\n";273 $opt_tmp_mail_not_found = '<option value="-1" disabled>-------------------- '.lang('external users').' ------------------ </option>'."\n"; 274 274 $ea_select_usersInMaillist .= $opt_tmp_mail_not_found . $mail_not_found; 275 275 } -
branches/2.4/expressoAdmin1_2/inc/class.uisectors.inc.php
r6754 r7228 192 192 'context' => $context == '' ? $GLOBALS['phpgw_info']['server']['ldap_context'] : $context, 193 193 'sector' => $_POST['sector'], 194 'associated_domain' => $_POST['associated_domain'], 194 195 'disk_quota' => $_POST['disk_quota'], 195 196 'users_quota' => $_POST['users_quota'], 196 197 'manager_org' => $combo_manager_org, 197 198 'sector_visible_checked'=> $_POST['sector_visible'] ? 'checked' : '', … … 256 257 { 257 258 $sector_info = $this->so->get_info($_GET['context']); 258 $sector_disk_quota = $sector_info[0]['diskquota'][0]; 259 $sector_users_quota = $sector_info[0]['usersquota'][0]; 259 $sector_disk_quota = $sector_info[0]['diskquota'][0]; 260 $sector_users_quota = $sector_info[0]['usersquota'][0]; 261 $sector_associated_domain = $sector_info[0]['associateddomain'][0]; 260 262 $_POST['sector_visible'] = $sector_info[0]['phpgwaccountvisible'][0]; 261 263 } … … 270 272 'manager_org' => $combo_manager_org, 271 273 'sector_visible_checked'=> $_POST['sector_visible'] ? 'checked' : '', 272 273 274 274 'disk_quota' => $_POST['disk_quota'] == '' ? $sector_disk_quota : $_POST['disk_quota'], 275 'users_quota' => $_POST['users_quota'] == '' ? $sector_users_quota : $_POST['users_quota'], 276 'associated_domain' => $_POST['associated_domain'] == '' ? $sector_associated_domain : $_POST['associated_domain'], 275 277 'lang_add' => lang('Add'), 276 278 'disable' => 'disabled', -
branches/2.4/expressoAdmin1_2/inc/class.user.inc.php
r6754 r7228 79 79 80 80 // Cria array para incluir no LDAP 81 $dn = 'uid=' . $params['uid'] . ',' . $params['context']; 82 83 $user_info = array(); 81 $dn = 'uid=' . $params['uid'] . ',' . $params['context']; 82 83 ob_start(); 84 print_r($params); 85 $output = ob_get_clean(); 86 file_put_contents( "/tmp/acoutinho.log", $output , FILE_APPEND); 87 88 89 $user_info = array(); 84 90 $user_info['accountStatus'] = $params['accountstatus'] == 1 ? 'active' : 'desactive'; 85 91 $user_info['cn'] = $params['givenname'] . ' ' . $params['sn'];
Note: See TracChangeset
for help on using the changeset viewer.