Changeset 4237 for trunk/licqweb
- Timestamp:
- 09/30/05 07:43:06 (3 years ago)
- Location:
- trunk/licqweb
- Files:
-
- 3 added
- 2 modified
-
images/aim.away.png (added)
-
images/aim.offline.png (added)
-
images/aim.online.png (added)
-
index.php (modified) (1 diff)
-
licqweb.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/licqweb/index.php
r4234 r4237 39 39 } 40 40 41 echo "<div class=\"news\"><div class=\"bar\">News</div>".$str."</div>\n";41 echo "<div id=\"newsid\" class=\"news\"><div class=\"bar\">News</div>".$str."</div>\n"; 42 42 ?> 43 43 </body> -
trunk/licqweb/licqweb.js
r4226 r4237 154 154 } 155 155 contacthtml = ""; 156 var aimLower = 'abcdefghijklmnopqrstuvwxyz'; 157 var aimUpper = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'; 156 158 for (var status in statuss) { 157 159 j = sortedContacts[status].length; … … 159 161 var contact = sortedContacts[status][i]; 160 162 var uclass = contact.status; 161 var imgsrc = "images/" + contact.pp.toLowerCase() + "." + contact.status.toLowerCase() + ".png"; 163 var pp = ""; 164 if (contact.pp.toLowerCase() == "licq" && 165 (aimLower.indexOf(contact.id.charAt(0), 0) != -1 || 166 aimUpper.indexOf(contact.id.charAt(0), 0) != -1)){ 167 168 pp = "aim"; 169 } 170 else { 171 pp = contact.pp.toLowerCase(); 172 } 173 174 var imgsrc = "images/" + pp + "." + contact.status.toLowerCase() + ".png"; 162 175 if (parseInt(contact.nummsgs) > 0) { 163 176 uclass = "newmessage"; … … 394 407 xmlhttp.send(null); 395 408 document.getElementById('login').style.display = 'none'; 409 document.getElementById('newsid').style.display = 'none'; 396 410 document.getElementById('contactList').style.display = 'block'; 397 411 }
