|
|
@ -46,7 +46,7 @@ class userinfo extends rcube_plugin |
|
|
|
|
|
|
|
$table = new html_table(array('cols' => 2, 'class' => 'propform')); |
|
|
|
|
|
|
|
$table->add('title', html::label('', 'ID')); |
|
|
|
$table->add('title', html::label('', rcube::Q($this->gettext('userid')))); |
|
|
|
$table->add('', rcube::Q($user->ID)); |
|
|
|
|
|
|
|
$table->add('title', html::label('', rcube::Q($this->gettext('username')))); |
|
|
@ -64,7 +64,7 @@ class userinfo extends rcube_plugin |
|
|
|
$table->add('title', html::label('', rcube::Q($this->gettext('defaultidentity')))); |
|
|
|
$table->add('', rcube::Q($identity['name'] . ' <' . $identity['email'] . '>')); |
|
|
|
|
|
|
|
$legend = rcube::Q('Infos for ' . $user->get_username()); |
|
|
|
$legend = rcube::Q($this->gettext(array('name' => 'infoforuser', 'vars' => array('user' => $user->get_username())))); |
|
|
|
$out = html::tag('fieldset', '', html::tag('legend', '', $legend) . $table->show()); |
|
|
|
|
|
|
|
return html::div(array('class' => 'box formcontent'), |
|
|
|