diff --git a/include/class_tabs.inc b/include/class_tabs.inc
index 701631f4a51b30af1580aede32a08b95dc3e0d3b..8e2d42ca4861c77d3dd7305f14edb0c3610c4ce8 100644 (file)
--- a/include/class_tabs.inc
+++ b/include/class_tabs.inc
*/
function getCopyDialog()
{
- $ret = "";
- $this->SubDialog = false;
- foreach ($this->by_object as $key => $obj){
- if($obj->is_account){
- $tmp = $this->by_object[$key]->getCopyDialog();
- if($tmp['status'] == "SubDialog"){
- $this->SubDialog = true;
- return($tmp['string']);
- }else{
- $ret .= $tmp['string'];
- }
- }
- }
- return($ret);
+ $ret = "";
+ $this->SubDialog = false;
+ foreach ($this->by_object as $key => $obj){
+ if($obj->is_account){
+ $tmp = $this->by_object[$key]->getCopyDialog();
+ if($tmp['status'] == "SubDialog"){
+ $this->SubDialog = true;
+ return($tmp['string']);
+ }else{
+ if(!empty($tmp['string'])){
+ $ret .= $tmp['string'];
+ $ret .= "<p class='seperator'> </p>";
+ }
+ }
+ }
+ }
+ return($ret);
}
}
}
-
+// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
?>