X-Git-Url: https://git.deb.at/?p=deb%2Fpackages.git;a=blobdiff_plain;f=lib%2FPackages%2FCGI.pm;h=e15e510f017edd512b27cb53426825844a524be4;hp=cc92e64d6f748c6496c7e0205f7df733a62692a7;hb=e6999b858367d9d83e0fa2c32cddfd31b4416486;hpb=ef769eaccb9ebf7f49b8c3240c9c4d6980072ee5 diff --git a/lib/Packages/CGI.pm b/lib/Packages/CGI.pm index cc92e64..e15e510 100644 --- a/lib/Packages/CGI.pm +++ b/lib/Packages/CGI.pm @@ -35,7 +35,7 @@ sub note { } sub print_errors { return unless @fatal_errors || @errors; - print '
ERROR: $_
"; } @@ -43,7 +43,7 @@ sub print_errors { } sub print_debug { return unless $debug && @debug; - print ''; foreach (@debug) { print "$_\n"; @@ -52,24 +52,26 @@ sub print_debug { } sub print_hints { return unless @hints; - print ''; + print ''; foreach (@hints) { - print "'; } sub print_msgs { + print '$_
"; + print "$_
"; } print ''; foreach (@msgs) { print "'; } sub print_notes { foreach (@notes) { my ( $title, $note ) = @$_; - print '$_
"; } + print ''; + print ''; if ($note) { - print "$title
"; + print "$title
"; } else { $note = $title; }