share email +twitter / class messages

This commit is contained in:
Nicolas Lœuillet
2013-08-05 15:54:37 +02:00
parent b161295d0b
commit 55821e04c1
25 changed files with 339 additions and 112 deletions

View File

@ -61,5 +61,8 @@ else {
$tpl_file = 'login.twig';
}
# because messages can be added in $poche->action(), we have to add this entry now (we can add it before)
$tpl_vars = array_merge($tpl_vars, array('messages' => $poche->messages->display()));
# Aaaaaaand action !
echo $poche->tpl->render($tpl_file, $tpl_vars);