/* the form was submitted, go for it */
if(sqgetGlobalVar('cpw_go', $cpw_go, SQ_POST)) {
-
- // SM14 code: use change_password gettext domain binding for 1.4.x
- if (! check_sm_version(1,5,0)) {
- bindtextdomain('change_password',SM_PATH . 'locale');
- textdomain('change_password');
- }
-
/* perform basic checks */
$Messages = cpw_check_input();
if(count($Messages) == 0) {
$Messages = cpw_do_change();
}
-
- // SM14 code: use change_password gettext domain binding for 1.4.x
- if (! check_sm_version(1,5,0)) {
- bindtextdomain('squirrelmail',SM_PATH . 'locale');
- textdomain('squirrelmail');
- }
}
displayPageHeader($color, 'None');
-// SM14 code: use change_password gettext domain binding for 1.4.x
-if (! check_sm_version(1,5,0)) {
- bindtextdomain('change_password',SM_PATH . 'locale');
- textdomain('change_password');
-}
-
-do_hook('change_password_init');
+do_hook('change_password_init', $null);
?>
<br />
</form>
</td></tr>
</table>
-</body></html>
\ No newline at end of file
+</body></html>