*) Skin names and language names are displayed in alphabetical order in dropdown menu now.

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6421 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
low012 15 years ago
parent 56a5bd090d
commit ae42c51cf7

@ -48,6 +48,7 @@ import de.anomic.http.server.RequestHeader;
import de.anomic.search.Switchboard;
import de.anomic.server.serverObjects;
import de.anomic.server.serverSwitch;
import java.util.Collections;
public class ConfigAppearance_p {
@ -111,7 +112,8 @@ public class ConfigAppearance_p {
}
// reread skins
skinFiles = listManager.getDirListing(skinPath);
skinFiles = listManager.getDirListing(skinPath); // co
Collections.sort(skinFiles);
int count = 0;
for (String skinFile : skinFiles) {
if (skinFile.endsWith(".css")) {

@ -49,6 +49,7 @@ import de.anomic.http.server.HeaderFramework;
import de.anomic.http.server.RequestHeader;
import de.anomic.server.serverObjects;
import de.anomic.server.serverSwitch;
import java.util.Collections;
public class ConfigLanguage_p {
@ -111,6 +112,7 @@ public class ConfigLanguage_p {
//reread language files
langFiles = listManager.getDirListing(langPath);
Collections.sort(langFiles);
final HashMap<String, String> langNames = translator.langMap(env);
String langKey, langName;

Loading…
Cancel
Save