bug fixes

This commit is contained in:
JT Smith 2004-03-08 01:05:12 +00:00
parent 1d02c5e73f
commit f1508cfd93
4 changed files with 4 additions and 6 deletions

View file

@ -146,7 +146,7 @@ sub www_editMiscSettings {
#-------------------------------------------------------------------
sub www_editUserSettings {
return WebGUI::Privilege::adminOnly() unless (WebGUI::Privilege::isInGroup(3));
my ($output, $f, $cmd, $html, $options);
my ($output, $f, $cmd, $html);
$output .= helpIcon(2);
$output .= '<h1>'.WebGUI::International::get(117).'</h1>';
$output .= WebGUI::Form::_javascriptFile("swapLayers.js");

View file

@ -225,7 +225,7 @@ sub www_editTheme {
.' '.$component->{name}.' ('.$componentTypes->{$component->{componentType}}.')<br>';
}
$sth->finish;
my $sth = WebGUI::SQL->read("select themeComponentId,id from themeComponent
$sth = WebGUI::SQL->read("select themeComponentId,id from themeComponent
where type='template' and themeId=".$session{form}{themeId});
while (my $data = $sth->hashRef) {
my ($templateId,$namespace) = split("_",$data->{id});
@ -489,7 +489,7 @@ sub www_viewTheme {
$output .= $component->{name}.' ('.$componentTypes->{$component->{componentType}}.')<br>';
}
$sth->finish;
my $sth = WebGUI::SQL->read("select themeComponentId,id from themeComponent
$sth = WebGUI::SQL->read("select themeComponentId,id from themeComponent
where type='template' and themeId=".$session{form}{themeId});
while (my $data = $sth->hashRef) {
my ($templateId,$namespace) = split("_",$data->{id});