From 497013f4113b9a06d7f7ada711b3d92614df30f0 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Mon, 19 Sep 2011 03:43:07 -0400 Subject: [PATCH] - Set style of login form inputs using class not IDs --- skins/default/common.css | 2 +- program/include/rcube_template.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/program/include/rcube_template.php b/program/include/rcube_template.php index 1ec8e7d..a26796b 100755 --- a/program/include/rcube_template.php +++ b/program/include/rcube_template.php @@ -1142,15 +1142,15 @@ $table = new html_table(array('cols' => 2)); $table->add('title', html::label('rcmloginuser', Q(rcube_label('username')))); - $table->add(null, $input_user->show(get_input_value('_user', RCUBE_INPUT_GPC))); + $table->add('input', $input_user->show(get_input_value('_user', RCUBE_INPUT_GPC))); $table->add('title', html::label('rcmloginpwd', Q(rcube_label('password')))); - $table->add(null, $input_pass->show()); + $table->add('input', $input_pass->show()); // add host selection row if (is_object($input_host) && !$hide_host) { $table->add('title', html::label('rcmloginhost', Q(rcube_label('server')))); - $table->add(null, $input_host->show(get_input_value('_host', RCUBE_INPUT_GPC))); + $table->add('input', $input_host->show(get_input_value('_host', RCUBE_INPUT_GPC))); } $out = $input_task->show(); diff --git a/skins/default/common.css b/skins/default/common.css index f5b1d3d..4b25676 100644 --- a/skins/default/common.css +++ b/skins/default/common.css @@ -738,7 +738,7 @@ margin: auto; } -#rcmloginuser, #rcmloginpwd, #rcmloginhost +#login-form table td.input input { width: 200px; } -- Gitblit v1.9.1