dpillot     2005/11/25 16:47:56 CET

  Modified files:
    core/src/webapp/jsp/jahia/administration admin.jsp 
  Log:
  admin localisation fixes
  
  Revision  Changes    Path
  1.7       +14 -1     jahia/core/src/webapp/jsp/jahia/administration/admin.jsp
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/jahia/core/src/webapp/jsp/jahia/administration/admin.jsp.diff?r1=1.6&r2=1.7&f=h
  
  
  
  Index: admin.jsp
  ===================================================================
  RCS file: 
/home/cvs/repository/jahia/core/src/webapp/jsp/jahia/administration/admin.jsp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- admin.jsp 3 Nov 2005 18:12:01 -0000       1.6
  +++ admin.jsp 25 Nov 2005 15:47:55 -0000      1.7
  @@ -11,6 +11,19 @@
   
       String jspSource = (String)request.getAttribute("jspSource");
       String directMenu = null;  //(String)request.getAttribute("directMenu"); 
// Optional parameter
  +    String copyright=Jahia.COPYRIGHT;
  +    if(copyright.indexOf("All rights")!=-1){
  +     int p= copyright.indexOf("All rights");
  +        String c;
  +        try {
  +            
c=ResourceBundle.getBundle("JahiaAdministrationResources").getString("org.jahia.copyright")+".";
  +        } catch (MissingResourceException e) {
  +            c="All rights reserved.";
  +        }
  +        copyright=copyright.substring(0,p)+c;
  +
  +
  +    }
   %>
   <html>
   <head>
  @@ -85,7 +98,7 @@
                   <tr>
                       <td colspan="2" align="right">
                           <table border="0" width="100%"><tr><td 
width="48"><img name="logo" src="../jsp/jahia/images/logo-jahia.gif" border="0" 
width="45" height="34"></td><td><img src="<%=URL%>images/pix.gif" border="0" 
width="1" height="10">
  -<div id="copyright"><%=Jahia.COPYRIGHT%></div><span class="version">Jahia v. 
<%=Jahia.VERSION%></span>
  +<div id="copyright"><%=copyright%></div><span class="version">Jahia v. 
<%=Jahia.VERSION%></span>
   </td></tr></table>
                       </td>
                   </tr>
  

Reply via email to