diff options
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/new_user_dialog/new_user_dialog.php | 31 | ||||
| -rw-r--r-- | plugins/new_user_dialog/package.xml | 25 |
2 files changed, 45 insertions, 11 deletions
diff --git a/plugins/new_user_dialog/new_user_dialog.php b/plugins/new_user_dialog/new_user_dialog.php index f5881f669..828e66b51 100644 --- a/plugins/new_user_dialog/new_user_dialog.php +++ b/plugins/new_user_dialog/new_user_dialog.php @@ -52,24 +52,41 @@ class new_user_dialog extends rcube_plugin $table = new html_table(array('cols' => 2)); $table->add('title', $this->gettext('name')); - $table->add(null, html::tag('input', array('type' => "text", 'name' => "_name", 'value' => $identity['name']))); + $table->add(null, html::tag('input', array( + 'type' => 'text', + 'name' => '_name', + 'value' => $identity['name'] + ))); $table->add('title', $this->gettext('email')); - $table->add(null, html::tag('input', array('type' => "text", 'name' => "_email", 'value' => $identity['email'], 'disabled' => ($identities_level == 1 || $identities_level == 3)))); + $table->add(null, html::tag('input', array( + 'type' => 'text', + 'name' => '_email', + 'value' => $identity['email'], + 'disabled' => ($identities_level == 1 || $identities_level == 3) + ))); // add overlay input box to html page - $rcmail->output->add_footer(html::div(array('id' => "newuseroverlay"), + $rcmail->output->add_footer(html::div(array('id' => 'newuseroverlay'), html::tag('form', array( 'action' => $rcmail->url('plugin.newusersave'), - 'method' => "post"), + 'method' => 'post'), html::tag('h3', null, Q($this->gettext('identitydialogtitle'))) . html::p('hint', Q($this->gettext('identitydialoghint'))) . $table->show() . - html::p(array('class' => "formbuttons"), - html::tag('input', array('type' => "submit", 'class' => "button mainaction", 'value' => $this->gettext('save')))) + html::p(array('class' => 'formbuttons'), + html::tag('input', array('type' => 'submit', + 'class' => 'button mainaction', 'value' => $this->gettext('save')))) ) )); - + + // disable keyboard events for messages list (#1486726) + $rcmail->output->add_script( + "$(document).ready(function () { + rcmail.message_list.key_press = function(){}; + rcmail.message_list.key_down = function(){}; + });", 'foot'); + $this->include_stylesheet('newuserdialog.css'); } } diff --git a/plugins/new_user_dialog/package.xml b/plugins/new_user_dialog/package.xml index cb0bc1644..0ebee36e3 100644 --- a/plugins/new_user_dialog/package.xml +++ b/plugins/new_user_dialog/package.xml @@ -13,10 +13,10 @@ <email>roundcube@gmail.com</email> <active>yes</active> </lead> - <date>2010-03-29</date> - <time>13:20:00</time> + <date>2010-05-13</date> + <time>19:35:00</time> <version> - <release>1.0</release> + <release>1.1</release> <api>1.0</api> </version> <stability> @@ -24,7 +24,9 @@ <api>stable</api> </stability> <license uri="http://www.gnu.org/licenses/gpl-2.0.html">GNU GPLv2</license> - <notes>-</notes> + <notes> +- Fix space bar and backspace buttons not working (#1486726) + </notes> <contents> <dir baseinstalldir="/" name="/"> <file name="new_user_dialog.php" role="php"> @@ -62,4 +64,19 @@ </required> </dependencies> <phprelease/> + <changelog> + <release> + <date>2010-03-29</date> + <time>13:20:00</time> + <version> + <release>1.0</release> + <api>1.0</api> + </version> + <stability> + <release>stable</release> + <api>stable</api> + </stability> + <license uri="http://www.gnu.org/licenses/gpl-2.0.html">GNU GPLv2</license> + </release> + </changelog> </package> |
