<% if (MM.util.wsAvailable('local_mobile_core_message_search_contacts')) { %>
<% } %>
<% var types = ["online", "offline", "blocked", "strangers"]; %> <% var displayed = []; %> <% types.forEach(function(type) { %>

<% if (type == "online") { %> <%= MM.lang.s("onlinecontacts", "core", contacts[type].length) %> <% } else if (type == "offline") { %> <%= MM.lang.s("offlinecontacts", "core", contacts[type].length) %> <% } else if (type == "blocked") { %> <%= MM.lang.s("blockedusers", "core", contacts[type].length) %> <% } else { %> <%= MM.lang.s("others") %> <% } %>

<% }); %>