[system] / branches / rel-2-1-patches / webwork-modperl / lib / WeBWorK / ContentGenerator.pm Repository:
ViewVC logotype

Diff of /branches/rel-2-1-patches/webwork-modperl/lib/WeBWorK/ContentGenerator.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2139 Revision 2140
1################################################################################ 1################################################################################
2# WeBWorK Online Homework Delivery System 2# WeBWorK Online Homework Delivery System
3# Copyright © 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/ 3# Copyright © 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/
4# $CVSHeader: webwork-modperl/lib/WeBWorK/ContentGenerator.pm,v 1.97 2004/05/07 18:21:19 sh002i Exp $ 4# $CVSHeader: webwork-modperl/lib/WeBWorK/ContentGenerator.pm,v 1.98 2004/05/07 18:47:23 sh002i Exp $
5# 5#
6# This program is free software; you can redistribute it and/or modify it under 6# This program is free software; you can redistribute it and/or modify it under
7# the terms of either: (a) the GNU General Public License as published by the 7# the terms of either: (a) the GNU General Public License as published by the
8# Free Software Foundation; either version 2, or (at your option) any later 8# Free Software Foundation; either version 2, or (at your option) any later
9# version, or (b) the "Artistic License" which comes with this package. 9# version, or (b) the "Artistic License" which comes with this package.
297# FIXME: we should probably 297# FIXME: we should probably
298 298
299sub addmessage { 299sub addmessage {
300 my ($self, $message) = @_; 300 my ($self, $message) = @_;
301 $self->{status_message} .= $message; 301 $self->{status_message} .= $message;
302}
303
304=item addgoodmessage($message)
305
306Adds a success message to the list of messages to be printed by the
307message() template escape handler.
308
309=cut
310
311
312sub addgoodmessage {
313 my ($self, $message) = @_;
314 $self->addmessage(CGI::div({class=>"ResultsWithoutError"}, $message));
302} 315}
303 316
304=back 317=back
305 318
306=cut 319=cut

Legend:
Removed from v.2139  
changed lines
  Added in v.2140

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9