X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fprofile%2Fpage.inc.php;h=64d0bba76362121f6dbc27cdcb8e6b6ba0e891d2;hb=4279d3bc87776ede0e3f3a9789c3836b28f54db6;hp=35a1f97427fe726e90d338e3af9ff04b74355e4d;hpb=ac94c02a135c972f37cb1e4316cf46bda47eff1b;p=platal.git diff --git a/modules/profile/page.inc.php b/modules/profile/page.inc.php index 35a1f97..64d0bba 100644 --- a/modules/profile/page.inc.php +++ b/modules/profile/page.inc.php @@ -1,6 +1,6 @@ assign('errors', $this->errors); } - public function process() + public function process(&$global_success) { $global_success = true; $this->fetchData(); @@ -323,9 +326,14 @@ abstract class ProfilePage implements PlWizardPage return Post::has('next_page') ? PlWizard::NEXT_PAGE : PlWizard::CURRENT_PAGE; } Platal::page()->trigError("Certains champs n'ont pas pu être validés, merci de corriger les informations " - . "de ton profil et de revalider ta demande"); + . "de ton profil et de revalider ta demande."); return PlWizard::CURRENT_PAGE; } + + public function success() + { + return 'Ton profil a bien été mis à jour.'; + } } require_once dirname(__FILE__) . '/general.inc.php';