Code

Added number of conference to conferencelist
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 17 Aug 2005 08:10:03 +0000 (08:10 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 17 Aug 2005 08:10:03 +0000 (08:10 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1165 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/gofon/conference/class_phoneConferenceManagment.inc

index 0c78457f10fb967a8fba9c0f115ebd65e9ee757d..720efc191632d0f3f09a665545ee2647b5482e27 100644 (file)
@@ -344,13 +344,20 @@ class phoneConferenceManagment extends plugin
       }else{
         $pin = "&nbsp;";
       }
+
+      if(isset($conference['telephoneNumber'][0])){
+        $number = " - ".$conference['telephoneNumber'][0];
+      }else{
+        $number = "&nbsp; - ?";
+      }
+
       $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));