Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
moved skin selection to config menu
orbiterbfec51969dd5
diff --git a/htroot/Skins_p.html b/htroot/ConfigSkins_p.htmlsimilarity index 88%rename from htroot/Skins_p.htmlrename to htroot/ConfigSkins_p.htmlindex 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.javasimilarity index 96%rename from htroot/Skins_p.javarename to htroot/ConfigSkins_p.javaindex 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.templateindex 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"> Peer Configuration Menu</td></tr>-<tr height="2"><td colspan="7"></td></tr>+<tr height="10"><td colspan="9" class="MenuHeader"> Peer Configuration Menu</td></tr>+<tr height="2"><td colspan="9"></td></tr><tr class="TableHeader">-<td width="25%" class="MenuSubItem"> <img border="0" src="/env/grafics/lock.gif" align="top"> -<a href="/ConfigBasic.html" class="MenuItemLink">Basic Settings</a> </td>+<td width="22%" class="MenuSubItem"> <img border="0" src="/env/grafics/lock.gif" align="top"> +<a href="/ConfigBasic.html" class="MenuItemLink">Basic Configuraton</a> </td><td class="MenuSubSpacer"></td>-<td width="25%" class="MenuSubItem"> <img border="0" src="/env/grafics/lock.gif" align="top"> +<td width="22%" class="MenuSubItem"> <img border="0" src="/env/grafics/lock.gif" align="top"> <a href="/ConfigLanguage_p.html" class="MenuItemLink">Language</a> </td><td class="MenuSubSpacer"></td>-<td width="25%" class="MenuSubItem"> <img border="0" src="/env/grafics/lock.gif" align="top"> -<a href="/ConfigProfile_p.html" class="MenuItemLink">Profile</a> </td>+<td width="22%" class="MenuSubItem"> <img border="0" src="/env/grafics/lock.gif" align="top"> +<a href="/ConfigProfile_p.html" class="MenuItemLink">Peer Profile</a> </td><td class="MenuSubSpacer"></td>-<td width="25%" class="MenuSubItem"> <img border="0" src="/env/grafics/lock.gif" align="top"> +<td width="22%" class="MenuSubItem"> <img border="0" src="/env/grafics/lock.gif" align="top"> +<a href="/ConfigSkins_p.html" class="MenuItemLink">Interface Skins</a> </td>+<td class="MenuSubSpacer"></td>+<td width="12%" class="MenuSubItem"> <img border="0" src="/env/grafics/lock.gif" align="top"> <a href="/ConfigAdvanced_p.html" class="MenuItemLink">Advanced</a> </td></tr></table>\ No newline at end of file