From f81b4421fe225ef9ce5fa7cb01539e0ed4439c43 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 11 Jun 2008 12:33:08 -0400 Subject: instructions darcs-hash:20080611163308-84dde-c918f04fe6bba3dd382b822ef59cb70a57bb9504.gz --- actions/password.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'actions/password.php') diff --git a/actions/password.php b/actions/password.php index 8f770a969..fe19f5f71 100644 --- a/actions/password.php +++ b/actions/password.php @@ -26,7 +26,12 @@ class PasswordAction extends SettingsAction { function show_form($msg=NULL, $success=false) { common_show_header(_t('Change password')); $this->settings_menu(); - $this->message($msg, $success); + if ($msg) { + $this->message($msg, $success); + } else { + common_element('div', 'instructions', + _t('You can change your password here. Choose a good one!')); + } common_element_start('form', array('method' => 'POST', 'id' => 'password', 'action' => -- cgit v1.2.3-54-g00ecf