alecpl
2008-10-07 2727053c61cac4a37a76b9e58e607acff7fc8dfb
program/steps/addressbook/func.inc
@@ -114,7 +114,7 @@
  $OUTPUT->include_script('list.js');
  
  // add some labels to client
  rcube_add_label('deletecontactconfirm');
  $OUTPUT->add_label('deletecontactconfirm');
  
  return $out;
  }
@@ -152,11 +152,11 @@
    $attrib['id'] = 'rcmcontactframe';
    
  $attrib['name'] = $attrib['id'];
  $attrib_str = create_attrib_string($attrib, array('name', 'id', 'class', 'style', 'src', 'width', 'height', 'frameborder'));
  $OUTPUT->set_env('contentframe', $attrib['name']);
  $OUTPUT->set_env('blankpage', $attrib['src'] ? $OUTPUT->abs_url($attrib['src']) : 'program/blank.gif');
  return '<iframe'. $attrib_str . '></iframe>';
  return html::iframe($attrib);
  }
@@ -169,13 +169,7 @@
  $OUTPUT->add_gui_object('countdisplay', $attrib['id']);
  // allow the following attributes to be added to the <span> tag
  $attrib_str = create_attrib_string($attrib, array('style', 'class', 'id'));
  $out = '<span' . $attrib_str . '>';
  $out .= rcmail_get_rowcount_text();
  $out .= '</span>';
  return $out;
  return html::span($attrib, rcmail_get_rowcount_text());
  }
@@ -203,6 +197,7 @@
  return $out;
  }
$OUTPUT->set_pagetitle(rcube_label('addressbook'));
  
// register UI objects