Skip to content
Snippets Groups Projects
Commit 4cb79657 authored by Matthias Grimm's avatar Matthias Grimm
Browse files

profile change feedback

This pathc adds a feedback for the user after changing his/her
profile and the profile dialog will be closed.

darcs-hash:20051111170122-4145d-8b04e5078ac5f7f5bff2309d55002232e67f344a.gz
parent 5beae5da
No related branches found
No related tags found
No related merge requests found
......@@ -53,6 +53,8 @@ function act_dispatch(){
//update user profile
if (($ACT == 'profile') && updateprofile()) {
msg($lang['profchanged'],1);
$ACT = 'show';
}
//save
......
......@@ -903,7 +903,7 @@ function html_updateprofile(){
</label><br />
<?php } ?>
<input type="submit" class="button" value="<?php echo $lang['btn_profile']?>" />
<input type="submit" class="button" value="<?php echo $lang['btn_save']?>" />
<input type="reset" class="button" value="<?php echo $lang['btn_reset']?>" />
</fieldset>
</form>
......
......@@ -69,6 +69,7 @@ $lang['reghere'] = 'Sie haben noch keinen Zugang? Hier anmelden';
$lang['profna'] = 'Änderung des Benutzerprofils in diesem Wiki nicht möglich.';
$lang['profnochange'] = 'Keine Änderungen, nichts zu tun.';
$lang['profnoempty'] = 'Es muß ein Name und eine E-Mail Adresse angegeben werden.';
$lang['profchanged'] = 'Benuzerprofil erfolgreich geändert.';
$lang['pwdforget'] = 'Passwort vergessen? Kein Problem';
$lang['resendna'] = 'Passwörter versenden ist in diesem Wiki nicht möglich.';
......
......@@ -67,6 +67,7 @@ $lang['reghere'] = 'You don\'t have an account yet? Just get one';
$lang['profna'] = 'This wiki does not support profile modification';
$lang['profnochange'] = 'No changes, nothing to do.';
$lang['profnoempty'] = 'An empty name or email address is not allowed.';
$lang['profchanged'] = 'User profile sucessfully updated.';
$lang['pwdforget'] = 'Forgotten your password? Get a new one';
$lang['resendna'] = 'This wiki does not support password resending.';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment