X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fprofile%2Fpage.inc.php;h=3b0c9ca856f2e83a2fe816b2c57abcd02fe55b2b;hb=eb5632361d837d1d4f813d4f77e52d6702a0d523;hp=433947e8b31e08ae9588b415fe925cebc9b7cfed;hpb=1610f13adfdd3cadd5fba359973b8e04afc1e527;p=platal.git diff --git a/modules/profile/page.inc.php b/modules/profile/page.inc.php index 433947e..3b0c9ca 100644 --- a/modules/profile/page.inc.php +++ b/modules/profile/page.inc.php @@ -1,6 +1,6 @@ log('profil', $platal->pl_self(1)); } @@ -301,7 +300,7 @@ abstract class ProfilePage implements PlWizardPage $page->assign('errors', $this->errors); } - public function process() + public function process(&$global_success) { $global_success = true; $this->fetchData(); @@ -324,9 +323,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';