cleanup prefs tables display

This commit is contained in:
Andrew Dolgov 2005-12-11 08:29:42 +01:00
parent 4da47970fb
commit a426e532a6
2 changed files with 19 additions and 12 deletions

View File

@ -1658,7 +1658,7 @@
if (!get_pref($link, 'ENABLE_FEED_CATS')) { if (!get_pref($link, 'ENABLE_FEED_CATS')) {
print "<tr class=\"title\"> print "<tr class=\"title\">
<td width='5%' align='center'>Select</td> <td width='5%' align='center'></td>
<td width='30%'><a href=\"javascript:updateFeedList('title')\">Title</a></td> <td width='30%'><a href=\"javascript:updateFeedList('title')\">Title</a></td>
<td width='30%'><a href=\"javascript:updateFeedList('feed_url')\">Link</a></td> <td width='30%'><a href=\"javascript:updateFeedList('feed_url')\">Link</a></td>
<td width='15%'><a href=\"javascript:updateFeedList('update_interval')\">Update Interval</a></td> <td width='15%'><a href=\"javascript:updateFeedList('update_interval')\">Update Interval</a></td>
@ -1692,7 +1692,7 @@
print "<tr><td colspan=\"6\" class=\"feedEditCat\">$edit_cat</td></tr>"; print "<tr><td colspan=\"6\" class=\"feedEditCat\">$edit_cat</td></tr>";
print "<tr class=\"title\"> print "<tr class=\"title\">
<td width='5%' align='center'>Select</td> <td width='5%' align='center'></td>
<td width='30%'><a href=\"javascript:updateFeedList('title')\">Title</a></td> <td width='30%'><a href=\"javascript:updateFeedList('title')\">Title</a></td>
<td width='30%'><a href=\"javascript:updateFeedList('feed_url')\">Link</a></td> <td width='30%'><a href=\"javascript:updateFeedList('feed_url')\">Link</a></td>
<td width='15%'><a href=\"javascript:updateFeedList('update_interval')\">Update Interval</a></td> <td width='15%'><a href=\"javascript:updateFeedList('update_interval')\">Update Interval</a></td>
@ -1844,7 +1844,7 @@
</td</tr>"; </td</tr>";
print "<tr class=\"title\"> print "<tr class=\"title\">
<td width=\"10%\">Select</td><td width=\"80%\">Title</td> <td width=\"5%\"></td><td width=\"80%\">Title</td>
</tr>"; </tr>";
$lnum = 0; $lnum = 0;
@ -1870,7 +1870,7 @@
if (!$edit_cat_id || $subop != "editCat") { if (!$edit_cat_id || $subop != "editCat") {
print "<td><input onclick='toggleSelectRow(this);' print "<td align='center'><input onclick='toggleSelectRow(this);'
type=\"checkbox\" id=\"FCCHK-".$line["id"]."\"></td>"; type=\"checkbox\" id=\"FCCHK-".$line["id"]."\"></td>";
print "<td><a href=\"javascript:editFeedCat($cat_id);\">" . print "<td><a href=\"javascript:editFeedCat($cat_id);\">" .
@ -2081,7 +2081,7 @@
</td</tr>"; </td</tr>";
print "<tr class=\"title\"> print "<tr class=\"title\">
<td width=\"5%\">Select</td> <td align='center' width=\"5%\"></td>
<td width=\"20%\">Filter expression</td> <td width=\"20%\">Filter expression</td>
<td width=\"20%\">Feed</td> <td width=\"20%\">Feed</td>
<td width=\"15%\">Match</td> <td width=\"15%\">Match</td>
@ -2115,7 +2115,7 @@
if (!$line["description"]) $line["description"] = "[No description]"; if (!$line["description"]) $line["description"] = "[No description]";
print "<td><input onclick='toggleSelectRow(this);' print "<td align='center'><input onclick='toggleSelectRow(this);'
type=\"checkbox\" id=\"FICHK-".$line["id"]."\"></td>"; type=\"checkbox\" id=\"FICHK-".$line["id"]."\"></td>";
print "<td><a href=\"javascript:editFilter($filter_id);\">" . print "<td><a href=\"javascript:editFilter($filter_id);\">" .
@ -2376,7 +2376,7 @@
</td</tr>"; </td</tr>";
print "<tr class=\"title\"> print "<tr class=\"title\">
<td width=\"5%\">Select</td><td width=\"40%\">SQL expression <td align='center' width=\"5%\"></td><td width=\"40%\">SQL expression
<a class=\"helpLink\" href=\"javascript:displayHelpInfobox(1)\">(?)</a> <a class=\"helpLink\" href=\"javascript:displayHelpInfobox(1)\">(?)</a>
</td> </td>
<td width=\"40%\">Caption</td></tr>"; <td width=\"40%\">Caption</td></tr>";
@ -2406,7 +2406,7 @@
if (!$line["description"]) $line["description"] = "[No caption]"; if (!$line["description"]) $line["description"] = "[No caption]";
print "<td><input onclick='toggleSelectRow(this);' print "<td align='center'><input onclick='toggleSelectRow(this);'
type=\"checkbox\" id=\"LICHK-".$line["id"]."\"></td>"; type=\"checkbox\" id=\"LICHK-".$line["id"]."\"></td>";
print "<td><a href=\"javascript:editLabel($label_id);\">" . print "<td><a href=\"javascript:editLabel($label_id);\">" .
@ -3099,7 +3099,7 @@
</td</tr>"; </td</tr>";
print "<tr class=\"title\"> print "<tr class=\"title\">
<td width=\"5%\">Select</td> <td align='center' width=\"5%\"></td>
<td width='30%'>Username</td> <td width='30%'>Username</td>
<td width='30%'>Access Level</td> <td width='30%'>Access Level</td>
<td width='30%'>Last login</td></tr>"; <td width='30%'>Last login</td></tr>";
@ -3129,7 +3129,7 @@
if ($uid == $_SESSION["uid"]) { if ($uid == $_SESSION["uid"]) {
print "<td><input disabled=\"true\" type=\"checkbox\" print "<td align='center'><input disabled=\"true\" type=\"checkbox\"
id=\"UMCHK-".$line["id"]."\"></td>"; id=\"UMCHK-".$line["id"]."\"></td>";
print "<td>".$line["login"]."</td>"; print "<td>".$line["login"]."</td>";
@ -3137,7 +3137,7 @@
} else if (!$edit_uid || $subop != "edit") { } else if (!$edit_uid || $subop != "edit") {
print "<td><input onclick='toggleSelectRow(this);' print "<td align='center'><input onclick='toggleSelectRow(this);'
type=\"checkbox\" id=\"UMCHK-$uid\"></td>"; type=\"checkbox\" id=\"UMCHK-$uid\"></td>";
print "<td><a href=\"javascript:editUser($uid);\">" . print "<td><a href=\"javascript:editUser($uid);\">" .

View File

@ -444,13 +444,20 @@ input {
/* preferences */ /* preferences */
tr.title td { tr.title td {
font-weight : bold;
border-width : 0px 0px 1px 0px; border-width : 0px 0px 1px 0px;
border-color : #f0f0f0; border-color : #f0f0f0;
border-style : solid; border-style : solid;
font-size : x-small; font-size : x-small;
color : gray;
} }
tr.title td a {
color : gray;
}
tr.title td a:hover {
color : #5050aa;
}
table.prefFeedList td.feedEditCat { table.prefFeedList td.feedEditCat {
font-size : large; font-size : large;