From bbafd62e79e5c70182c03a0b67e4db3f0d245002 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sat, 5 Nov 2005 15:49:01 +0000 Subject: [PATCH] decreased length of input fields --- lam/lib/modules/ldapPublicKey.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lam/lib/modules/ldapPublicKey.inc b/lam/lib/modules/ldapPublicKey.inc index ed30dd58..98c72ed7 100644 --- a/lam/lib/modules/ldapPublicKey.inc +++ b/lam/lib/modules/ldapPublicKey.inc @@ -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'));