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/profilesettings.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'actions/profilesettings.php') diff --git a/actions/profilesettings.php b/actions/profilesettings.php index c4c3ae0fc..e94d846bd 100644 --- a/actions/profilesettings.php +++ b/actions/profilesettings.php @@ -28,7 +28,14 @@ class ProfilesettingsAction extends SettingsAction { $profile = $user->getProfile(); common_show_header(_t('Profile settings')); $this->settings_menu(); - $this->message($msg, $success); + if ($msg) { + $this->message($msg, $success); + } else { + common_element('div', 'instructions', + _t('You can update your personal profile info here so people know more about you. ' . + 'Nickname must be 1-64 lowercase letters or numbers -- no punctuation or spaces. ' . + 'Full name, bio, and location can be whatever you want. Email address should be valid.')); + } common_element_start('form', array('method' => 'POST', 'id' => 'profilesettings', 'action' => -- cgit v1.2.3-54-g00ecf