From: Florent Bruneau Date: Sun, 8 Jun 2008 14:46:20 +0000 (+0200) Subject: Cleaner display for 'trig'. X-Git-Tag: core/1.0.0~122 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=71a753d30ee7d84c81717a570e818f075d78831b;hp=71a753d30ee7d84c81717a570e818f075d78831b;p=platal.git 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 ---