Skip to content

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

added new submenu for index control

daburnaa4696fa92e52
diff --git a/htroot/IndexControl_p.html b/htroot/IndexControl_p.html
index 798bfc13a..6f70dd2e7 100644
--- a/htroot/IndexControl_p.html
+++ b/htroot/IndexControl_p.html
@@ -6,14 +6,13 @@
</head>
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
#%env/templates/header.template%#
+#%env/templates/submenuIndexControl.template%#
<br><br>
<h2>Index Administration</h2>
<form action="IndexControl_p.html" method="post" enctype="multipart/form-data">
+<p>The local index currently consists of (at least) #[wcount]# reverse word indexes and #[ucount]# URL references</p>
<p>
-The local index currently consists of (at least) #[wcount]# reverse word indexes and #[ucount]# URL references<br>
-To transfer the whole index to an other peer, click <a href="IndexTransfer_p.html">here</a>.<br>
-To import an index from a file or a foreign peer click <a href="IndexImport_p.html">here</a>.<br>
<table border="0" cellpadding="5" cellspacing="0">
<tr valign="top" class="TableCellDark">
<td width="70">Word</td>
diff --git a/htroot/IndexImport_p.html b/htroot/IndexImport_p.html
index 35367da8f..2ff058b66 100644
--- a/htroot/IndexImport_p.html
+++ b/htroot/IndexImport_p.html
@@ -7,6 +7,7 @@
</head>
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
#%env/templates/header.template%#
+#%env/templates/submenuIndexControl.template%#
<br><br>
<h2>Index DB Import</h2>
diff --git a/htroot/IndexTransfer_p.html b/htroot/IndexTransfer_p.html
index 715661409..cfe8cef89 100644
--- a/htroot/IndexTransfer_p.html
+++ b/htroot/IndexTransfer_p.html
@@ -7,6 +7,7 @@
</head>
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
#%env/templates/header.template%#
+#%env/templates/submenuIndexControl.template%#
<br><br>
<h2>Index Transfer</h2>
diff --git a/htroot/env/templates/submenuIndexControl.template b/htroot/env/templates/submenuIndexControl.template
new file mode 100644
index 000000000..e0b764440
--- /dev/null
+++ b/htroot/env/templates/submenuIndexControl.template
@@ -0,0 +1,14 @@
+<table width="100%" border="0" cellpadding="0" cellspacing="0" class="SubMenu">
+<tr height="10"><td colspan="17" class="MenuHeader">&nbsp;Index Control Menu</td></tr>
+<tr height="2"><td colspan="17"></td></tr>
+<tr class="TableHeader">
+<td width="33%" class="MenuSubItem">&nbsp;<img border="0" src="/env/grafics/lock.gif" align="top">&nbsp;
+<a href="/IndexControl_p.html" class="MenuItemLink">Index Administration</a>&nbsp;</td>
+<td class="MenuSubSpacer"></td>
+<td width="33%" class="MenuSubItem">&nbsp;<img border="0" src="/env/grafics/lock.gif" align="top">&nbsp;
+<a href="/IndexImport_p.html" class="MenuItemLink">Index Import</a>&nbsp;</td>
+<td class="MenuSubSpacer"></td>
+<td width="33%" class="MenuSubItem">&nbsp;<img border="0" src="/env/grafics/lock.gif" align="top">&nbsp;
+<a href="/IndexTransfer_p.html" class="MenuItemLink">Index Transfer</a>&nbsp;</td>
+</tr>
+</table>
\ No newline at end of file