Ignore:
Timestamp:
11/24/11 17:32:33 (13 years ago)
Author:
vmipsl
Message:

loginModule

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ether_megapoli/trunk/web/resources/templates/templateMegapoli.jsp

    r261 r265  
    2929    <ether:htmlJs jsFile="classesForJQuery/Button"/> 
    3030    <ether:htmlJs jsFile="classesForJQuery/ComplexButton"/> 
     31    <ether:htmlJs jsFile="classesForJQuery/LoginButton"/> 
    3132    <ether:htmlJs jsFile="classesForJQuery/Slide"/> 
    3233    <ether:htmlJs jsFile="apycom.com-4-steel-blue/menu"/> 
     
    6364        <div id="title"></div> 
    6465 
    65         <div id="tools" align="right"></div> 
     66        <div id="tools" align="right"> 
     67            <div id="loginModule" align="right"></div> 
     68        </div> 
    6669 
    6770    </div> 
     
    144147    templateTexts["app.en"] = '<bean:message key="app.en"/>'; 
    145148    templateTexts["app.fr"] = '<bean:message key="app.fr"/>'; 
    146     templateTexts["app.connexion"] = '<bean:message key="app.connexion"/>'; 
    147149    templateTexts["data.upload.metadata.contact.mail"] = '<bean:message key="data.upload.metadata.contact.mail"/>'; 
    148     templateTexts["app.admin"] = '<bean:message key="app.admin"/>'; 
    149     templateTexts["data.authentification.login"] = '<bean:message key="data.authentification.login"/>'; 
    150     templateTexts["data.authentification.pwd"] = '<bean:message key="data.authentification.pwd"/>'; 
    151     templateTexts["data.authentification.sign"] = '<bean:message key="data.authentification.sign"/>'; 
    152     templateTexts["data.authentification.pwdForget"] = '<bean:message key="data.authentification.pwdForget"/>'; 
    153     templateTexts["data.authentification.loginForget.help"] = '<bean:message key="data.authentification.loginForget.help"/>'; 
    154     templateTexts["data.authentification.loginForget"] = '<bean:message key="data.authentification.loginForget"/>'; 
    155     templateTexts["errors.logon.notFound"] = "<bean:message key='errors.logon.notFound' arg0="<%=Context.getWebmaster( request )%>"/>"; 
    156     templateTexts["errors.logon.failed"] = "<bean:message key='errors.logon.failed' arg0="<%=Context.getWebmaster( request )%>"/>"; 
    157     templateTexts["data.authentification"] = "<bean:message key="data.authentification"/>"; 
    158     templateTexts["data.authentification.text"] = "<bean:message key="data.authentification.text"/>"; 
    159150    templateTexts["data.access.extract.short"] = '<bean:message key="data.access.extract.short"/>'; 
    160151    templateTexts["data.upload.short"] = '<bean:message key="data.upload.short"/>'; 
     
    163154    templateTexts["app.mentions"] = '<bean:message key="app.mentions"/>'; 
    164155    templateTexts["app.infos"] = '<bean:message key="app.infos"/>'; 
     156 
     157    // Needed texts if you use the library LoginButton.js 
     158    var loginTexts = $A( "" ); 
     159    loginTexts["app.connexion"] = '<bean:message key="app.connexion"/>'; 
     160    loginTexts["data.authentification.login"] = '<bean:message key="data.authentification.login"/>'; 
     161    loginTexts["data.authentification.pwd"] = '<bean:message key="data.authentification.pwd"/>'; 
     162    loginTexts["data.authentification.sign"] = '<bean:message key="data.authentification.sign"/>'; 
     163    loginTexts["data.authentification.pwdForget"] = '<bean:message key="data.authentification.pwdForget"/>'; 
     164    loginTexts["data.authentification.loginForget.help"] = '<bean:message key="data.authentification.loginForget.help"/>'; 
     165    loginTexts["data.authentification.loginForget"] = '<bean:message key="data.authentification.loginForget"/>'; 
     166    loginTexts["errors.logon.notFound"] = "<bean:message key='errors.logon.notFound' arg0="<%=Context.getWebmaster( request )%>"/>"; 
     167    loginTexts["errors.logon.failed"] = "<bean:message key='errors.logon.failed' arg0="<%=Context.getWebmaster( request )%>"/>"; 
     168    loginTexts["app.admin"] = '<bean:message key="app.admin"/>'; 
     169    loginTexts["data.authentification.text"] = "<bean:message key="data.authentification.text"/>"; 
    165170 
    166171    var interfaceTemplate = new InterfaceTemplate(); 
Note: See TracChangeset for help on using the changeset viewer.