projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Shows a confirmation message when the profile is modified (Closes #970).
[platal.git]
/
modules
/
profile.php
diff --git
a/modules/profile.php
b/modules/profile.php
index
514ca46
..
b80d0e2
100644
(file)
--- a/
modules/profile.php
+++ b/
modules/profile.php
@@
-314,7
+314,7
@@
class ProfileModule extends PLModule
http_redirect("http://www.polytechniciens.com/?page=AX_FICHE_ANCIEN&anc_id=$mat");
}
http_redirect("http://www.polytechniciens.com/?page=AX_FICHE_ANCIEN&anc_id=$mat");
}
- function handler_p_edit(&$page, $opened_tab = null, $mode = null)
+ function handler_p_edit(&$page, $opened_tab = null, $mode = null
, $success = null
)
{
global $globals;
{
global $globals;
@@
-355,6
+355,9
@@
class ProfileModule extends PLModule
}
$page->setTitle('Mon Profil');
}
$page->setTitle('Mon Profil');
+ if (isset($success) && $success) {
+ $page->trigSuccess('Ton profil a bien été mis à jour.');
+ }
}
function handler_applis_js(&$page)
}
function handler_applis_js(&$page)