Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

Fixes for (X)HTML compatibility.

suessthomas5c5e6accdb4b
diff --git a/htroot/AccessTracker_p.html b/htroot/AccessTracker_p.html
index ce078ff0c..dd451938e 100644
--- a/htroot/AccessTracker_p.html
+++ b/htroot/AccessTracker_p.html
@@ -7,7 +7,7 @@
<body id="AccessTracker">
#%env/templates/header.template%#
#%env/templates/submenuAccessTracker.template%#
- <script src="/js/sorttable.js"></script>
+ <script type="text/javascript" src="/js/sorttable.js"></script>
#(page)#
<h2>Server Access Overview</h2>
<p>This is a list of #[num]# requests to the local http server within the last hour.</p>
diff --git a/htroot/Connections_p.html b/htroot/Connections_p.html
index 9cd846661..4e4eea516 100644
--- a/htroot/Connections_p.html
+++ b/htroot/Connections_p.html
@@ -6,9 +6,9 @@
<meta http-equiv="REFRESH" content="3" />
</head>
<body id="Connections">
- #%env/templates/header.template%#
- #%env/templates/submenuAccessTracker.template%#
- <script src="/js/sorttable.js"></script>
+ #%env/templates/header.template%#
+ #%env/templates/submenuAccessTracker.template%#
+ <script type="text/javascript" src="/js/sorttable.js"></script>
<h2>Server Connection Tracking</h2>
<h3>Incoming Connections</h3>
<p>Showing #[numActiveRunning]# active, #[numActivePending]# pending connections from a max. of #[numMax]# allowed incoming connections.</p>
@@ -34,29 +34,29 @@
</tr>
#{/list}#
</table>
-
- <h3>Outgoing Connections</h3>
- <p>Showing #[clientActive]# pooled outgoing connections used as:</p>
- <table class="sortable" border="0" cellpadding="2" cellspacing="1">
- <tr class="TableHeader" valign="bottom">
- <td>Protocol</td>
- <td>Duration</td>
- <td>Idle Time</td>
- <td>Dest. IP[:Port]</td>
- <td>Command</td>
- <td>ID</td>
- </tr>
- #{clientList}#
- <tr class="TableCell#(dark)#Light::Dark#(/dark)#">
- <td>#[clientProtocol]#</td>
- <td>#[clientLifetime]#</td>
- <td>#[clientIdletime]#</td>
- <td>#[clientTargetHost]#</td>
- <td>#[clientCommand]#</td>
- <td>#[clientID]#</td>
- </tr>
- #{/clientList}#
- </table>
+
+ <h3>Outgoing Connections</h3>
+ <p>Showing #[clientActive]# pooled outgoing connections used as:</p>
+ <table class="sortable" border="0" cellpadding="2" cellspacing="1">
+ <tr class="TableHeader" valign="bottom">
+ <td>Protocol</td>
+ <td>Duration</td>
+ <td>Idle Time</td>
+ <td>Dest. IP[:Port]</td>
+ <td>Command</td>
+ <td>ID</td>
+ </tr>
+ #{clientList}#
+ <tr class="TableCell#(dark)#Light::Dark#(/dark)#">
+ <td>#[clientProtocol]#</td>
+ <td>#[clientLifetime]#</td>
+ <td>#[clientIdletime]#</td>
+ <td>#[clientTargetHost]#</td>
+ <td>#[clientCommand]#</td>
+ <td>#[clientID]#</td>
+ </tr>
+ #{/clientList}#
+ </table>
#%env/templates/footer.template%#
</body>
diff --git a/htroot/IndexControlURLs_p.html b/htroot/IndexControlURLs_p.html
index f809dd2c6..6f5b41cae 100644
--- a/htroot/IndexControlURLs_p.html
+++ b/htroot/IndexControlURLs_p.html
@@ -4,7 +4,7 @@
<head>
<title>YaCy '#[clientname]#': Index Control</title>
#%env/templates/metas.template%#
- <script language="Javascript">
+ <script type="text/javascript">
//<![CDATA[
function xmlhttpPost() {
var searchform = document.forms['searchform'];
diff --git a/htroot/IndexImportOAIPMHList_p.html b/htroot/IndexImportOAIPMHList_p.html
index 2b2e78440..c067ab712 100644
--- a/htroot/IndexImportOAIPMHList_p.html
+++ b/htroot/IndexImportOAIPMHList_p.html
@@ -4,7 +4,7 @@
<title>YaCy '#[clientname]#': OAI-PMH source import list</title>
#%env/templates/metas.template%#
#(refresh)#::<meta http-equiv="REFRESH" content="6" />#(/refresh)#
- <script>
+ <script type="text/javascript">
<!--
function setall(name, check){
var selectForm = document.forms.namedItem(name);
@@ -21,7 +21,7 @@
}
-->
</script>
- <script src="/js/sorttable.js"></script>
+ <script type="text/javascript" src="/js/sorttable.js"></script>
</head>
<body>
#(source)#::
diff --git a/htroot/Network.html b/htroot/Network.html
index e1f5e40eb..77dbc54ad 100644
--- a/htroot/Network.html
+++ b/htroot/Network.html
@@ -17,7 +17,8 @@
document.write("\<a href=\"Network.xml?" + window.location.search.substring(1) + "\"\>")
//]]>
</script>
-<script src="/js/sorttable.js"></script>
+<script type="text/javascript" src="/js/sorttable.js">
+</script>
<img src="/env/grafics/api.png" width="60" height="40" alt="API"/></a>
<span>The information that is presented on this page can also be retrieved as XML
Click the API icon to see the XML.
@@ -302,4 +303,4 @@ To see a list of all APIs, please visit the <a href="http://www.yacy-websuche.de
#(/table)#
#%env/templates/footer.template%#
</body>
-</html>
+</html>
\ No newline at end of file
diff --git a/htroot/Table_API_p.html b/htroot/Table_API_p.html
index 8cc480f17..fb0e13869 100644
--- a/htroot/Table_API_p.html
+++ b/htroot/Table_API_p.html
@@ -6,7 +6,7 @@
<link rel="alternate" type="application/xml" title="Tables" href="Tables.rss?table=#[table]#" />
#(/showtable)#
#%env/templates/metas.template%#
- <script>
+ <script type="text/javascript">
<!--
function setall(name, check){
var selectForm = document.forms.namedItem(name);
@@ -23,7 +23,7 @@
}
-->
</script>
- <script src="/js/sorttable.js"></script>
+ <script type="text/javascript" src="/js/sorttable.js"></script>
</head>
<body id="Tables">
#%env/templates/header.template%#
diff --git a/htroot/Tables_p.html b/htroot/Tables_p.html
index 34f42694b..0119b1d1b 100644
--- a/htroot/Tables_p.html
+++ b/htroot/Tables_p.html
@@ -6,7 +6,7 @@
<link rel="alternate" type="application/xml" title="Tables" href="Tables.rss?table=#[table]#" />
#(/showtable)#
#%env/templates/metas.template%#
- <script>
+ <script type="text/javascript">
<!--
function setall(name, check){
var selectForm = document.forms.namedItem(name);
@@ -23,7 +23,7 @@
}
-->
</script>
- <script src="/js/sorttable.js"></script>
+ <script type="text/javascript" src="/js/sorttable.js"></script>
</head>
<body id="Tables">
#%env/templates/header.template%#
diff --git a/htroot/Trails.html b/htroot/Trails.html
index befd1a2c1..8110ed7cf 100644
--- a/htroot/Trails.html
+++ b/htroot/Trails.html
@@ -3,7 +3,7 @@
<head>
<title>CyTag Trails</title>
#%env/templates/metas.template%#
-<script language="Javascript">
+<script type="text/javascript">
function search() {
var xmlHttpReq = false;
var self = this;
diff --git a/htroot/api/table_p.html b/htroot/api/table_p.html
index 6a32b267f..38a301b49 100644
--- a/htroot/api/table_p.html
+++ b/htroot/api/table_p.html
@@ -7,7 +7,7 @@
#(/showtable)#
#%env/templates/metas.template%#
</head>
- <script src="/js/sorttable.js"></script>
+ <script type="text/javascript" src="/js/sorttable.js"></script>
<body id="Table">
#(showtable)#::
<form action="/Tables_p.html" method="post" target="_parent" enctype="multipart/form-data" accept-charset="UTF-8" name="tablelisting">
diff --git a/htroot/sharedBlacklist_p.html b/htroot/sharedBlacklist_p.html
index b809e6ef0..75a2eafc0 100644
--- a/htroot/sharedBlacklist_p.html
+++ b/htroot/sharedBlacklist_p.html
@@ -3,7 +3,7 @@
<head>
<title>YaCy '#[clientname]#': Shared Blacklist</title>
#%env/templates/metas.template%#
- <script>
+ <script type="text/javascript">
<!--
function selectall(name){
var selectForm = document.forms.namedItem(name);
diff --git a/htroot/yacyinteractive.html b/htroot/yacyinteractive.html
index f56903f48..9a7117702 100644
--- a/htroot/yacyinteractive.html
+++ b/htroot/yacyinteractive.html
@@ -3,7 +3,7 @@
<head>
<title>YaCy Interactive Search</title>
#%env/templates/metas.template%#
-<script language="Javascript">
+<script type="text/javascript">
//<![CDATA[
function xmlhttpPost() {
var searchform = document.forms['searchform'];