From 27e925c49c9183c284a42b2604388a85a6f939e1 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 17 Aug 2005 08:10:03 +0000 Subject: [PATCH] Added number of conference to conferencelist git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1165 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../gofon/conference/class_phoneConferenceManagment.inc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/plugins/gofon/conference/class_phoneConferenceManagment.inc b/plugins/gofon/conference/class_phoneConferenceManagment.inc index 0c78457f1..720efc191 100644 --- a/plugins/gofon/conference/class_phoneConferenceManagment.inc +++ b/plugins/gofon/conference/class_phoneConferenceManagment.inc @@ -344,13 +344,20 @@ class phoneConferenceManagment extends plugin }else{ $pin = " "; } + + if(isset($conference['telephoneNumber'][0])){ + $number = " - ".$conference['telephoneNumber'][0]; + }else{ + $number = "  - ?"; + } + $ldap= $this->config->get_ldap_link(); $ldap->cd ($conference['goFonConferenceOwner'][0]); $data = $ldap->fetch($ldap->cat($conference['goFonConferenceOwner'][0])); $cn = $data['cn'][0]; $a_field1 = array("string"=>sprintf($userimg,_("Conference"))); - $a_field2 = array("string"=>sprintf($editlink,$conferencekey,$conference['cn'][0])); + $a_field2 = array("string"=>sprintf($editlink,$conferencekey,$conference['cn'][0].$number)); $a_field3 = array("string"=> $cn); $a_field4 = array("string"=> $pin); $a_field5 = array("string"=>preg_replace("/%KEY%/",$conferencekey,$actions)); -- 2.30.2