Changeset 2492 in subversion
- Timestamp:
- May 16, 2009 10:28:47 AM (4 years ago)
- Location:
- trunk/roundcubemail/plugins/password
- Files:
-
- 1 added
- 2 edited
-
localization/hu_HU.inc (added)
-
password.js (modified) (1 diff)
-
password.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/plugins/password/password.js
r2401 r2492 34 34 }, true); 35 35 }) 36 37 // set page title38 if (rcmail.env.action == 'plugin.password' && rcmail.env.task == 'settings') {39 var title = rcmail.gettext('changepasswd','password')40 if (rcmail.env.product_name)41 title = rcmail.env.product_name + ' :: ' + title;42 rcmail.set_pagetitle(title);43 }44 36 } -
trunk/roundcubemail/plugins/password/password.php
r2491 r2492 98 98 { 99 99 $this->add_texts('localization/'); 100 rcmail::get_instance()->output->send('plugin'); 100 $rcmail = rcmail::get_instance(); 101 $rcmail->output->set_pagetitle($this->gettext('changepasswd')); 102 $rcmail->output->send('plugin'); 101 103 } 102 104 … … 105 107 $rcmail = rcmail::get_instance(); 106 108 109 $this->add_texts('localization/'); 107 110 $confirm = $rcmail->config->get('password_confirm_current'); 108 $ this->add_texts('localization/');111 $rcmail->output->set_pagetitle($this->gettext('changepasswd')); 109 112 110 113 if (($confirm && !isset($_POST['_curpasswd'])) || !isset($_POST['_newpasswd'])) … … 124 127 125 128 rcmail_overwrite_action('plugin.password'); 126 rcmail::get_instance()->output->send('plugin');129 $rcmail->output->send('plugin'); 127 130 } 128 131 … … 136 139 'password.nopassword', 137 140 'password.nocurpassword', 138 'password.passwordinconsistency', 139 'password.changepasswd' 141 'password.passwordinconsistency' 140 142 ); 141 // $rcmail->output->set_pagetitle($this->gettext('changepasswd')); 143 142 144 $rcmail->output->set_env('product_name', $rcmail->config->get('product_name')); 143 145
Note: See TracChangeset
for help on using the changeset viewer.
