decreased length of input fields
This commit is contained in:
parent
e64abeedb9
commit
bbafd62e79
|
@ -126,14 +126,14 @@ class ldapPublicKey extends baseModule {
|
|||
for ($i = 0; $i < sizeof($this->attributes['sshPublicKey']); $i++) {
|
||||
$return[] = array(
|
||||
0 => array('kind' => 'text', 'text' => _('SSH public key')),
|
||||
1 => array('kind' => 'input', 'name' => 'sshPublicKey' . $i, 'type' => 'text', 'size' => '100', 'maxlength' => '2048', 'value' => $this->attributes['sshPublicKey'][$i]),
|
||||
1 => array('kind' => 'input', 'name' => 'sshPublicKey' . $i, 'type' => 'text', 'size' => '50', 'maxlength' => '2048', 'value' => $this->attributes['sshPublicKey'][$i]),
|
||||
2 => array('kind' => 'input', 'type' => 'submit', 'name' => 'delKey' . $i, 'value' => _("Remove")),
|
||||
3 => array('kind' => 'help', 'value' => 'key'));
|
||||
}
|
||||
// input box for new key
|
||||
$return[] = array(
|
||||
0 => array('kind' => 'text', 'text' => _('New SSH public key')),
|
||||
1 => array('kind' => 'input', 'name' => 'sshPublicKey', 'type' => 'text', 'size' => '100', 'maxlength' => '2048', 'value' => ''),
|
||||
1 => array('kind' => 'input', 'name' => 'sshPublicKey', 'type' => 'text', 'size' => '50', 'maxlength' => '2048', 'value' => ''),
|
||||
2 => array('kind' => 'input', 'type' => 'submit', 'name' => 'addKey', 'value' => _("Add")),
|
||||
3 => array('kind' => 'help', 'value' => 'key'),
|
||||
4 => array('kind' => 'input', 'type' => 'hidden', 'value' => sizeof($this->attributes['sshPublicKey']), 'name' => 'key_number'));
|
||||
|
|
Loading…
Reference in New Issue