moved tab style to CSS
This commit is contained in:
parent
8fb3799530
commit
25167ce68a
|
@ -1463,7 +1463,7 @@ class accountContainer {
|
|||
if ($buttonStatus == 'hidden') continue;
|
||||
$class = $this->type . "list-head";
|
||||
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 "<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";
|
||||
|
|
|
@ -100,6 +100,13 @@ table.settingsTab input {
|
|||
border:0px solid;
|
||||
}
|
||||
|
||||
td.settingsTab {
|
||||
padding-bottom:0px;
|
||||
padding-right:5px;
|
||||
padding-left:5px;
|
||||
padding-top:10px;
|
||||
}
|
||||
|
||||
/**
|
||||
* table style for delete.php
|
||||
*
|
||||
|
|
|
@ -151,7 +151,7 @@ echo "<table width=\"100%\" border=0 style=\"border-collapse: collapse;\">";
|
|||
echo "<tr>\n";
|
||||
$buttonSpace = ' ';
|
||||
// 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 "<tr><td class=\"settingsActiveTab\" onclick=\"document.getElementsByName('generalSettingsButton')[0].click();\"";
|
||||
echo " align=\"center\">\n";
|
||||
|
@ -161,7 +161,7 @@ echo "<tr>\n";
|
|||
echo "</td></tr></table>\n";
|
||||
echo '</td>';
|
||||
// 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 "<tr><td onclick=\"document.getElementsByName('edittypes')[0].click();\"";
|
||||
echo " align=\"center\">\n";
|
||||
|
@ -171,7 +171,7 @@ echo "<tr>\n";
|
|||
echo "</td></tr></table>\n";
|
||||
echo '</td>';
|
||||
// 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 "<tr><td onclick=\"document.getElementsByName('editmodules')[0].click();\"";
|
||||
echo " align=\"center\">\n";
|
||||
|
@ -181,7 +181,7 @@ echo "<tr>\n";
|
|||
echo "</td></tr></table>\n";
|
||||
echo '</td>';
|
||||
// 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 "<tr><td onclick=\"document.getElementsByName('moduleSettings')[0].click();\"";
|
||||
echo " align=\"center\">\n";
|
||||
|
@ -194,7 +194,7 @@ echo "<tr>\n";
|
|||
// spacer
|
||||
echo "<td width=\"100%\"> </td>";
|
||||
// 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 "<tr><td onclick=\"document.getElementsByName('saveSettings')[0].click();\"";
|
||||
echo " align=\"center\">\n";
|
||||
|
@ -204,7 +204,7 @@ echo "<tr>\n";
|
|||
echo "</td></tr></table>\n";
|
||||
echo '</td>';
|
||||
// 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 "<tr><td onclick=\"document.getElementsByName('cancelSettings')[0].click();\"";
|
||||
echo " align=\"center\">\n";
|
||||
|
|
|
@ -117,7 +117,7 @@ echo "<table width=\"100%\" border=0 style=\"border-collapse: collapse;\">";
|
|||
echo "<tr>\n";
|
||||
$buttonSpace = ' ';
|
||||
// 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 "<tr><td onclick=\"document.getElementsByName('generalSettingsButton')[0].click();\"";
|
||||
echo " align=\"center\">\n";
|
||||
|
@ -127,7 +127,7 @@ echo "<tr>\n";
|
|||
echo "</td></tr></table>\n";
|
||||
echo '</td>';
|
||||
// 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 "<tr><td onclick=\"document.getElementsByName('edittypes')[0].click();\"";
|
||||
echo " align=\"center\">\n";
|
||||
|
@ -137,7 +137,7 @@ echo "<tr>\n";
|
|||
echo "</td></tr></table>\n";
|
||||
echo '</td>';
|
||||
// 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 "<tr><td class=\"settingsActiveTab\" onclick=\"document.getElementsByName('editmodules')[0].click();\"";
|
||||
echo " align=\"center\">\n";
|
||||
|
@ -147,7 +147,7 @@ echo "<tr>\n";
|
|||
echo "</td></tr></table>\n";
|
||||
echo '</td>';
|
||||
// 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 "<tr><td onclick=\"document.getElementsByName('moduleSettings')[0].click();\"";
|
||||
echo " align=\"center\">\n";
|
||||
|
@ -160,7 +160,7 @@ echo "<tr>\n";
|
|||
// spacer
|
||||
echo "<td width=\"100%\"> </td>";
|
||||
// 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 "<tr><td onclick=\"document.getElementsByName('saveSettings')[0].click();\"";
|
||||
echo " align=\"center\">\n";
|
||||
|
@ -170,7 +170,7 @@ echo "<tr>\n";
|
|||
echo "</td></tr></table>\n";
|
||||
echo '</td>';
|
||||
// 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 "<tr><td onclick=\"document.getElementsByName('cancelSettings')[0].click();\"";
|
||||
echo " align=\"center\">\n";
|
||||
|
|
|
@ -132,7 +132,7 @@ echo "<table width=\"100%\" border=0 style=\"border-collapse: collapse;\">";
|
|||
echo "<tr>\n";
|
||||
$buttonSpace = ' ';
|
||||
// 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 "<tr><td onclick=\"document.getElementsByName('generalSettingsButton')[0].click();\"";
|
||||
echo " align=\"center\">\n";
|
||||
|
@ -142,7 +142,7 @@ echo "<tr>\n";
|
|||
echo "</td></tr></table>\n";
|
||||
echo '</td>';
|
||||
// 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 "<tr><td class=\"settingsActiveTab\" onclick=\"document.getElementsByName('edittypes')[0].click();\"";
|
||||
echo " align=\"center\">\n";
|
||||
|
@ -152,7 +152,7 @@ echo "<tr>\n";
|
|||
echo "</td></tr></table>\n";
|
||||
echo '</td>';
|
||||
// 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 "<tr><td onclick=\"document.getElementsByName('editmodules')[0].click();\"";
|
||||
echo " align=\"center\">\n";
|
||||
|
@ -162,7 +162,7 @@ echo "<tr>\n";
|
|||
echo "</td></tr></table>\n";
|
||||
echo '</td>';
|
||||
// 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 "<tr><td onclick=\"document.getElementsByName('moduleSettings')[0].click();\"";
|
||||
echo " align=\"center\">\n";
|
||||
|
@ -175,7 +175,7 @@ echo "<tr>\n";
|
|||
// spacer
|
||||
echo "<td width=\"100%\"> </td>";
|
||||
// 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 "<tr><td onclick=\"document.getElementsByName('saveSettings')[0].click();\"";
|
||||
echo " align=\"center\">\n";
|
||||
|
@ -185,7 +185,7 @@ echo "<tr>\n";
|
|||
echo "</td></tr></table>\n";
|
||||
echo '</td>';
|
||||
// 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 "<tr><td onclick=\"document.getElementsByName('cancelSettings')[0].click();\"";
|
||||
echo " align=\"center\">\n";
|
||||
|
|
|
@ -116,7 +116,7 @@ echo "<table width=\"100%\" border=0 style=\"border-collapse: collapse;\">";
|
|||
echo "<tr>\n";
|
||||
$buttonSpace = ' ';
|
||||
// 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 "<tr><td onclick=\"document.getElementsByName('generalSettingsButton')[0].click();\"";
|
||||
echo " align=\"center\">\n";
|
||||
|
@ -126,7 +126,7 @@ echo "<tr>\n";
|
|||
echo "</td></tr></table>\n";
|
||||
echo '</td>';
|
||||
// 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 "<tr><td onclick=\"document.getElementsByName('edittypes')[0].click();\"";
|
||||
echo " align=\"center\">\n";
|
||||
|
@ -136,7 +136,7 @@ echo "<tr>\n";
|
|||
echo "</td></tr></table>\n";
|
||||
echo '</td>';
|
||||
// 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 "<tr><td onclick=\"document.getElementsByName('editmodules')[0].click();\"";
|
||||
echo " align=\"center\">\n";
|
||||
|
@ -146,7 +146,7 @@ echo "<tr>\n";
|
|||
echo "</td></tr></table>\n";
|
||||
echo '</td>';
|
||||
// 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 "<tr><td class=\"settingsActiveTab\" onclick=\"document.getElementsByName('moduleSettings')[0].click();\"";
|
||||
echo " align=\"center\">\n";
|
||||
|
@ -159,7 +159,7 @@ echo "<tr>\n";
|
|||
// spacer
|
||||
echo "<td width=\"100%\"> </td>";
|
||||
// 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 "<tr><td onclick=\"document.getElementsByName('saveSettings')[0].click();\"";
|
||||
echo " align=\"center\">\n";
|
||||
|
@ -169,7 +169,7 @@ echo "<tr>\n";
|
|||
echo "</td></tr></table>\n";
|
||||
echo '</td>';
|
||||
// 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 "<tr><td onclick=\"document.getElementsByName('cancelSettings')[0].click();\"";
|
||||
echo " align=\"center\">\n";
|
||||
|
|
Loading…
Reference in New Issue