HSAdmin Backend Domains, E-Mail, Datenbanken
Purodha Blissenbach
2012-09-21 b3142cfbb98fd9f0e8a3177d8f08721737789a19
Meaning inverted for domain options includes, indexes, and multiviews.
1 files modified
14 ■■■■ changed files
hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java 14 ●●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java
@@ -304,23 +304,23 @@
        // TODO: This code should be cleaned up after switching to the velocity template engine.
        query.setParameter("option", "indexes");
        if (query.getResultList().isEmpty()) {
            templateVars.put("INDEXES", "+Indexes");
            templateVars.put("INDEXES", "-Indexes");
        } else {
            templateVars.put("INDEXES", "-Indexes");
            templateVars.put("INDEXES", "+Indexes");
        }
        // TODO: This code should be cleaned up after switching to the velocity template engine.
        query.setParameter("option", "includes");
        if (query.getResultList().isEmpty()) {
            templateVars.put("INCLUDES", "+IncludesNoExec");
        } else {
        if (query.getResultList().isEmpty()) {
            templateVars.put("INCLUDES", "-Includes");
        } else {
            templateVars.put("INCLUDES", "+IncludesNoExec");
        }        
        // TODO: This code should be cleaned up after switching to the velocity template engine.
        query.setParameter("option", "multiviews");
        if (query.getResultList().isEmpty()) {
            templateVars.put("MULTIVIEWS", "+MultiViews");
            templateVars.put("MULTIVIEWS", "-MultiViews");
        } else {
            templateVars.put("MULTIVIEWS", "-MultiViews");
            templateVars.put("MULTIVIEWS", "+MultiViews");
        }                
        // TODO: This code should be cleaned up after switching to the velocity template engine.
        query.setParameter("option", "htdocsfallback");