Anyone know how to get this to work with the latest roundcube release: 0.1-RC1.
I've added everything it says but it doesnt work. I've narrowed down the problem (I think anyway) to the additions made in main.inc.
Specifically:
/***** display user information *****/
function rcmail_user_display($attrib)
{
global $OUTPUT, $JS_OBJECT_NAME;
if (!$attrib['id'])
$attrib['id'] = 'rcmuserdisplay';
$OUTPUT->add_script(sprintf("%s.gui_object('userdisplay', '%s');", $JS_OBJECT_NAME, $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 = $_SESSION['username'];
$out .= '</span>';
return $out;
}
Any help would be appreciated.