alecpl
2011-09-19 497013f4113b9a06d7f7ada711b3d92614df30f0
- Set style of login form inputs using class not IDs


2 files modified
8 ■■■■ changed files
program/include/rcube_template.php 6 ●●●● patch | view | raw | blame | history
skins/default/common.css 2 ●●● patch | view | raw | blame | history
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();
skins/default/common.css
@@ -738,7 +738,7 @@
  margin: auto;
}
#rcmloginuser, #rcmloginpwd, #rcmloginhost
#login-form table td.input input
{
  width: 200px;
}