Skip to content

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

moved skin selection to config menu

orbiterbfec51969dd5
diff --git a/htroot/Skins_p.html b/htroot/ConfigSkins_p.html
similarity index 88%
rename from htroot/Skins_p.html
rename to htroot/ConfigSkins_p.html
index c034a7914..1033d210c 100644
--- a/htroot/Skins_p.html
+++ b/htroot/ConfigSkins_p.html
@@ -6,8 +6,9 @@
</head>
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
#%env/templates/header.template%#
-<br><br>
-<h2>Skin selection</h2>
+#%env/templates/submenuConfig.template%#
+<br>
+<h2>Skin Selection</h2>
<p>
You can change the appearance of YaCy with skins. Select one of the default skins, download new skins, or create your own skin.</p>
<p>
@@ -28,7 +29,7 @@ Available Skins:
</td>
<td valign="top" class="TableCellLight">
-<form action="Skins_p.html">
+<form action="ConfigSkins_p.html">
<select size="10" name="skin">
#{skinlist}#
<option value="#[file]#">#[name]#</option>
@@ -42,7 +43,7 @@ Available Skins:
</tr>
<tr>
<td valign="top" class="TableCellDark">
-<form action="Skins_p.html">
+<form action="ConfigSkins_p.html">
Install new skin from URL:
</td>
<td valign="top" class="TableCellLight">
diff --git a/htroot/Skins_p.java b/htroot/ConfigSkins_p.java
similarity index 96%
rename from htroot/Skins_p.java
rename to htroot/ConfigSkins_p.java
index 9b24ea565..0cfdfdbf5 100644
--- a/htroot/Skins_p.java
+++ b/htroot/ConfigSkins_p.java
@@ -1,4 +1,4 @@
-// Skins_p.java
+// ConfigSkins_p.java
// -----------------------
// part of YACY
// (C) by Michael Peter Christen; [email protected]
@@ -62,7 +62,7 @@ import de.anomic.server.serverFileUtils;
import de.anomic.server.serverObjects;
import de.anomic.server.serverSwitch;
-public class Skins_p {
+public class ConfigSkins_p {
private static boolean copyFile(File from, File to){
if(from == null || to == null){
diff --git a/htroot/env/templates/submenuConfig.template b/htroot/env/templates/submenuConfig.template
index 499c7bad4..f6a9b15aa 100644
--- a/htroot/env/templates/submenuConfig.template
+++ b/htroot/env/templates/submenuConfig.template
@@ -1,17 +1,20 @@
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="SubMenu">
-<tr height="10"><td colspan="7" class="MenuHeader">&nbsp;Peer Configuration Menu</td></tr>
-<tr height="2"><td colspan="7"></td></tr>
+<tr height="10"><td colspan="9" class="MenuHeader">&nbsp;Peer Configuration Menu</td></tr>
+<tr height="2"><td colspan="9"></td></tr>
<tr class="TableHeader">
-<td width="25%" class="MenuSubItem">&nbsp;<img border="0" src="/env/grafics/lock.gif" align="top">&nbsp;
-<a href="/ConfigBasic.html" class="MenuItemLink">Basic Settings</a>&nbsp;</td>
+<td width="22%" class="MenuSubItem">&nbsp;<img border="0" src="/env/grafics/lock.gif" align="top">&nbsp;
+<a href="/ConfigBasic.html" class="MenuItemLink">Basic Configuraton</a>&nbsp;</td>
<td class="MenuSubSpacer"></td>
-<td width="25%" class="MenuSubItem">&nbsp;<img border="0" src="/env/grafics/lock.gif" align="top">&nbsp;
+<td width="22%" class="MenuSubItem">&nbsp;<img border="0" src="/env/grafics/lock.gif" align="top">&nbsp;
<a href="/ConfigLanguage_p.html" class="MenuItemLink">Language</a>&nbsp;</td>
<td class="MenuSubSpacer"></td>
-<td width="25%" class="MenuSubItem">&nbsp;<img border="0" src="/env/grafics/lock.gif" align="top">&nbsp;
-<a href="/ConfigProfile_p.html" class="MenuItemLink">Profile</a>&nbsp;</td>
+<td width="22%" class="MenuSubItem">&nbsp;<img border="0" src="/env/grafics/lock.gif" align="top">&nbsp;
+<a href="/ConfigProfile_p.html" class="MenuItemLink">Peer Profile</a>&nbsp;</td>
<td class="MenuSubSpacer"></td>
-<td width="25%" class="MenuSubItem">&nbsp;<img border="0" src="/env/grafics/lock.gif" align="top">&nbsp;
+<td width="22%" class="MenuSubItem">&nbsp;<img border="0" src="/env/grafics/lock.gif" align="top">&nbsp;
+<a href="/ConfigSkins_p.html" class="MenuItemLink">Interface Skins</a>&nbsp;</td>
+<td class="MenuSubSpacer"></td>
+<td width="12%" class="MenuSubItem">&nbsp;<img border="0" src="/env/grafics/lock.gif" align="top">&nbsp;
<a href="/ConfigAdvanced_p.html" class="MenuItemLink">Advanced</a>&nbsp;</td>
</tr>
</table>
\ No newline at end of file