summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b659e0e)
raw | patch | inline | side by side (parent: b659e0e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 17 Aug 2005 07:55:25 +0000 (07:55 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 17 Aug 2005 07:55:25 +0000 (07:55 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1164 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/gofon/conference/class_phoneConferenceManagment.inc | patch | blob | history |
diff --git a/plugins/gofon/conference/class_phoneConferenceManagment.inc b/plugins/gofon/conference/class_phoneConferenceManagment.inc
index d36d79d607558fcb4e3df9587cc73e0390f2dcfc..0c78457f10fb967a8fba9c0f115ebd65e9ee757d 100644 (file)
} else {
show_errors($message);
}
+ $this->reload();
}
/* if edit or new, show dialog */
$divlist->SetHeader(array(
array("string" => " "),
array("string" =>_("Name / nummer")),
+ array("string" => _("Owner")),
+ array("string" => _("PIN")),
array("string" =>_("Actions"), "attach" => "style='text-align: right;border:none'")));
/* Insert departments in divlist*/
/* Prepare and insert fields*/
$a_field1 = array("string" => "<img src='images/".$non_empty."folder.png' alt='department'>","attach"=>"style='width:22px;'");
$a_field2 = array("string" => sprintf($linkopen,base64_encode($key),$val));
- $a_field3 = array("string" => " ", "attach" => "style='border:none;width:60px;'");
+ $a_field3 = array("string" => " ");
+ $a_field4 = array("string" => " ");
+ $a_field5 = array("string" => " ", "attach" => "style='border:none;width:60px;'");
/* Add entries */
- $divlist->AddEntry(array($a_field1,$a_field2,$a_field3));
+ $divlist->AddEntry(array($a_field1,$a_field2,$a_field3,$a_field4,$a_field5));
}
/* Image shown in divlist */
/* Insert conferneces*/
foreach($this->conferences as $conferencekey => $conference ){
+
+ if(isset($conference['goFonPIN'][0])){
+ $pin = $conference['goFonPIN'][0];
+ }else{
+ $pin = " ";
+ }
+ $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_field3 = array("string"=>preg_replace("/%KEY%/",$conferencekey,$actions));
- $divlist->AddEntry(array($a_field1,$a_field2,$a_field3));
+ $a_field3 = array("string"=> $cn);
+ $a_field4 = array("string"=> $pin);
+ $a_field5 = array("string"=>preg_replace("/%KEY%/",$conferencekey,$actions));
+ $divlist->AddEntry(array($a_field1,$a_field2,$a_field3,$a_field4,$a_field5));
}
$smarty->assign("search_image", get_template_path('images/search.png'));