summaryrefslogtreecommitdiff
path: root/forum/utils/contacts.php
diff options
context:
space:
mode:
Diffstat (limited to 'forum/utils/contacts.php')
-rw-r--r--forum/utils/contacts.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/forum/utils/contacts.php b/forum/utils/contacts.php
index a83e3f5..7458108 100644
--- a/forum/utils/contacts.php
+++ b/forum/utils/contacts.php
@@ -130,13 +130,17 @@ class ContactGroup {
public function showshort()
{
+ global $client_is_mobile_device;
$ness = 0;
foreach($this->contacts as $contact) {
if($contact->essential) $ness += 1;
}
echo " <div class=\"contactgroup\">\n";
- echo " <div class=\"title\"><a href=\"?mode=addressbook&amp;gid=" . $this->gid . "\">" . $this->name . "</a> - ".sizeof($this->contacts)." contacts (". sprintf("%d", sizeof($this->contacts) - $ness)." hidden)</div>\n";
+ echo " <div class=\"title\"><a href=\"?mode=addressbook&amp;gid=" . $this->gid . "\">" . $this->name . "</a>";
+ if(!$client_is_mobile_device)
+ echo " - ".sizeof($this->contacts)." contacts (". sprintf("%d", sizeof($this->contacts) - $ness)." hidden)";
+ echo "</div>\n";
echo " <div class=\"contacts\">\n";
foreach($this->contacts as $contact) {
if($contact->essential) $contact->showshort();