X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=src%2Forg%2Fcacert%2Fgigi%2Foutput%2FCertificateTable.java;h=836f3449a9f58406a22fc9b93267191e3c4c6d9d;hb=78c6b04860c66d34be008b6766b83c2f594b9909;hp=a3aa4b63993f4bdaf99b5925460a1aa5fba88ca5;hpb=593548a6309299e63fa56f54d97b569d9d704150;p=gigi.git diff --git a/src/org/cacert/gigi/output/CertificateTable.java b/src/org/cacert/gigi/output/CertificateTable.java index a3aa4b63..836f3449 100644 --- a/src/org/cacert/gigi/output/CertificateTable.java +++ b/src/org/cacert/gigi/output/CertificateTable.java @@ -28,7 +28,7 @@ public class CertificateTable implements Outputable { cells.add(new Cell("Revoked", true)); cells.add(new Cell("Expires", true)); cells.add(new Cell("Login", true)); - cells.add(new Cell("Comment *", true, "colspan=\"2\"")); + cells.add(new Cell("Comment *", true, 2)); rs.beforeFirst(); while (rs.next()) { // out.println(rs.getString("id")); @@ -45,18 +45,7 @@ public class CertificateTable implements Outputable { cells.add(new Cell(rs.getString("a"), false)); cells.add(new Cell(rs.getString("a"), false)); } - DataTable t = new DataTable() { - - @Override - protected LinkedList getTableContent() { - return cells; - } - - @Override - protected int getColoumnCount() { - return 8; - } - }; + DataTable t = new DataTable(9, cells); t.output(out, l, vars); out.println(""); } catch (SQLException e) {