1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-05 11:15:46 +01:00

use TH to markup the table headers in :marks/:qmarks output...again

This commit is contained in:
Doug Kearns
2007-08-19 17:21:00 +00:00
parent 44c2817743
commit 6d3b674064

View File

@@ -300,7 +300,7 @@ function Bookmarks() //{{{
match_tags = str.match(re_tags);
if (match_tags != null)
{
str = match_tags[match_tags.length-1]; // the last captured parenthesis is the rest of the string
str = match_tags[match_tags.length - 1]; // the last captured parenthesis is the rest of the string
tags = match_tags[3].split(",");
res.tags = res.tags.concat(tags);
}
@@ -382,7 +382,7 @@ function History() //{{{
var builder = historytree.builder.QueryInterface(Components.interfaces.nsIXULTreeBuilder);
var count = historytree.view.rowCount;
for (var i = count-1; i >= 0; i--)
for (var i = count - 1; i >= 0; i--)
{
var res = builder.getResourceAtIndex(i);
var url = res.Value;
@@ -743,7 +743,7 @@ function Marks() //{{{
}
}
var list = "<table><tr style=\"color: magenta\"><td>mark</td><td>line</td><td>col</td><td>file</td></tr>";
var list = "<table><tr align=\"left\" style=\"color: magenta\"><th>mark</th><th>line</th><th>col</th><th>file</th></tr>";
for (var i = 0; i < marks.length; i++)
{
list += "<tr>"
@@ -838,7 +838,7 @@ function QuickMarks() //{{{
}
}
var list = "<table><tr style=\"color: magenta\"><td>QuickMark</td><td>URL</td></tr>";
var list = "<table><tr align=\"left\" style=\"color: magenta\"><th>QuickMark</th><th>URL</th></tr>";
for (var i = 0; i < marks.length; i++)
{
list += "<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;" + marks[i][0] + "</td><td>" + marks[i][1] + "</td></tr>";