From d739036eda31359b5f676d51884ba9d5923ee975 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Fri, 20 Oct 2017 15:53:43 +0200 Subject: [PATCH] Improve identities list structure in key create form --- plugins/enigma/lib/enigma_ui.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/enigma/lib/enigma_ui.php b/plugins/enigma/lib/enigma_ui.php index 714c0a6ad..7c3e78f9b 100644 --- a/plugins/enigma/lib/enigma_ui.php +++ b/plugins/enigma/lib/enigma_ui.php @@ -754,11 +754,11 @@ class enigma_ui $checkbox = new html_checkbox(array('name' => 'identity[]')); foreach ((array) $identities as $idx => $ident) { $name = empty($ident['name']) ? ($ident['email']) : $ident['ident']; - $identities[$idx] = html::label(null, $checkbox->show($name, array('value' => $name)) . rcube::Q($name)); + $identities[$idx] = html::tag('li', null, html::label(null, $checkbox->show($name, array('value' => $name)) . rcube::Q($name))); } $table->add('title', html::label('key-name', rcube::Q($this->enigma->gettext('newkeyident')))); - $table->add(null, implode($identities, "\n")); + $table->add(null, html::tag('ul', 'proplist', implode($identities, "\n"))); // Key size $select = new html_select(array('name' => 'size', 'id' => 'key-size'));