- fix: Link to page in Webgui Page Tree not working in IE

- fix: Not Found page not working
 - Made debug output more colorful, and set queries as info rather than debug.
This commit is contained in:
JT Smith 2006-05-31 18:12:14 +00:00
parent b4597e50e5
commit 2568e6c8ce
2 changed files with 11 additions and 8 deletions

View file

@ -10,11 +10,14 @@
- fix: Event Manager - can't add event
- fix: v6.99.1, security: Spectre listens to INADDR_ANY (profo)
- fix: Manage groups in this group doesn't work
- Fixed a problem where the not found page would not display.
- fix: New page layout instead of not found
- fix: Rollback
- fix: debug output
- fix: Can't delete images at product asset
- fix: Link to page in Webgui Page Tree not working in IE
- fix: Not Found page not working
- Made debug output more colorful, and set queries as info rather than debug.
6.99.2
- fix - demo.plainblack.com getting started

View file

@ -310,7 +310,7 @@ sub query {
else {
$plac = '';
}
$self->debug("query ".$self->{_queryCount}.': '.$query.$plac);
$self->info("query ".$self->{_queryCount}.': '.$query.$plac);
}
@ -363,10 +363,10 @@ sub showDebug {
my $output = '<div style="text-align: left;background-color: #800000;color: #ffffff;">'.$text."</div>\n";
$text = $self->{_debug_warn};
$text =~ s/\n/\<br \/\>\n/g;
$output .= '<div style="text-align: left;background-color: #ffdddd;color: #000000;">'.$text."</div>\n";
$text = $self->{_debug_info};
$output .= '<div style="text-align: left;background-color: #ffbdbd;color: #000000;">'.$text."</div>\n";
$text = $self->{_debug_debug};
$text =~ s/\n/\<br \/\>\n/g;
$output .= '<div style="text-align: left;background-color: #ffffdd;color: #000000;">'.$text."</div>\n";
$output .= '<div style="text-align: left;background-color: #cccc55;color: #000000;">'.$text."</div>\n";
my $form = $self->session->form->paramsHashRef();
foreach my $key (keys %{$form}) {
if ($key eq "password" || $key eq "identifier") {
@ -379,10 +379,10 @@ sub showDebug {
$text =~ s/</&lt;/xsg;
$text =~ s/\n/\<br \/\>\n/g;
$text =~ s/ /&nbsp; &nbsp; /g;
$output .= '<div style="text-align: left;background-color: #cccccc;color: #000000;">'.$text."</div>\n";
$text = $self->{_debug_debug};
$output .= '<div style="text-align: left;background-color: #aaaaee;color: #000000;">'.$text."</div>\n";
$text = $self->{_debug_info};
$text =~ s/\n/\<br \/\>\n/g;
$output .= '<div style="text-align: left;background-color: #dddddd;color: #000000;">'.$text."</div>\n";
$output .= '<div style="text-align: left;background-color: #bdffbd;color: #000000;">'.$text."</div>\n";
return $output;
}