[Koha-bugs] [Bug 11904] Proposal for a uniform way to send messages to user interface
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jul 7 15:39:51 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11904
Jonathan Druart <jonathan.druart at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #27940|0 |1
is obsolete| |
Attachment #27941|0 |1
is obsolete| |
Attachment #27942|0 |1
is obsolete| |
--- Comment #15 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 29545
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=29545&action=edit
Bug 11904: New module Koha::Messages
This patch provides a uniform way to send messages to user interface.
It uses CGI::Session to store messages and allow to render them thanks
to a Template::Toolkit plugin (Koha::Template::Plugin::Messages)
and a template include file (messages.inc)
This patch doesn't introduce the new template include file anywhere. It
will require additional patches to make it work.
To use it, simply call messages_set() in a Perl script or module, then
put [% INCLUDE 'messages.inc' %] at the right place in the right
template file.
See POD documentation of Koha::Messages for more information.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list