提交 d222cc6f authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 ad52cce5
......@@ -2,12 +2,14 @@
Copyright 2004-2008 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
Initial Developer: H2 Group
-->
<html>
<html><head>
<title>Source Code Viewer</title>
</head>
<script type="text/javascript">
// <!--
var line = 0, file = '';
var params = location.search.substring(1).split('&');
var tag = 'trunk/h2';
var tag = 'trunk/h2';
for (var i = 0; i<params.length; i++) {
var k = params[i].split('=');
var key = k[0], value = k[1];
......@@ -16,11 +18,11 @@ Initial Developer: H2 Group
} else if (key == 'file') {
file = value;
} else if (key == 'build') {
if (value == 64) {
tag = 'tags/version-1.0.' + value;
} else if (value >= 63) {
tag = 'tags/version-1.0.' + value + '/h2';
}
if (value == 64) {
tag = 'tags/version-1.0.' + value;
} else if (value >= 63) {
tag = 'tags/version-1.0.' + value + '/h2';
}
}
}
// -->
......@@ -29,7 +31,7 @@ Initial Developer: H2 Group
<table width="100%">
<tr>
<td style="width: 50px; vertical-align: top">
<script type="text/javascript">
<script type="text/javascript">
// <!--
for(var i = 1; i <= 5000; i++) {
if (line == i) {
......
......@@ -4525,6 +4525,42 @@ FAQ and Known Bugs
@search_1019_a
License
@sourceError_1000_h1
Online Error Analyzer
@sourceError_1001_a
Input
@sourceError_1002_h2
&nbsp; <a href="javascript:select('details')" id="detailsTab">Details</a> &nbsp; <a href="javascript:select('source')" id="sourceTab">Source Code</a>
@sourceError_1003_p
Fill in the error message and stack trace and click on 'Details' or 'Source Code':
@sourceError_1004_b
Error Code:
@sourceError_1005_b
Product Version:
@sourceError_1006_b
Message:
@sourceError_1007_b
More Information:
@sourceError_1008_b
Stack Trace:
@sourceError_1009_b
Source File:
@sourceError_1010_p
Raw file
@sourceError_1011_p
(fast; only Firefox)
@tutorial_1000_h1
Tutorial
......
......@@ -4534,6 +4534,42 @@ FAQ
@search_1019_a
ライセンス
@sourceError_1000_h1
#Online Error Analyzer
@sourceError_1001_a
#Input
@sourceError_1002_h2
#&nbsp; <a href="javascript:select('details')" id="detailsTab">Details</a> &nbsp; <a href="javascript:select('source')" id="sourceTab">Source Code</a>
@sourceError_1003_p
#Fill in the error message and stack trace and click on 'Details' or 'Source Code':
@sourceError_1004_b
#Error Code:
@sourceError_1005_b
#Product Version:
@sourceError_1006_b
メッセージ:
@sourceError_1007_b
#More Information:
@sourceError_1008_b
#Stack Trace:
@sourceError_1009_b
#Source File:
@sourceError_1010_p
#Raw file
@sourceError_1011_p
#(fast; only Firefox)
@tutorial_1000_h1
チュートリアル
......
......@@ -1507,6 +1507,18 @@ search_1016_a=Build
search_1017_a=History and Roadmap
search_1018_a=FAQ and Known Bugs
search_1019_a=License
sourceError_1000_h1=Online Error Analyzer
sourceError_1001_a=Input
sourceError_1002_h2=&nbsp; <a href\="javascript\:select('details')" id\="detailsTab">Details</a> &nbsp; <a href\="javascript\:select('source')" id\="sourceTab">Source Code</a>
sourceError_1003_p=Fill in the error message and stack trace and click on 'Details' or 'Source Code'\:
sourceError_1004_b=Error Code\:
sourceError_1005_b=Product Version\:
sourceError_1006_b=Message\:
sourceError_1007_b=More Information\:
sourceError_1008_b=Stack Trace\:
sourceError_1009_b=Source File\:
sourceError_1010_p=Raw file
sourceError_1011_p=(fast; only Firefox)
tutorial_1000_h1=Tutorial
tutorial_1001_a=Starting and Using the H2 Console
tutorial_1002_a=Connecting to a Database using JDBC
......
......@@ -64,7 +64,8 @@ public class LinkChecker {
ArrayList errors = new ArrayList();
for (Iterator it = links.keySet().iterator(); it.hasNext();) {
String link = (String) it.next();
if (!link.startsWith("http") && !link.endsWith("h2.pdf") && link.indexOf("_ja.") < 0) {
if (!link.startsWith("http") && !link.endsWith("h2.pdf")
&& link.indexOf("_ja.") < 0) {
if (targets.get(link) == null) {
errors.add(links.get(link) + ": missing link " + link);
}
......@@ -161,6 +162,12 @@ public class LinkChecker {
if (type.equals("href")) {
if (ref.startsWith("http:") || ref.startsWith("https:")) {
// ok
} else if (ref.startsWith("javascript:")) {
ref = null;
// ok
} else if (ref.length() == 0) {
ref = null;
// ok
} else if (ref.startsWith("#")) {
ref = path + ref;
} else {
......@@ -175,7 +182,9 @@ public class LinkChecker {
}
ref = p + "/" + ref;
}
links.put(ref, path);
if (ref != null) {
links.put(ref, path);
}
} else if (type.equals("name")) {
targets.put(path + "#" + ref, "name");
} else {
......
......@@ -523,4 +523,4 @@ thousands ridvan incremented slots debugging inherit agar fulvio invisible biond
turkish fulfils iapi filesync
compares packets destroying echo homed hosts clock countries validated catches turning staging kills distance morning performs internationalization simulator constructed nicer
echo callablestatement procid homed getstart staging prices meantime qujd qujdra qui divided quaere restrictions hudson scoped design inverting newlines
violate verysmallint eremainder iee cgi adjust estimation consumption occupy ikvm
violate verysmallint eremainder iee cgi adjust estimation consumption occupy ikvm light gray viewer
......@@ -259,7 +259,7 @@ public class PrepareTranslation {
} else {
buff.append(clean(trim));
}
} else if ("pre".equals(tag) || "title".equals(tag) || "script".equals(tag)) {
} else if ("pre".equals(tag) || "title".equals(tag) || "script".equals(tag) || "style".equals(tag)) {
// ignore, don't translate
template.append(s);
} else {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论