Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
- replaced 'edit' link with a clone symbol in Table_API_p since that is what it does: it clones the crawl, it does not change the crawl. - moved the appearance of this clone link to the type column since this makes it visible also if the URL column is not visible.
Michael Peter Christen9fac9249bc20
diff --git a/htroot/Table_API_p.html b/htroot/Table_API_p.htmlindex 033b374cf..b2dfa8364 100644--- a/htroot/Table_API_p.html+++ b/htroot/Table_API_p.html@@ -84,14 +84,14 @@ To see a list of all APIs, please visit the <a href="http://www.yacy-websuche.de</tr>#{list}#<tr class="TableCell#(dark)#Light::Dark::Summary#(/dark)#" id="#[pk]#">- <td align="left"><input type="checkbox" name="item_#[count]#" value="mark_#[pk]#" /></td>- <td>#[type]#</td>- <td>#[comment]#</td>- <td>#[callcount]#</td>- <td>#[dateRecording]#</td>- <td>#[dateLastExec]#</td>- <td>#[dateNextExec]#</td>- <td>+ <td valign="top" align="left"><input type="checkbox" name="item_#[count]#" value="mark_#[pk]#" /></td>+ <td valign="top">#[type]##(isCrawlerStart)#::<br/><br/><a href="#[url]#" title="clone"><img src="/env/grafics/doc.gif"><img src="/env/grafics/right.gif"><img src="/env/grafics/doc.gif"></a>#(/isCrawlerStart)#</td>+ <td valign="top">#[comment]#</td>+ <td valign="top">#[callcount]#</td>+ <td valign="top">#[dateRecording]#</td>+ <td valign="top">#[dateLastExec]#</td>+ <td valign="top">#[dateNextExec]#</td>+ <td valign="top">#(event)#<select name="event_select_#[pk]#" onchange='submitchange("#[pk]#")'><option value="off" selected="selected">no event</option>@@ -137,7 +137,7 @@ To see a list of all APIs, please visit the <a href="http://www.yacy-websuche.de</table>#(/event)#</td>- <td>+ <td valign="top">#(scheduler)#<select name="repeat_select_#[pk]#" onchange='submitchange("#[pk]#")'#(disabled)#:: disabled="disabled"#(/disabled)#><option value="off" selected="selected">no repetition</option>@@ -161,7 +161,7 @@ To see a list of all APIs, please visit the <a href="http://www.yacy-websuche.de</table>#(/scheduler)#</td>- #(inline)#<td>#(isCrawlerStart)#::<a href="#[url]#">Edit</a> #(/isCrawlerStart)##[url]#</td>::#(/inline)#+ #(inline)#<td valign="top">#[url]#</td>::#(/inline)#</tr>#{/list}#</table>diff --git a/htroot/Table_API_p.java b/htroot/Table_API_p.javaindex 1b25a46be..7b0db6783 100644--- a/htroot/Table_API_p.java+++ b/htroot/Table_API_p.java@@ -290,9 +290,11 @@ public class Table_API_p {// check type & action to link crawl start URLs back to CrawlStartExpert_p.htmlif (prop.get("showtable_list_" + count + "_type", "").equals(WorkTables.TABLE_API_TYPE_CRAWLER)&& prop.get("showtable_list_" + count + "_comment", "").startsWith("crawl start for")) {- prop.put("showtable_list_" + count + "_inline_isCrawlerStart", 1);+ prop.put("showtable_list_" + count + "_isCrawlerStart", 1);final String editUrl = UTF8.String(row.get(WorkTables.TABLE_API_COL_URL)).replace("Crawler_p", "CrawlStartExpert_p");- prop.put("showtable_list_" + count + "_inline_isCrawlerStart_url", editUrl);+ prop.put("showtable_list_" + count + "_isCrawlerStart_url", editUrl);+ } else {+ prop.put("showtable_list_" + count + "_isCrawlerStart", 0);}prop.putHTML("showtable_list_" + count + "_inline_url", "http://" + sb.myPublicIP() + ":" + sb.getConfig("port", "8090") + UTF8.String(row.get(WorkTables.TABLE_API_COL_URL)));prop.put("showtable_list_" + count + "_scheduler_inline", inline ? "true" : "false");diff --git a/htroot/env/grafics/doc.gif b/htroot/env/grafics/doc.gifindex 326b81bbb..b686bf2c2 100644Binary files a/htroot/env/grafics/doc.gif and b/htroot/env/grafics/doc.gif differ