Skip to content

Commit

Permalink
External links go to new browser instance
Browse files Browse the repository at this point in the history
  • Loading branch information
johncurrier committed Oct 28, 2005
1 parent dc68723 commit c789d0b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/net/sourceforge/schemaspy/view/HtmlFormatter.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ protected void writeHeader(Database db, Table table, String text, LineWriter out
out.write("SchemaSpy Analysis of ");
out.write(getDescription(db, table, text, true));
out.writeln("</h1></td>");
out.writeln(" <td class='heading' align='right' valign='top' title='John Currier - Creator of Cool Tools'>Generated by<br><span class='signature'><a href='http://schemaspy.sourceforge.net'>SchemaSpy</a></span></td>");
out.writeln(" <td class='heading' align='right' valign='top' title='John Currier - Creator of Cool Tools'>Generated by<br><span class='signature'><a href='http://schemaspy.sourceforge.net' target='_blank'>SchemaSpy</a></span></td>");
out.writeln(" </tr>");
out.writeln("</table>");
if (table == null) {
out.write("<table><tr><td class='tableHolder'>");
out.write("Generated by <span class='signature'><a href='http://schemaspy.sourceforge.net'>SchemaSpy</a></span> on ");
out.write("Generated by <span class='signature'><a href='http://schemaspy.sourceforge.net' target='_blank'>SchemaSpy</a></span> on ");
out.write(db.getConnectTime());
out.writeln("</td></tr></table>");
}
Expand Down Expand Up @@ -65,7 +65,7 @@ protected void writeTableOfContents(boolean showRelationships, boolean showOrpha
html.writeln("");
html.writeln(" </td>");
if (showLogo)
html.writeln(" <td class='tableHolder' align='right' valign='top'><a href=\"http://sourceforge.net\"><img src=\"http://sourceforge.net/sflogo.php?group_id=137197&amp;type=1\" alt=\"SourceForge.net\" border=\"0\" height=\"31\" width=\"88\"></a></td>");
html.writeln(" <td class='tableHolder' align='right' valign='top'><a href='http://sourceforge.net' target='_blank'><img src='http://sourceforge.net/sflogo.php?group_id=137197&amp;type=1' alt='SourceForge.net' border='0' height='31' width='88'></a></td>");
html.writeln(" </tr>");
html.writeln("</table>");
}
Expand Down Expand Up @@ -121,7 +121,7 @@ protected void writeLegend(boolean tableDetails, boolean graphDetails, LineWrite
out.writeln(" <tr>");
out.writeln(" <td class='dataTable' valign='bottom'>Legend:</td>");
if (sourceForgeLogoEnabled())
out.writeln(" <td class='tableHolder' align='right' valign='top'><a href=\"http://sourceforge.net\"><img src=\"http://sourceforge.net/sflogo.php?group_id=137197&amp;type=1\" alt=\"SourceForge.net\" border=\"0\" height=\"31\" width=\"88\"></a></td>");
out.writeln(" <td class='tableHolder' align='right' valign='top'><a href='http://sourceforge.net' target='_blank'><img src='http://sourceforge.net/sflogo.php?group_id=137197&amp;type=1' alt='SourceForge.net' border='0' height='31' width='88'></a></td>");
out.writeln(" </tr>");
out.writeln(" <tr><td class='tableHolder' colspan='2'>");
out.writeln(" <table class='dataTable' border='1'>");
Expand All @@ -133,19 +133,19 @@ protected void writeLegend(boolean tableDetails, boolean graphDetails, LineWrite
// comment this out until I can figure out a clean way to embed image references
//out.writeln(" <tr><td class='tableHolder'>Arrows go from children (foreign keys)" + (tableDetails ? "<br>" : " ") + "to parents (primary keys)</td></tr>");
if (graphDetails) {
out.writeln(" <tr><td class='ignoredColumn'>Ignored column" + (tableDetails ? "<br>" : " ") + "relationships</td></tr>");
out.writeln(" <tr><td class='ignoredColumn'>Ignored column relationships</td></tr>");
out.writeln(" <tr><td class='tableHolder'>Dashed lines show" + (tableDetails ? "<br>" : " ") + "implied relationships</td></tr>");
}
out.writeln(" </table>");
out.writeln(" </td></tr>");
out.writeln(" </table>");
out.writeln(" Please <a href=\"http://sourceforge.net/donate/index.php?group_id=137197\" target='_blank'>support</a> this project&nbsp;");
out.writeln(" Please <a href='http://sourceforge.net/donate/index.php?group_id=137197' target='_blank'>support</a> this project&nbsp;");
}

protected void writeExcludedColumns(Set excludedColumns, LineWriter html) throws IOException {
if (excludedColumns.size() > 0) {
html.writeln("<span class='ignoredRelationship'>");
html.writeln("<br>These columns were not evaluated in relationship analysis: ");
html.writeln("<br>These columns were not evaluated during analysis: ");
Iterator iter = excludedColumns.iterator();
while (iter.hasNext()) {
TableColumn column = (TableColumn)iter.next();
Expand Down

0 comments on commit c789d0b

Please sign in to comment.