Changeset 2583 in subversion
- Timestamp:
- May 31, 2009 7:40:07 AM (4 years ago)
- Location:
- trunk/roundcubemail/plugins
- Files:
-
- 2 edited
-
password/password.php (modified) (2 diffs)
-
sasl_password/sasl_password.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/plugins/password/password.php
r2492 r2583 91 91 $this->register_action('plugin.password', array($this, 'password_init')); 92 92 $this->register_action('plugin.password-save', array($this, 'password_save')); 93 $this->include_script('password.js'); 94 } 95 96 function password_init() 97 { 98 $this->add_texts('localization/'); 93 99 $this->register_handler('plugin.body', array($this, 'password_form')); 94 $this->include_script('password.js'); 95 } 96 97 function password_init() 98 { 99 $this->add_texts('localization/'); 100 100 101 $rcmail = rcmail::get_instance(); 101 102 $rcmail->output->set_pagetitle($this->gettext('changepasswd')); … … 108 109 109 110 $this->add_texts('localization/'); 111 $this->register_handler('plugin.body', array($this, 'password_form')); 112 $rcmail->output->set_pagetitle($this->gettext('changepasswd')); 113 110 114 $confirm = $rcmail->config->get('password_confirm_current'); 111 $rcmail->output->set_pagetitle($this->gettext('changepasswd'));112 115 113 116 if (($confirm && !isset($_POST['_curpasswd'])) || !isset($_POST['_newpasswd'])) -
trunk/roundcubemail/plugins/sasl_password/sasl_password.php
r2491 r2583 27 27 $this->register_action('plugin.saslpassword', array($this, 'password_init')); 28 28 $this->register_action('plugin.saslpassword-save', array($this, 'password_save')); 29 $this->register_handler('plugin.body', array($this, 'password_form'));30 29 $this->include_script('sasl_password.js'); 31 30 } … … 34 33 { 35 34 $this->add_texts('locale/'); 35 $this->register_handler('plugin.body', array($this, 'password_form')); 36 36 37 $rcmail = rcmail::get_instance(); 37 38 $rcmail->output->set_pagetitle($this->gettext('changepasswd')); … … 44 45 45 46 $this->add_texts('locale/'); 47 $this->register_handler('plugin.body', array($this, 'password_form')); 46 48 47 49 if (!isset($_POST['_curpasswd']) || !isset($_POST['_newpasswd'])) {
Note: See TracChangeset
for help on using the changeset viewer.
