From: hickert Date: Tue, 23 May 2006 10:44:26 +0000 (+0000) Subject: Added title to conferences X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=98861a97b2a4b5471cfe921feec64a566e31212b;p=gosa.git Added title to conferences git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3507 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/gofon/conference/class_divListConferences.inc b/plugins/gofon/conference/class_divListConferences.inc index 8b5fdc1cc..cc3ee6470 100755 --- a/plugins/gofon/conference/class_divListConferences.inc +++ b/plugins/gofon/conference/class_divListConferences.inc @@ -130,22 +130,24 @@ class divListConference extends MultiSelectWindow $data = $ldap->fetch(); $cn = $data['cn'][0]; - $a_field1 = array("string"=>sprintf($userimg,_("Conference")), "attach" => "style='text-align:center;width:20px;'"); + $title = " title='".preg_replace("/ /"," ",@LDAP::fix($data['dn']))."' "; + + $a_field1 = array("string"=>sprintf($userimg,_("Conference")), "attach" => $title." style='text-align:center;width:20px;'"); if(($this->parent->acl=="#all#")||(($this->parent->ui->dn==$conference['goFonConferenceOwner'][0])&&(chkacl($this->parent->acl,"goFonConferenceOwner")==""))){ - $a_field2 = array("string"=>sprintf($editlink,$conferencekey,$conference['cn'][0].$number), "attach" => "style=''"); + $a_field2 = array("string"=>sprintf($editlink,$conferencekey,$conference['cn'][0].$number), "attach" => $title." style=''"); }else{ - $a_field2 = array("string"=>$conference['cn'][0].$number, "attach" => "style=''"); + $a_field2 = array("string"=>$conference['cn'][0].$number, "attach" => $title." style=''"); } - $a_field3 = array("string"=> $cn, "attach" => "style='width:200px;'"); - $a_field4 = array("string"=> $pin, "attach" => "style='width:50px;'"); + $a_field3 = array("string"=> $cn, "attach" => $title." style='width:200px;'"); + $a_field4 = array("string"=> $pin, "attach" => $title." style='width:50px;'"); if(($this->parent->ui->dn==$conference['goFonConferenceOwner'][0])&&(chkacl($this->parent->acl,"goFonConferenceOwner")=="")){ - $a_field5 = array("string"=>preg_replace("/%KEY%/",$conferencekey,$actions), "attach" => "style='width:60px;border-right:0px;text-align:right;'"); + $a_field5 = array("string"=>preg_replace("/%KEY%/",$conferencekey,$actions), "attach" => $title."style='width:60px;border-right:0px;text-align:right;'"); }elseif(chkacl($this->acl,"goFonConferenceOwner")==""){ - $a_field5 = array("string"=>preg_replace("/%KEY%/",$conferencekey,$actions2), "attach" => "style='width:52px;border-right:0px;text-align:right;'"); + $a_field5 = array("string"=>preg_replace("/%KEY%/",$conferencekey,$actions2), "attach" => $title."style='width:52px;border-right:0px;text-align:right;'"); }else{ - $a_field5 = array("string"=>" ", "attach" => "style='width:52px;border-right:0px;text-align:right;'"); + $a_field5 = array("string"=>" ", "attach" => $title."style='width:52px;border-right:0px;text-align:right;'"); } $this->AddElement(array($a_field1,$a_field2,$a_field3,$a_field4,$a_field5));