[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 Apr 27 06:16:19 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11904
M. Tompsett <mtompset at hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #30579|0 |1
is obsolete| |
--- Comment #28 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 38522
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38522&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