Cleaner display for 'trig'.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 8 Jun 2008 14:46:20 +0000 (16:46 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 8 Jun 2008 14:46:20 +0000 (16:46 +0200)
commit71a753d30ee7d84c81717a570e818f075d78831b
tree7377a177ea61a07a6f7cee97273ceda3d7e8a5e9
parentba34dc615f6511353ee079dcaa7dbc08e3873f3f
Cleaner display for 'trig'.

This add two kinds of triggers:
 $page->trigError()
 $page->trigSuccess()

The old $page->trig() takes 2 arguments:
 - the message to display
 - the kind of message ('errors' or 'success'), default is errors in order
   to preserve backward compatibility

Plan is to remove all ->trig() calls and switch the trig() method to protected
access rights.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
classes/platalpage.php
htdocs/css/default.css
htdocs/css/keynote.css
htdocs/css/openweb.css
templates/core/plwizard.tpl
templates/payment/index.tpl
templates/search/index.tpl
templates/skin/common.content.tpl
templates/skin/common.triggers.tpl [new file with mode: 0644]