XHTML bugfixes
This commit is contained in:
parent
4ff015bda0
commit
421585937f
10 changed files with 12 additions and 11 deletions
|
|
@ -441,6 +441,7 @@ sub setHelp {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
my $id = shift;
|
my $id = shift;
|
||||||
my $namespace = shift || "WebGUI";
|
my $namespace = shift || "WebGUI";
|
||||||
|
$id =~ s/ /%20/g;
|
||||||
$self->{_helpUrl} = WebGUI::URL::page('op=viewHelp;hid='.$id.';namespace='.$namespace) if ($id);
|
$self->{_helpUrl} = WebGUI::URL::page('op=viewHelp;hid='.$id.';namespace='.$namespace) if ($id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -421,7 +421,7 @@ sub _drawQueryBuilder {
|
||||||
$output .= '<link href="'.$session{config}{extrasURL}.
|
$output .= '<link href="'.$session{config}{extrasURL}.
|
||||||
'/wobject/Shortcut/querybuilder.css" type="text/css" rel="stylesheet">';
|
'/wobject/Shortcut/querybuilder.css" type="text/css" rel="stylesheet">';
|
||||||
|
|
||||||
$output .= qq|<table cellspacing="0" cellpadding=0 border=0 >
|
$output .= qq|<table cellspacing="0" cellpadding="0" border="0">
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="5" align="right">$shortcutCriteriaField</td>
|
<td colspan="5" align="right">$shortcutCriteriaField</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ sub www_viewActiveSessions {
|
||||||
$sth->finish;
|
$sth->finish;
|
||||||
$p = WebGUI::Paginator->new(WebGUI::URL::page('op=viewActiveSessions'));
|
$p = WebGUI::Paginator->new(WebGUI::URL::page('op=viewActiveSessions'));
|
||||||
$p->setDataByArrayRef(\@row);
|
$p->setDataByArrayRef(\@row);
|
||||||
$output .= '<table border=1 cellpadding=5 cellspacing=0 align="center">';
|
$output .= '<table border="1" cellpadding="5" cellspacing="0" align="center">';
|
||||||
$output .= '<tr class="tableHeader"><td>'.WebGUI::International::get(428).'</td>';
|
$output .= '<tr class="tableHeader"><td>'.WebGUI::International::get(428).'</td>';
|
||||||
$output .= '<td>'.WebGUI::International::get(435).'</td>';
|
$output .= '<td>'.WebGUI::International::get(435).'</td>';
|
||||||
$output .= '<td>'.WebGUI::International::get(432).'</td>';
|
$output .= '<td>'.WebGUI::International::get(432).'</td>';
|
||||||
|
|
|
||||||
|
|
@ -445,7 +445,7 @@ sub www_editCommerceSettings {
|
||||||
$jscript = '<script type="text/javascript">';
|
$jscript = '<script type="text/javascript">';
|
||||||
foreach $currentPlugin (@paymentPlugins) {
|
foreach $currentPlugin (@paymentPlugins) {
|
||||||
$tabform->getTab('payment')->raw('<tr id="'.$currentPlugin->namespace.'"><td colspan="2" width="100%">'.
|
$tabform->getTab('payment')->raw('<tr id="'.$currentPlugin->namespace.'"><td colspan="2" width="100%">'.
|
||||||
'<table border=0 cellspacing=0 cellpadding=0 width="100%">'.
|
'<table border="0" cellspacing="0" cellpadding="0" width="100%">'.
|
||||||
$currentPlugin->configurationForm.'<tr><td width="304"> </td><td width="496"> </td></tr></table></td></tr>');
|
$currentPlugin->configurationForm.'<tr><td width="304"> </td><td width="496"> </td></tr></table></td></tr>');
|
||||||
$jscript .= "document.getElementById(\"".$currentPlugin->namespace."\").style.display='".(($currentPlugin->namespace eq $paymentPlugin)?"":"none")."';";
|
$jscript .= "document.getElementById(\"".$currentPlugin->namespace."\").style.display='".(($currentPlugin->namespace eq $paymentPlugin)?"":"none")."';";
|
||||||
}
|
}
|
||||||
|
|
@ -486,7 +486,7 @@ sub www_editCommerceSettings {
|
||||||
$jscript = '<script type="text/javascript">';
|
$jscript = '<script type="text/javascript">';
|
||||||
foreach $currentPlugin (@shippingPlugins) {
|
foreach $currentPlugin (@shippingPlugins) {
|
||||||
$tabform->getTab('shipping')->raw('<tr id="'.$currentPlugin->namespace.'"><td colspan="2" width="100%">'.
|
$tabform->getTab('shipping')->raw('<tr id="'.$currentPlugin->namespace.'"><td colspan="2" width="100%">'.
|
||||||
'<table border=0 cellspacing=0 cellpadding=0 width="100%">'.
|
'<table border="0" cellspacing="0" cellpadding="0" width="100%">'.
|
||||||
$currentPlugin->configurationForm.'<tr><td width="304"> </td><td width="496"> </td></tr></table></td></tr>');
|
$currentPlugin->configurationForm.'<tr><td width="304"> </td><td width="496"> </td></tr></table></td></tr>');
|
||||||
$jscript .= "document.getElementById(\"".$currentPlugin->namespace."\").style.display='".(($currentPlugin->namespace eq $shippingPlugin)?"":"none")."';";
|
$jscript .= "document.getElementById(\"".$currentPlugin->namespace."\").style.display='".(($currentPlugin->namespace eq $shippingPlugin)?"":"none")."';";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -161,7 +161,7 @@ sub www_listDatabaseLinks {
|
||||||
$sth->finish;
|
$sth->finish;
|
||||||
$p = WebGUI::Paginator->new(WebGUI::URL::page('op=listDatabaseLinks'));
|
$p = WebGUI::Paginator->new(WebGUI::URL::page('op=listDatabaseLinks'));
|
||||||
$p->setDataByArrayRef(\@row);
|
$p->setDataByArrayRef(\@row);
|
||||||
$output .= '<table border=1 cellpadding=3 cellspacing=0 align="center">';
|
$output .= '<table border="1" cellpadding="3" cellspacing="0" align="center">';
|
||||||
$output .= $p->getPage;
|
$output .= $p->getPage;
|
||||||
$output .= '</table>';
|
$output .= '</table>';
|
||||||
$output .= $p->getBarTraditional;
|
$output .= $p->getBarTraditional;
|
||||||
|
|
|
||||||
|
|
@ -515,7 +515,7 @@ sub www_listGroups {
|
||||||
my $output = getGroupSearchForm("listGroups");
|
my $output = getGroupSearchForm("listGroups");
|
||||||
my ($groupCount) = WebGUI::SQL->quickArray("select count(*) from groups where isEditable=1");
|
my ($groupCount) = WebGUI::SQL->quickArray("select count(*) from groups where isEditable=1");
|
||||||
return _submenu($output) unless ($session{form}{doit} || $groupCount<250 || $session{form}{pn} > 1);
|
return _submenu($output) unless ($session{form}{doit} || $groupCount<250 || $session{form}{pn} > 1);
|
||||||
$output .= '<table border=1 cellpadding=5 cellspacing=0 align="center">';
|
$output .= '<table border="1" cellpadding="5" cellspacing="0" align="center">';
|
||||||
$output .= '<tr><td class="tableHeader">'.WebGUI::International::get(84).'</td><td class="tableHeader">'
|
$output .= '<tr><td class="tableHeader">'.WebGUI::International::get(84).'</td><td class="tableHeader">'
|
||||||
.WebGUI::International::get(85).'</td><td class="tableHeader">'
|
.WebGUI::International::get(85).'</td><td class="tableHeader">'
|
||||||
.WebGUI::International::get(748).'</td></tr>';
|
.WebGUI::International::get(748).'</td></tr>';
|
||||||
|
|
@ -552,7 +552,7 @@ sub www_listGroups {
|
||||||
$sth->finish;
|
$sth->finish;
|
||||||
$p = WebGUI::Paginator->new(WebGUI::URL::page('op=listGroups'));
|
$p = WebGUI::Paginator->new(WebGUI::URL::page('op=listGroups'));
|
||||||
$p->setDataByArrayRef(\@row);
|
$p->setDataByArrayRef(\@row);
|
||||||
$output .= '<table border=1 cellpadding=5 cellspacing=0 align="center">';
|
$output .= '<table border="1" cellpadding="5" cellspacing="0" align="center">';
|
||||||
$output .= '<tr><td class="tableHeader">'.WebGUI::International::get(84).'</td><td class="tableHeader">'
|
$output .= '<tr><td class="tableHeader">'.WebGUI::International::get(84).'</td><td class="tableHeader">'
|
||||||
.WebGUI::International::get(85).'</td><td class="tableHeader">'
|
.WebGUI::International::get(85).'</td><td class="tableHeader">'
|
||||||
.WebGUI::International::get(748).'</td></tr>';
|
.WebGUI::International::get(748).'</td></tr>';
|
||||||
|
|
|
||||||
|
|
@ -240,7 +240,7 @@ sub www_listLDAPLinks {
|
||||||
$sth->finish;
|
$sth->finish;
|
||||||
$p = WebGUI::Paginator->new(WebGUI::URL::page('op=listLDAPLinks'));
|
$p = WebGUI::Paginator->new(WebGUI::URL::page('op=listLDAPLinks'));
|
||||||
$p->setDataByArrayRef(\@row);
|
$p->setDataByArrayRef(\@row);
|
||||||
$output .= '<table border=1 cellpadding=3 cellspacing=0 align="center">';
|
$output .= '<table border="1" cellpadding="3" cellspacing="0" align="center">';
|
||||||
$output .= $p->getPage;
|
$output .= $p->getPage;
|
||||||
$output .= '</table>';
|
$output .= '</table>';
|
||||||
$output .= $p->getBarTraditional;
|
$output .= $p->getBarTraditional;
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ sub www_viewLoginHistory {
|
||||||
$sth->finish;
|
$sth->finish;
|
||||||
$p = WebGUI::Paginator->new(WebGUI::URL::page('op=viewLoginHistory'));
|
$p = WebGUI::Paginator->new(WebGUI::URL::page('op=viewLoginHistory'));
|
||||||
$p->setDataByArrayRef(\@row);
|
$p->setDataByArrayRef(\@row);
|
||||||
$output .= '<table border=1 cellpadding=5 cellspacing=0 align="center">';
|
$output .= '<table border="1" cellpadding="5" cellspacing="0" align="center">';
|
||||||
$output .= '<tr class="tableHeader"><td>'.WebGUI::International::get(428).'</td>';
|
$output .= '<tr class="tableHeader"><td>'.WebGUI::International::get(428).'</td>';
|
||||||
$output .= '<td>'.WebGUI::International::get(434).'</td>';
|
$output .= '<td>'.WebGUI::International::get(434).'</td>';
|
||||||
$output .= '<td>'.WebGUI::International::get(429).'</td>';
|
$output .= '<td>'.WebGUI::International::get(429).'</td>';
|
||||||
|
|
|
||||||
|
|
@ -285,7 +285,7 @@ sub www_editSettings {
|
||||||
my $jscript = '<script type="text/javascript">';
|
my $jscript = '<script type="text/javascript">';
|
||||||
foreach (@{$session{config}{authMethods}}) {
|
foreach (@{$session{config}{authMethods}}) {
|
||||||
my $authInstance = WebGUI::Operation::Auth::getInstance($_,1);
|
my $authInstance = WebGUI::Operation::Auth::getInstance($_,1);
|
||||||
$tabform->getTab("auth")->raw('<tr id="'.$_.'"><td colspan="2" width="100%"><table border=0 cellspacing=0 cellpadding=0 width="100%">'.$authInstance->editUserSettingsForm.'<tr><td width="304"> </td><td width="496"> </td></tr></table></td></tr>');
|
$tabform->getTab("auth")->raw('<tr id="'.$_.'"><td colspan="2" width="100%"><table border="0" cellspacing="0" cellpadding="0" width="100%">'.$authInstance->editUserSettingsForm.'<tr><td width="304"> </td><td width="496"> </td></tr></table></td></tr>');
|
||||||
$jscript .= "document.getElementById(\"$_\").style.display='".(($_ eq $session{setting}{authMethod})?"":"none")."';";
|
$jscript .= "document.getElementById(\"$_\").style.display='".(($_ eq $session{setting}{authMethod})?"":"none")."';";
|
||||||
}
|
}
|
||||||
$jscript .= "</script>";
|
$jscript .= "</script>";
|
||||||
|
|
|
||||||
|
|
@ -459,7 +459,7 @@ sub www_listUsers {
|
||||||
Deactivated => WebGUI::International::get(818),
|
Deactivated => WebGUI::International::get(818),
|
||||||
Selfdestructed => WebGUI::International::get(819)
|
Selfdestructed => WebGUI::International::get(819)
|
||||||
);
|
);
|
||||||
$output .= '<table border=1 cellpadding=5 cellspacing=0 align="center">';
|
$output .= '<table border="1" cellpadding="5" cellspacing="0" align="center">';
|
||||||
$output .= '<tr>
|
$output .= '<tr>
|
||||||
<td class="tableHeader">'.WebGUI::International::get(816).'</td>
|
<td class="tableHeader">'.WebGUI::International::get(816).'</td>
|
||||||
<td class="tableHeader">'.WebGUI::International::get(50).'</td>
|
<td class="tableHeader">'.WebGUI::International::get(50).'</td>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue