Skip to content

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

Fixed ConfigSearchPage_p HTML validation errors.

luccioman8294374c10c6
diff --git a/htroot/ConfigSearchPage_p.html b/htroot/ConfigSearchPage_p.html
index 47453237e..c1a799fba 100644
--- a/htroot/ConfigSearchPage_p.html
+++ b/htroot/ConfigSearchPage_p.html
@@ -21,14 +21,14 @@
</p>
<h4>Page Template</h4>
- <form action="ConfigSearchPage_p.html" method="post" enctype="multipart/form-data" id="ConfigSearchPage" accept-charset="UTF-8">
+ <form action="ConfigSearchPage_p.html" method="post" enctype="multipart/form-data" id="ConfigSearchPageForm" accept-charset="UTF-8">
<input type="hidden" name="transactionToken" value="#[transactionToken]#"/>
- <table>
+ <table role="presentation">
<tr>
<td style="border-width: 1px; border-color: grey; border-style: solid; padding: 5px;">
- <table width="100%">
+ <table style="width:100%" role="presentation">
<tr>
- <td valign="middle"><input type="checkbox" name="publicTopmenu" value="true" #(publicTopmenu)#::checked="checked" #(/publicTopmenu)# /></td>
+ <td style="vertical-align: middle;"><input type="checkbox" name="publicTopmenu" value="true" #(publicTopmenu)#::checked="checked" #(/publicTopmenu)# /></td>
<td>
<!-- top navigation (imported from env/templates/simpleheader.template) -->
<div class="navbar navbar-default">
@@ -40,19 +40,19 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
- <div class="forceNoExternalIcon navbar-brand" id="navbar-brand" href="#" style="position:absolute;top:-6px;display:inline;white-space:nowrap;">
- <img id="greeting-icon" class="yacylogo" src="#[promoteSearchPageGreeting.smallImage]#" alt="#[promoteSearchPageGreeting.imageAlt]#" style="height:auto; width:auto; max-width:200px; max-height:32px;vertical-align:middle"/>&nbsp;<span id="greeting"></span>
- </div>
+ <a class="navbar-brand" id="navbar-brand-cfg" href="#[promoteSearchPageGreeting.homepage]#" style="position:absolute;top:-6px;display:inline;white-space:nowrap;">
+ <img id="greeting-icon" class="yacylogo" src="#[promoteSearchPageGreeting.smallImage]#" alt="#[promoteSearchPageGreeting.imageAlt]#" style="height:auto; width:auto; max-width:200px; max-height:32px;vertical-align:middle;float:left;">&nbsp;<span id="greeting" style="position:absolute; top:50%;float:left;"></span>
+ </a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
- <li id="header_search" class="dropdown">
+ <li id="header_search-cfg" class="dropdown">
<a href="#" data-toggle="dropdown" class="dropdown-toggle">Search Interfaces<b class="caret"></b></a>
</li>
- <li id="header_help" class="dropdown">
+ <li id="header_help-cfg" class="dropdown">
<a href="#" data-toggle="dropdown" class="dropdown-toggle" aria-label="Help" role="button"><span class="glyphicon glyphicon-question-sign"></span></a>
</li>
- <li id="header_administration">
+ <li id="header_administration-cfg">
<button class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-cog"></span> Administration &raquo;</button>
</li>
</ul>
@@ -62,19 +62,19 @@
</td>
</tr>
</table>
- <table>
+ <table role="presentation">
<tr>
<td>
<!-- the sidebar navigation -->
<div>
<fieldset>
- <table>
+ <table role="presentation">
<tr>
<td><input type="checkbox" name="search.navigation.protocol" value="true" #(search.navigation.protocol)#::checked="checked" #(/search.navigation.protocol)# /></td>
<td>
<p class="navbutton"></p>
<div class="btn-group">
- <span><button class="btn btn-default btn-xs">http</button><button class="btn btn-default btn-xs">https</button><button class="btn btn-default btn-xs">&nbsp;ftp&nbsp;</button><button class="btn btn-default btn-xs">&nbsp;smb&nbsp;</button><button class="btn btn-default btn-xs">file</button>
+ <span><button class="btn btn-default btn-xs">http</button><button class="btn btn-default btn-xs">https</button><button class="btn btn-default btn-xs">&nbsp;ftp&nbsp;</button><button class="btn btn-default btn-xs">&nbsp;smb&nbsp;</button><button class="btn btn-default btn-xs">file</button></span>
</div>
</td>
</tr>
@@ -99,7 +99,7 @@
<a href="#" target="LayouTest" style="text-decoration: none; font-size: 8px">Cloud</a>
<a href="#" target="LayouTest" style="text-decoration: none; font-size: 11px">Tag</a>
</div>
- <script type="text/javascript" charset="utf-8">
+ <script type="text/javascript">
$.fn.tagcloud.defaults = {
size: {start: 8, end: 16, unit: 'pt'},
};
@@ -117,7 +117,7 @@
<li><h3>Location</h3></li>
#(search.navigation.location)#::
<li>
- <img src="env/grafics/earthsearch.png" width="100%" height="86" alt="earthsearchlogo" /><br/>
+ <img src="env/grafics/earthsearch.png" style="width:100%" height="86" alt="earthsearchlogo" /><br/>
show search results on map
</li>#(/search.navigation.location)#
</ul></td>
@@ -130,7 +130,7 @@
</tr>
#{search.navigation.plugin}#
<tr>
- <td><button class="btn btn-xs" name="del.nav" value="#[name]#"><span class="glyphicon glyphicon-remove" style="color: red"/></button></td>
+ <td><button class="btn btn-xs" name="del.nav" value="#[name]#"><span class="glyphicon glyphicon-remove" style="color: red"></span></button></td>
<td><ul class="nav nav-sidebar menugroup" style="padding-left:15px; padding-right:10px;">
<li><h3>#[displayname]#</h3></li>
</ul><input type="hidden" name="search.navigation.active" value="#[name]#" />
@@ -154,7 +154,7 @@
</fieldset>
</div>
</td>
- <td valign="top">
+ <td style="vertical-align: top;">
<div style="float: left;">
<fieldset class="yacys">
<div class="input-group">
@@ -239,10 +239,10 @@ var solr= $.getJSON("solr/collection1/select?q=*:*&defType=edismax&start=0&rows=
<p>
<input type="checkbox" name="search.result.show.keywords" value="true" #(search.result.show.keywords)#::checked="checked" #(/search.result.show.keywords)# /> Tags: keyword subject keyword2 keyword3
</p>
- <p class="urlinfo">
- <table border="0">
+ <div class="urlinfo">
+ <table style="border-width:0">
<tr>
- <td width="15px"></td>
+ <td style="width:15px;"></td>
<td>#[content_showDate_date]#</td>
<td><span role="separator" aria-orientation="vertical">&nbsp;|&nbsp;</span>42 kbyte</td>
<td><span role="separator" aria-orientation="vertical">&nbsp;|&nbsp;</span><a href="solr/select?q=*:*&defType=edismax&start=0&rows=3&core=collection1&wt=html" target="LayouTest">Metadata</a></td>
@@ -257,23 +257,23 @@ var solr= $.getJSON("solr/collection1/select?q=*:*&defType=edismax&start=0&rows=
</tr>
<tr>
<td></td>
- <td align="center"><input type="checkbox" name="search.result.show.date" value="true" #(search.result.show.date)#::checked="checked" #(/search.result.show.date)# /></td>
- <td align="center"><input type="checkbox" name="search.result.show.size" value="true" #(search.result.show.size)#::checked="checked" #(/search.result.show.size)# /></td>
- <td align="center"><input type="checkbox" name="search.result.show.metadata" value="true" #(search.result.show.metadata)#::checked="checked" #(/search.result.show.metadata)# /></td>
- <td align="center"><input type="checkbox" name="search.result.show.parser" value="true" #(search.result.show.parser)#::checked="checked" #(/search.result.show.parser)# /></td>
- <td align="center"><input type="checkbox" name="search.result.show.citation" value="true" #(search.result.show.citation)#::checked="checked" #(/search.result.show.citation)# /></td>
- <td align="center"><input type="checkbox" name="search.result.show.pictures" value="true" #(search.result.show.pictures)#::checked="checked" #(/search.result.show.pictures)# /></td>
- <td align="center"><input type="checkbox" name="search.result.show.cache" value="true" #(search.result.show.cache)#::checked="checked" #(/search.result.show.cache)# /></td>
- <td align="center"><input type="checkbox" name="search.result.show.proxy" value="true" #(search.result.show.proxy)#::checked="checked" #(/search.result.show.proxy)# />
+ <td style="text-align:center;"><input type="checkbox" name="search.result.show.date" value="true" #(search.result.show.date)#::checked="checked" #(/search.result.show.date)# /></td>
+ <td style="text-align:center;"><input type="checkbox" name="search.result.show.size" value="true" #(search.result.show.size)#::checked="checked" #(/search.result.show.size)# /></td>
+ <td style="text-align:center;"><input type="checkbox" name="search.result.show.metadata" value="true" #(search.result.show.metadata)#::checked="checked" #(/search.result.show.metadata)# /></td>
+ <td style="text-align:center;"><input type="checkbox" name="search.result.show.parser" value="true" #(search.result.show.parser)#::checked="checked" #(/search.result.show.parser)# /></td>
+ <td style="text-align:center;"><input type="checkbox" name="search.result.show.citation" value="true" #(search.result.show.citation)#::checked="checked" #(/search.result.show.citation)# /></td>
+ <td style="text-align:center;"><input type="checkbox" name="search.result.show.pictures" value="true" #(search.result.show.pictures)#::checked="checked" #(/search.result.show.pictures)# /></td>
+ <td style="text-align:center;"><input type="checkbox" name="search.result.show.cache" value="true" #(search.result.show.cache)#::checked="checked" #(/search.result.show.cache)# /></td>
+ <td style="text-align:center;"><input type="checkbox" name="search.result.show.proxy" value="true" #(search.result.show.proxy)#::checked="checked" #(/search.result.show.proxy)# />
<span class="info" style="padding-left: 10px"><img src="env/grafics/i16.gif" alt="info"/><span>
For this option URL proxy must be enabled.<br>
see <a href="Settings_p.html?page=UrlProxyAccess">Settings_p.html</a><br>
menu: System Administration > Advanced Settings
</span></span>
</td>
- <td align="center"><input type="checkbox" name="search.result.show.hostbrowser" value="true" #(search.result.show.hostbrowser)#::checked="checked" #(/search.result.show.hostbrowser)# /></td>
- <td align="center"><input type="checkbox" name="search.result.show.snapshots" value="true" #(search.result.show.snapshots)#::checked="checked" #(/search.result.show.snapshots)# /></td>
- #(search.result.show.ranking)#::<td align="center">
+ <td style="text-align:center;"><input type="checkbox" name="search.result.show.hostbrowser" value="true" #(search.result.show.hostbrowser)#::checked="checked" #(/search.result.show.hostbrowser)# /></td>
+ <td style="text-align:center;"><input type="checkbox" name="search.result.show.snapshots" value="true" #(search.result.show.snapshots)#::checked="checked" #(/search.result.show.snapshots)# /></td>
+ #(search.result.show.ranking)#::<td style="text-align:center;">
<span class="info" style="padding-left: 10px"><img src="env/grafics/i16.gif" alt="info"/><span>
Ranking score value, mainly for debug/analysis purpose, configured in <a href="Settings_p.html?page=debug">Debug/Analysis Settings</a><br>
Menu: System Administration > Advanced Settings > Debug/Analysis Settings
@@ -282,7 +282,7 @@ var solr= $.getJSON("solr/collection1/select?q=*:*&defType=edismax&start=0&rows=
#(/search.result.show.ranking)#
</tr>
</table>
- </p>
+ </div>
</div>
</fieldset>
</div>
@@ -292,17 +292,18 @@ var solr= $.getJSON("solr/collection1/select?q=*:*&defType=edismax&start=0&rows=
</td>
</tr>
</table>
- <table>
+ <table role="presentation">
<tr>
<td>
<fieldset><legend>Add Navigators</legend>
- <label for="search.navigation.navname">append</label>
- <select type="text" name="search.navigation.navname">
- #{search.navigation.list}#
- <option value="#[name]#">#[displayname]#</option>
- #{/search.navigation.list}#
- </select>
- <button type="submit" name="add.nav" class="btn btn-xs btn-default" ><span class="glyphicon glyphicon-plus-sign" style="color: green"/></button><br>
+ <label>append
+ <select name="search.navigation.navname">
+ #{search.navigation.list}#
+ <option value="#[name]#">#[displayname]#</option>
+ #{/search.navigation.list}#
+ </select>
+ </label>
+ <button type="submit" name="add.nav" class="btn btn-xs btn-default" ><span class="glyphicon glyphicon-plus-sign" style="color: green"></span></button><br>
<label for="search.navigation.maxcount">max. items</label>
<input type="text" id="search.navigation.maxcount" name="search.navigation.maxcount" size="3" value="#[search.navigation.maxcount]#">
</fieldset>
@@ -316,5 +317,6 @@ var solr= $.getJSON("solr/collection1/select?q=*:*&defType=edismax&start=0&rows=
</tr>
</table>
</form>
+#%env/templates/footer.template%#
</body>
</html>
diff --git a/htroot/env/templates/footer.template b/htroot/env/templates/footer.template
index 2e9f7482c..e9dc72905 100644
--- a/htroot/env/templates/footer.template
+++ b/htroot/env/templates/footer.template
@@ -1,4 +1,4 @@
- </div>
- </div>
-</div>
+ </div> <!-- End of main page content -->
+ </div> <!-- End of main row container (navigators + content) -->
+</div> <!-- End of main container (navigators + content) -->