diff --git a/wise-webapp/src/main/java/com/wisemapping/controller/LoginController.java b/wise-webapp/src/main/java/com/wisemapping/controller/LoginController.java index 4132c715..0d8751d3 100755 --- a/wise-webapp/src/main/java/com/wisemapping/controller/LoginController.java +++ b/wise-webapp/src/main/java/com/wisemapping/controller/LoginController.java @@ -30,6 +30,7 @@ import java.util.Calendar; public class LoginController extends BaseMultiActionController { + private String driver; protected ModelAndView handleNoSuchRequestHandlingMethod(NoSuchRequestHandlingMethodException noSuchRequestHandlingMethodException, HttpServletRequest request, HttpServletResponse httpServletResponse) throws Exception { // Reload user only in case of beeing necessary... @@ -41,6 +42,7 @@ public class LoginController } else { result = new ModelAndView("login"); + result.addObject("isHsql", driver.indexOf("hsql")!=-1); } return result; @@ -59,4 +61,12 @@ public class LoginController return new ModelAndView("forward:/c/mymaps.htm"); } + + public void setDriver(String driver) { + this.driver = driver; + } + + public String getDriver() { + return driver; + } } diff --git a/wise-webapp/src/main/webapp/WEB-INF/classes/messages.properties b/wise-webapp/src/main/webapp/WEB-INF/classes/messages.properties index 7ad7081c..cd7f141e 100644 --- a/wise-webapp/src/main/webapp/WEB-INF/classes/messages.properties +++ b/wise-webapp/src/main/webapp/WEB-INF/classes/messages.properties @@ -30,7 +30,7 @@ SETTINGS=Settings USERNAME=Username BACK=Back CLOSE=Close -NOT_READY_A_USER=Not ready a wisemapper? +NOT_READY_A_USER=Not a member yet? NOT_READY_A_USER_MESSAGE=Registration is free and takes just a moment. JOIN_NOW=Join Now! REMOVE=Remove @@ -301,7 +301,7 @@ NEWS_TOOLBAR_SHORT =New Editor Toolbar NEWS_TOOLBAR_TEXT = We have update our editor toolbar in order to be more intuitive. #####FOOTER -COPYRIGHT=All content Copyright 2007-2011, WiseMapping Corporation +COPYRIGHT=Powered by WiseMapping TERMS_AND_CONDITIONS=Terms and Conditions CONTACT=Contact diff --git a/wise-webapp/src/main/webapp/WEB-INF/classes/messages_es.properties b/wise-webapp/src/main/webapp/WEB-INF/classes/messages_es.properties index a758561d..790c0d97 100644 --- a/wise-webapp/src/main/webapp/WEB-INF/classes/messages_es.properties +++ b/wise-webapp/src/main/webapp/WEB-INF/classes/messages_es.properties @@ -246,7 +246,6 @@ IT_IS_FREE=Es gratis! CREATE_EDIT_ACCESS_FROM_ANYWHERE=Crear, editar y acceder a sus mapas mentales desde cualquier lugar de Internet #FOOTER -COPYRIGHT=All content Copyright 2007, WiseMapping Corporation TERMS_AND_CONDITIONS=Términos and Condiciones CONTACT=Contacto diff --git a/wise-webapp/src/main/webapp/WEB-INF/wisemapping-servlet.xml b/wise-webapp/src/main/webapp/WEB-INF/wisemapping-servlet.xml index 9e729918..319740c9 100644 --- a/wise-webapp/src/main/webapp/WEB-INF/wisemapping-servlet.xml +++ b/wise-webapp/src/main/webapp/WEB-INF/wisemapping-servlet.xml @@ -97,6 +97,7 @@ + diff --git a/wise-webapp/src/main/webapp/jsp/footer.jsp b/wise-webapp/src/main/webapp/jsp/footer.jsp index c0702506..2f8a896d 100644 --- a/wise-webapp/src/main/webapp/jsp/footer.jsp +++ b/wise-webapp/src/main/webapp/jsp/footer.jsp @@ -2,20 +2,7 @@