dpillot     2005/11/25 16:48:12 CET

  Modified files:
    core/src/webapp/jsp/jahia/administration menu.jsp 
  Log:
  admin localisation fixes
  
  Revision  Changes    Path
  1.19      +15 -2     jahia/core/src/webapp/jsp/jahia/administration/menu.jsp
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/jahia/core/src/webapp/jsp/jahia/administration/menu.jsp.diff?r1=1.18&r2=1.19&f=h
  
  
  
  Index: menu.jsp
  ===================================================================
  RCS file: 
/home/cvs/repository/jahia/core/src/webapp/jsp/jahia/administration/menu.jsp,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- menu.jsp  7 Nov 2005 10:27:41 -0000       1.18
  +++ menu.jsp  25 Nov 2005 15:48:12 -0000      1.19
  @@ -8,7 +8,7 @@
   
   <%
       /**
  -     * @version $Id: menu.jsp,v 1.18 2005/11/07 10:27:41 dpillot Exp $
  +     * @version $Id: menu.jsp,v 1.19 2005/11/25 15:48:12 dpillot Exp $
        */
   
   String  jahiaDisplayMessage  = (String) 
request.getAttribute("jahiaDisplayMessage");
  @@ -66,6 +66,19 @@
       }
   
       Integer daysLeft = (Integer) request.getAttribute("daysLeft");
  +    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>
  @@ -369,7 +382,7 @@
   </tr>
   <tr><td colspan="2" align="left">
   <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>
   <% if (daysLeft != null) { %>
  

Reply via email to