Skip to content

Commit

Permalink
*) Skin names and language names are displayed in alphabetical order …
Browse files Browse the repository at this point in the history
…in dropdown menu now.

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6421 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
low012 committed Oct 16, 2009
1 parent 56a5bd0 commit ae42c51
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion htroot/ConfigAppearance_p.java
Expand Up @@ -48,6 +48,7 @@
import de.anomic.search.Switchboard;
import de.anomic.server.serverObjects;
import de.anomic.server.serverSwitch;
import java.util.Collections;

public class ConfigAppearance_p {

Expand Down Expand Up @@ -111,7 +112,8 @@ public static serverObjects respond(final RequestHeader header, final serverObje
}

// 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")) {
Expand Down
2 changes: 2 additions & 0 deletions htroot/ConfigLanguage_p.java
Expand Up @@ -49,6 +49,7 @@
import de.anomic.http.server.RequestHeader;
import de.anomic.server.serverObjects;
import de.anomic.server.serverSwitch;
import java.util.Collections;


public class ConfigLanguage_p {
Expand Down Expand Up @@ -111,6 +112,7 @@ public static serverObjects respond(final RequestHeader header, final serverObje

//reread language files
langFiles = listManager.getDirListing(langPath);
Collections.sort(langFiles);
final HashMap<String, String> langNames = translator.langMap(env);
String langKey, langName;

Expand Down

0 comments on commit ae42c51

Please sign in to comment.