From 3b5656db543462ec1f126d0d97b1ee1ba25c782e Mon Sep 17 00:00:00 2001 From: deva Date: Sun, 26 Oct 2008 20:53:16 +0000 Subject: Added no-cache pragma. Fixed indentation in forum code. --- forum/utils/contacts.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'forum/utils/contacts.php') 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 "
\n"; - echo "
gid . "\">" . $this->name . " - ".sizeof($this->contacts)." contacts (". sprintf("%d", sizeof($this->contacts) - $ness)." hidden)
\n"; + echo "
gid . "\">" . $this->name . ""; + if(!$client_is_mobile_device) + echo " - ".sizeof($this->contacts)." contacts (". sprintf("%d", sizeof($this->contacts) - $ness)." hidden)"; + echo "
\n"; echo "
\n"; foreach($this->contacts as $contact) { if($contact->essential) $contact->showshort(); -- cgit v1.2.3