moved tab style to CSS

This commit is contained in:
Roland Gruber 2009-11-13 20:12:34 +00:00
parent 8fb3799530
commit 25167ce68a
6 changed files with 32 additions and 25 deletions

View File

@ -1463,7 +1463,7 @@ class accountContainer {
if ($buttonStatus == 'hidden') continue; if ($buttonStatus == 'hidden') continue;
$class = $this->type . "list-head"; $class = $this->type . "list-head";
if ($this->order[$this->current_page] == $this->order[$i]) $class = $this->type . "list-edit"; if ($this->order[$this->current_page] == $this->order[$i]) $class = $this->type . "list-edit";
echo "<td width=\"$buttonWidth\" style=\"padding-bottom:0px;padding-right:5px;padding-left:5px;padding-top:10px;\">\n"; echo "<td class=\"settingsTab\" width=\"$buttonWidth\">\n";
echo "<table width=\"100%\" style=\"border-collapse: collapse;\">\n"; echo "<table width=\"100%\" style=\"border-collapse: collapse;\">\n";
echo "<tr class=\"" . $class . "\"><td onclick=\"document.getElementsByName('form_main_".$this->order[$i]."')[0].click();\""; echo "<tr class=\"" . $class . "\"><td onclick=\"document.getElementsByName('form_main_".$this->order[$i]."')[0].click();\"";
echo " align=\"center\" style=\"border: 1px solid;border-bottom: 0px solid;padding:5px;\">\n"; echo " align=\"center\" style=\"border: 1px solid;border-bottom: 0px solid;padding:5px;\">\n";

View File

@ -100,6 +100,13 @@ table.settingsTab input {
border:0px solid; border:0px solid;
} }
td.settingsTab {
padding-bottom:0px;
padding-right:5px;
padding-left:5px;
padding-top:10px;
}
/** /**
* table style for delete.php * table style for delete.php
* *

View File

@ -151,7 +151,7 @@ echo "<table width=\"100%\" border=0 style=\"border-collapse: collapse;\">";
echo "<tr>\n"; echo "<tr>\n";
$buttonSpace = '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'; $buttonSpace = '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
// general settings // general settings
echo "<td style=\"padding-bottom:0px;padding-right:5px;padding-left:5px;padding-top:10px;\">\n"; echo "<td class=\"settingsTab\">\n";
echo "<table class=\"settingsTab\" width=\"100%\">\n"; echo "<table class=\"settingsTab\" width=\"100%\">\n";
echo "<tr><td class=\"settingsActiveTab\" onclick=\"document.getElementsByName('generalSettingsButton')[0].click();\""; echo "<tr><td class=\"settingsActiveTab\" onclick=\"document.getElementsByName('generalSettingsButton')[0].click();\"";
echo " align=\"center\">\n"; echo " align=\"center\">\n";
@ -161,7 +161,7 @@ echo "<tr>\n";
echo "</td></tr></table>\n"; echo "</td></tr></table>\n";
echo '</td>'; echo '</td>';
// account types // account types
echo "<td style=\"padding-bottom:0px;padding-right:5px;padding-left:5px;padding-top:10px;\">\n"; echo "<td class=\"settingsTab\">\n";
echo "<table class=\"settingsTab\" width=\"100%\">\n"; echo "<table class=\"settingsTab\" width=\"100%\">\n";
echo "<tr><td onclick=\"document.getElementsByName('edittypes')[0].click();\""; echo "<tr><td onclick=\"document.getElementsByName('edittypes')[0].click();\"";
echo " align=\"center\">\n"; echo " align=\"center\">\n";
@ -171,7 +171,7 @@ echo "<tr>\n";
echo "</td></tr></table>\n"; echo "</td></tr></table>\n";
echo '</td>'; echo '</td>';
// module selection // module selection
echo "<td style=\"padding-bottom:0px;padding-right:5px;padding-left:5px;padding-top:10px;\">\n"; echo "<td class=\"settingsTab\">\n";
echo "<table class=\"settingsTab\" width=\"100%\">\n"; echo "<table class=\"settingsTab\" width=\"100%\">\n";
echo "<tr><td onclick=\"document.getElementsByName('editmodules')[0].click();\""; echo "<tr><td onclick=\"document.getElementsByName('editmodules')[0].click();\"";
echo " align=\"center\">\n"; echo " align=\"center\">\n";
@ -181,7 +181,7 @@ echo "<tr>\n";
echo "</td></tr></table>\n"; echo "</td></tr></table>\n";
echo '</td>'; echo '</td>';
// module settings // module settings
echo "<td style=\"padding-bottom:0px;padding-right:5px;padding-left:5px;padding-top:10px;\">\n"; echo "<td class=\"settingsTab\">\n";
echo "<table class=\"settingsTab\" width=\"100%\">\n"; echo "<table class=\"settingsTab\" width=\"100%\">\n";
echo "<tr><td onclick=\"document.getElementsByName('moduleSettings')[0].click();\""; echo "<tr><td onclick=\"document.getElementsByName('moduleSettings')[0].click();\"";
echo " align=\"center\">\n"; echo " align=\"center\">\n";
@ -194,7 +194,7 @@ echo "<tr>\n";
// spacer // spacer
echo "<td width=\"100%\">&nbsp;</td>"; echo "<td width=\"100%\">&nbsp;</td>";
// save button // save button
echo "<td style=\"padding-bottom:0px;padding-right:5px;padding-left:5px;padding-top:10px;\">\n"; echo "<td class=\"settingsTab\">\n";
echo "<table class=\"settingsTab\" width=\"100%\">\n"; echo "<table class=\"settingsTab\" width=\"100%\">\n";
echo "<tr><td onclick=\"document.getElementsByName('saveSettings')[0].click();\""; echo "<tr><td onclick=\"document.getElementsByName('saveSettings')[0].click();\"";
echo " align=\"center\">\n"; echo " align=\"center\">\n";
@ -204,7 +204,7 @@ echo "<tr>\n";
echo "</td></tr></table>\n"; echo "</td></tr></table>\n";
echo '</td>'; echo '</td>';
// cancel button // cancel button
echo "<td style=\"padding-bottom:0px;padding-right:5px;padding-left:5px;padding-top:10px;\">\n"; echo "<td class=\"settingsTab\">\n";
echo "<table class=\"settingsTab\" width=\"100%\">\n"; echo "<table class=\"settingsTab\" width=\"100%\">\n";
echo "<tr><td onclick=\"document.getElementsByName('cancelSettings')[0].click();\""; echo "<tr><td onclick=\"document.getElementsByName('cancelSettings')[0].click();\"";
echo " align=\"center\">\n"; echo " align=\"center\">\n";

View File

@ -117,7 +117,7 @@ echo "<table width=\"100%\" border=0 style=\"border-collapse: collapse;\">";
echo "<tr>\n"; echo "<tr>\n";
$buttonSpace = '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'; $buttonSpace = '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
// general settings // general settings
echo "<td style=\"padding-bottom:0px;padding-right:5px;padding-left:5px;padding-top:10px;\">\n"; echo "<td class=\"settingsTab\">\n";
echo "<table class=\"settingsTab\" width=\"100%\">\n"; echo "<table class=\"settingsTab\" width=\"100%\">\n";
echo "<tr><td onclick=\"document.getElementsByName('generalSettingsButton')[0].click();\""; echo "<tr><td onclick=\"document.getElementsByName('generalSettingsButton')[0].click();\"";
echo " align=\"center\">\n"; echo " align=\"center\">\n";
@ -127,7 +127,7 @@ echo "<tr>\n";
echo "</td></tr></table>\n"; echo "</td></tr></table>\n";
echo '</td>'; echo '</td>';
// account types // account types
echo "<td style=\"padding-bottom:0px;padding-right:5px;padding-left:5px;padding-top:10px;\">\n"; echo "<td class=\"settingsTab\">\n";
echo "<table class=\"settingsTab\" width=\"100%\">\n"; echo "<table class=\"settingsTab\" width=\"100%\">\n";
echo "<tr><td onclick=\"document.getElementsByName('edittypes')[0].click();\""; echo "<tr><td onclick=\"document.getElementsByName('edittypes')[0].click();\"";
echo " align=\"center\">\n"; echo " align=\"center\">\n";
@ -137,7 +137,7 @@ echo "<tr>\n";
echo "</td></tr></table>\n"; echo "</td></tr></table>\n";
echo '</td>'; echo '</td>';
// module selection // module selection
echo "<td style=\"padding-bottom:0px;padding-right:5px;padding-left:5px;padding-top:10px;\">\n"; echo "<td class=\"settingsTab\">\n";
echo "<table class=\"settingsTab\" width=\"100%\">\n"; echo "<table class=\"settingsTab\" width=\"100%\">\n";
echo "<tr><td class=\"settingsActiveTab\" onclick=\"document.getElementsByName('editmodules')[0].click();\""; echo "<tr><td class=\"settingsActiveTab\" onclick=\"document.getElementsByName('editmodules')[0].click();\"";
echo " align=\"center\">\n"; echo " align=\"center\">\n";
@ -147,7 +147,7 @@ echo "<tr>\n";
echo "</td></tr></table>\n"; echo "</td></tr></table>\n";
echo '</td>'; echo '</td>';
// module settings // module settings
echo "<td style=\"padding-bottom:0px;padding-right:5px;padding-left:5px;padding-top:10px;\">\n"; echo "<td class=\"settingsTab\">\n";
echo "<table class=\"settingsTab\" width=\"100%\">\n"; echo "<table class=\"settingsTab\" width=\"100%\">\n";
echo "<tr><td onclick=\"document.getElementsByName('moduleSettings')[0].click();\""; echo "<tr><td onclick=\"document.getElementsByName('moduleSettings')[0].click();\"";
echo " align=\"center\">\n"; echo " align=\"center\">\n";
@ -160,7 +160,7 @@ echo "<tr>\n";
// spacer // spacer
echo "<td width=\"100%\">&nbsp;</td>"; echo "<td width=\"100%\">&nbsp;</td>";
// save button // save button
echo "<td style=\"padding-bottom:0px;padding-right:5px;padding-left:5px;padding-top:10px;\">\n"; echo "<td class=\"settingsTab\">\n";
echo "<table class=\"settingsTab\" width=\"100%\">\n"; echo "<table class=\"settingsTab\" width=\"100%\">\n";
echo "<tr><td onclick=\"document.getElementsByName('saveSettings')[0].click();\""; echo "<tr><td onclick=\"document.getElementsByName('saveSettings')[0].click();\"";
echo " align=\"center\">\n"; echo " align=\"center\">\n";
@ -170,7 +170,7 @@ echo "<tr>\n";
echo "</td></tr></table>\n"; echo "</td></tr></table>\n";
echo '</td>'; echo '</td>';
// cancel button // cancel button
echo "<td style=\"padding-bottom:0px;padding-right:5px;padding-left:5px;padding-top:10px;\">\n"; echo "<td class=\"settingsTab\">\n";
echo "<table class=\"settingsTab\" width=\"100%\">\n"; echo "<table class=\"settingsTab\" width=\"100%\">\n";
echo "<tr><td onclick=\"document.getElementsByName('cancelSettings')[0].click();\""; echo "<tr><td onclick=\"document.getElementsByName('cancelSettings')[0].click();\"";
echo " align=\"center\">\n"; echo " align=\"center\">\n";

View File

@ -132,7 +132,7 @@ echo "<table width=\"100%\" border=0 style=\"border-collapse: collapse;\">";
echo "<tr>\n"; echo "<tr>\n";
$buttonSpace = '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'; $buttonSpace = '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
// general settings // general settings
echo "<td style=\"padding-bottom:0px;padding-right:5px;padding-left:5px;padding-top:10px;\">\n"; echo "<td class=\"settingsTab\">\n";
echo "<table class=\"settingsTab\" width=\"100%\">\n"; echo "<table class=\"settingsTab\" width=\"100%\">\n";
echo "<tr><td onclick=\"document.getElementsByName('generalSettingsButton')[0].click();\""; echo "<tr><td onclick=\"document.getElementsByName('generalSettingsButton')[0].click();\"";
echo " align=\"center\">\n"; echo " align=\"center\">\n";
@ -142,7 +142,7 @@ echo "<tr>\n";
echo "</td></tr></table>\n"; echo "</td></tr></table>\n";
echo '</td>'; echo '</td>';
// account types // account types
echo "<td style=\"padding-bottom:0px;padding-right:5px;padding-left:5px;padding-top:10px;\">\n"; echo "<td class=\"settingsTab\">\n";
echo "<table class=\"settingsTab\" width=\"100%\">\n"; echo "<table class=\"settingsTab\" width=\"100%\">\n";
echo "<tr><td class=\"settingsActiveTab\" onclick=\"document.getElementsByName('edittypes')[0].click();\""; echo "<tr><td class=\"settingsActiveTab\" onclick=\"document.getElementsByName('edittypes')[0].click();\"";
echo " align=\"center\">\n"; echo " align=\"center\">\n";
@ -152,7 +152,7 @@ echo "<tr>\n";
echo "</td></tr></table>\n"; echo "</td></tr></table>\n";
echo '</td>'; echo '</td>';
// module selection // module selection
echo "<td style=\"padding-bottom:0px;padding-right:5px;padding-left:5px;padding-top:10px;\">\n"; echo "<td class=\"settingsTab\">\n";
echo "<table class=\"settingsTab\" width=\"100%\">\n"; echo "<table class=\"settingsTab\" width=\"100%\">\n";
echo "<tr><td onclick=\"document.getElementsByName('editmodules')[0].click();\""; echo "<tr><td onclick=\"document.getElementsByName('editmodules')[0].click();\"";
echo " align=\"center\">\n"; echo " align=\"center\">\n";
@ -162,7 +162,7 @@ echo "<tr>\n";
echo "</td></tr></table>\n"; echo "</td></tr></table>\n";
echo '</td>'; echo '</td>';
// module settings // module settings
echo "<td style=\"padding-bottom:0px;padding-right:5px;padding-left:5px;padding-top:10px;\">\n"; echo "<td class=\"settingsTab\">\n";
echo "<table class=\"settingsTab\" width=\"100%\">\n"; echo "<table class=\"settingsTab\" width=\"100%\">\n";
echo "<tr><td onclick=\"document.getElementsByName('moduleSettings')[0].click();\""; echo "<tr><td onclick=\"document.getElementsByName('moduleSettings')[0].click();\"";
echo " align=\"center\">\n"; echo " align=\"center\">\n";
@ -175,7 +175,7 @@ echo "<tr>\n";
// spacer // spacer
echo "<td width=\"100%\">&nbsp;</td>"; echo "<td width=\"100%\">&nbsp;</td>";
// save button // save button
echo "<td style=\"padding-bottom:0px;padding-right:5px;padding-left:5px;padding-top:10px;\">\n"; echo "<td class=\"settingsTab\">\n";
echo "<table class=\"settingsTab\" width=\"100%\">\n"; echo "<table class=\"settingsTab\" width=\"100%\">\n";
echo "<tr><td onclick=\"document.getElementsByName('saveSettings')[0].click();\""; echo "<tr><td onclick=\"document.getElementsByName('saveSettings')[0].click();\"";
echo " align=\"center\">\n"; echo " align=\"center\">\n";
@ -185,7 +185,7 @@ echo "<tr>\n";
echo "</td></tr></table>\n"; echo "</td></tr></table>\n";
echo '</td>'; echo '</td>';
// cancel button // cancel button
echo "<td style=\"padding-bottom:0px;padding-right:5px;padding-left:5px;padding-top:10px;\">\n"; echo "<td class=\"settingsTab\">\n";
echo "<table class=\"settingsTab\" width=\"100%\">\n"; echo "<table class=\"settingsTab\" width=\"100%\">\n";
echo "<tr><td onclick=\"document.getElementsByName('cancelSettings')[0].click();\""; echo "<tr><td onclick=\"document.getElementsByName('cancelSettings')[0].click();\"";
echo " align=\"center\">\n"; echo " align=\"center\">\n";

View File

@ -116,7 +116,7 @@ echo "<table width=\"100%\" border=0 style=\"border-collapse: collapse;\">";
echo "<tr>\n"; echo "<tr>\n";
$buttonSpace = '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'; $buttonSpace = '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
// general settings // general settings
echo "<td style=\"padding-bottom:0px;padding-right:5px;padding-left:5px;padding-top:10px;\">\n"; echo "<td class=\"settingsTab\">\n";
echo "<table class=\"settingsTab\" width=\"100%\">\n"; echo "<table class=\"settingsTab\" width=\"100%\">\n";
echo "<tr><td onclick=\"document.getElementsByName('generalSettingsButton')[0].click();\""; echo "<tr><td onclick=\"document.getElementsByName('generalSettingsButton')[0].click();\"";
echo " align=\"center\">\n"; echo " align=\"center\">\n";
@ -126,7 +126,7 @@ echo "<tr>\n";
echo "</td></tr></table>\n"; echo "</td></tr></table>\n";
echo '</td>'; echo '</td>';
// account types // account types
echo "<td style=\"padding-bottom:0px;padding-right:5px;padding-left:5px;padding-top:10px;\">\n"; echo "<td class=\"settingsTab\">\n";
echo "<table class=\"settingsTab\" width=\"100%\">\n"; echo "<table class=\"settingsTab\" width=\"100%\">\n";
echo "<tr><td onclick=\"document.getElementsByName('edittypes')[0].click();\""; echo "<tr><td onclick=\"document.getElementsByName('edittypes')[0].click();\"";
echo " align=\"center\">\n"; echo " align=\"center\">\n";
@ -136,7 +136,7 @@ echo "<tr>\n";
echo "</td></tr></table>\n"; echo "</td></tr></table>\n";
echo '</td>'; echo '</td>';
// module selection // module selection
echo "<td style=\"padding-bottom:0px;padding-right:5px;padding-left:5px;padding-top:10px;\">\n"; echo "<td class=\"settingsTab\">\n";
echo "<table class=\"settingsTab\" width=\"100%\">\n"; echo "<table class=\"settingsTab\" width=\"100%\">\n";
echo "<tr><td onclick=\"document.getElementsByName('editmodules')[0].click();\""; echo "<tr><td onclick=\"document.getElementsByName('editmodules')[0].click();\"";
echo " align=\"center\">\n"; echo " align=\"center\">\n";
@ -146,7 +146,7 @@ echo "<tr>\n";
echo "</td></tr></table>\n"; echo "</td></tr></table>\n";
echo '</td>'; echo '</td>';
// module settings // module settings
echo "<td style=\"padding-bottom:0px;padding-right:5px;padding-left:5px;padding-top:10px;\">\n"; echo "<td class=\"settingsTab\">\n";
echo "<table class=\"settingsTab\" width=\"100%\">\n"; echo "<table class=\"settingsTab\" width=\"100%\">\n";
echo "<tr><td class=\"settingsActiveTab\" onclick=\"document.getElementsByName('moduleSettings')[0].click();\""; echo "<tr><td class=\"settingsActiveTab\" onclick=\"document.getElementsByName('moduleSettings')[0].click();\"";
echo " align=\"center\">\n"; echo " align=\"center\">\n";
@ -159,7 +159,7 @@ echo "<tr>\n";
// spacer // spacer
echo "<td width=\"100%\">&nbsp;</td>"; echo "<td width=\"100%\">&nbsp;</td>";
// save button // save button
echo "<td style=\"padding-bottom:0px;padding-right:5px;padding-left:5px;padding-top:10px;\">\n"; echo "<td class=\"settingsTab\">\n";
echo "<table class=\"settingsTab\" width=\"100%\">\n"; echo "<table class=\"settingsTab\" width=\"100%\">\n";
echo "<tr><td onclick=\"document.getElementsByName('saveSettings')[0].click();\""; echo "<tr><td onclick=\"document.getElementsByName('saveSettings')[0].click();\"";
echo " align=\"center\">\n"; echo " align=\"center\">\n";
@ -169,7 +169,7 @@ echo "<tr>\n";
echo "</td></tr></table>\n"; echo "</td></tr></table>\n";
echo '</td>'; echo '</td>';
// cancel button // cancel button
echo "<td style=\"padding-bottom:0px;padding-right:5px;padding-left:5px;padding-top:10px;\">\n"; echo "<td class=\"settingsTab\">\n";
echo "<table class=\"settingsTab\" width=\"100%\">\n"; echo "<table class=\"settingsTab\" width=\"100%\">\n";
echo "<tr><td onclick=\"document.getElementsByName('cancelSettings')[0].click();\""; echo "<tr><td onclick=\"document.getElementsByName('cancelSettings')[0].click();\"";
echo " align=\"center\">\n"; echo " align=\"center\">\n";