Changeset 77
- Timestamp:
- 10/03/07 10:13:32 (17 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/instant_messenger/inc/class.contacts_im.inc.php
r68 r77 70 70 $uid_unique = @array_values(@array_unique($ordenar)); 71 71 72 foreach($uid_unique as $tmp){ 72 foreach($uid_unique as $tmp) 73 { 73 74 $result = explode(";",$tmp); 74 if($result[3] == $param['ou']){ 75 if(strtolower($result[3]) == strtolower($param['ou'])) 76 { 75 77 $return[$i]['cn'] = $result[0]; 76 78 $return[$i]['mail'] = $result[1]; -
trunk/instant_messenger/js/im_functions.js
r76 r77 89 89 document.getElementById('div_contacts').innerHTML = '<div><img src="' + img_wait.src + '" width="25px" heigth="25px" style="float:left;margin:3px "/>'; 90 90 document.getElementById('div_contacts').innerHTML += '<font style="color:#0000FF;float:left;margin:9px 5px">' + _this.get_lang("Wait a moment !!") + '</font></div>'; 91 _this.load_im();91 setTimeout('IM.load_im()',2000); 92 92 _this.count_Vcard = 0; 93 93 _this.ImgStatus('available'); -
trunk/instant_messenger/js/im_win.js
r76 r77 79 79 var main_menu_head_name_lable = func.newEl('span'); 80 80 func.confEl(main_menu_head_name_lable,'style','margin: 3px;'); 81 main_menu_head_name_lable.innerHTML = "Nickname ";81 main_menu_head_name_lable.innerHTML = IM.get_lang('Nickname'); 82 82 83 83 var br1 = func.newEl('br'); -
trunk/preferences/changepassword.php
r72 r77 87 87 { 88 88 $errors[] = lang('Your password must contain %1 or more letters', $GLOBALS['phpgw_info']['server']['num_letters_userpass']); 89 } 90 # password that start with a-Z or 0-9 and contain _.-!@#$%&*+=| will be accepted. 91 //else if (! ereg ("(^[a-zA-Z0-9_.\-\!@#$%&*+=|]*)$", $n_passwd ) ) 92 //else if (! ereg ("(^[a-zA-Z0-9_.\-\!@#$%&*+=|\(\)\^\~\}\{\[\]\/\\\"\'\:\;\?]*)$", $n_passwd ) ) 93 else if (! ereg ("([]^[a-zA-Z0-9\_\.\-\!\@\#\$\%\&\*\+\=\|\(\)\^\~\}\{\/\\\"\'\:\;\?]*)$", $n_passwd ) ) 94 { 95 $errors[] = lang('Your password contains characters not allowed'); 96 } 97 # password must contain 2 special letters, numbers or special characters 98 //else if ($GLOBALS['phpgw_info']['server']['num_special_letters_userpass'] && ! ereg ("([0-9_.\-!@#$%&*+=|]){".$GLOBALS['phpgw_info']['server']['num_special_letters_userpass'].",}", $n_passwd ) ) 99 //else if ($GLOBALS['phpgw_info']['server']['num_special_letters_userpass'] && ! ereg ("([0-9_.\-!@#$%&*+=|\(\)\^\~\}\{\[\]\/\\\"\'\:\;\?]){".$GLOBALS['phpgw_info']['server']['num_special_letters_userpass']."}", $n_passwd ) ) 100 else if ($GLOBALS['phpgw_info']['server']['num_special_letters_userpass'] && ! ereg ("([][0-9\_\.\-\!\@\#\$\%\&\*\+\=\|\(\)\^\~\}\{\/\\\"\'\:\;\?]){".$GLOBALS['phpgw_info']['server']['num_special_letters_userpass']."}", $n_passwd ) ) 89 } 90 91 // Special Letters 92 $speccial_letter = 0; 93 for ($i=0; $i<strlen($n_passwd); $i++) 94 { 95 $letter = $n_passwd[$i]; 96 if (! ereg ("[a-zA-Z]", $letter ) ) 97 $speccial_letter++; 98 } 99 if ($speccial_letter < $GLOBALS['phpgw_info']['server']['num_special_letters_userpass']) 101 100 { 102 101 $errors[] = lang('Your password must contain at least %1 numbers or characters special', $GLOBALS['phpgw_info']['server']['num_special_letters_userpass']);
Note: See TracChangeset
for help on using the changeset viewer.