Edit C:\galaxie\deploy\Tomcat6\webapps\galaxie\navigation\licences.jsp
<%@page import="java.util.Enumeration"%> <%@page import="com.edeal.frontline.helper.ActorBaseHelper"%> <%@page import="com.edeal.frontline.LicenceManager"%> <%@page import="com.edeal.frontline.LicenceManager.LicenceType"%><% /****************************************************************************** * Copyright (c) 2000-2006 e-Deal * * e-Deal S.A. * 55 rue Brillat Savarin * 75013 Paris * France * * T: +33 (0)1 53 80 80 30 * F: +33 (0)1 73 01 69 77 * http://www.e-deal.com * * La diffusion de ce code source sous quelque forme que ce soit sans * l'autorisation de E-DEAL est interdite. * * Vous êtes autorisés à modifier ce code source uniquement pour votre usage * propre et sous réserve que les mentions de copyright demeurent intactes. * * Ce code est fourni en l'état. Aucune garantie d'aucune sorte, explicite ou * implicite n'est donnée. En aucun cas E-DEAL ne pourra être tenu pour * responsable des dommages pouvant résulter de l'utilisation de ce code * source. ******************************************************************************/ %><%@page session="true" %><%@ page import="com.edeal.frontline.FlContext" %><%@ page import="com.edeal.frontline.Utils" %><%@ page import="com.edeal.frontline.navigation.FlRequest" %><%@ page import="com.edeal.frontline.EnterpriseBean" %><%@ page import="com.edeal.frontline.FieldNotInitializedException" %><%@ page import="java.util.Vector" %><%@ page import="com.edeal.frontline.LinkBean" %><%@ page import="java.util.Hashtable" %><%@ page import="com.edeal.frontline.navigation.WebUtils" %><%@ page import="com.edeal.frontline.DataDictionary" %><%@ page import="com.edeal.frontline.controller.actions.SelectAction" %><%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %><% final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog(getClass()); FlRequest flRequest = new FlRequest(request); FlContext context = flRequest.getContext(); LicenceManager licMgr = context.getLicenceManager(); String[] sfwCodes = licMgr.getLicencedSoftwareCodes(); Hashtable sfwNames = licMgr.getLicencedSoftwareNames(); String actID = (String)session.getAttribute("actorID"); Hashtable<String, LicenceType> lics = licMgr.getLicencesInUse(actID, session); %> <html> <head> <title><fl:getMessage code="L6081" alt="Licences"/></title> <link rel="stylesheet" type="text/css" href="<fl:webapp/>/css/common_css.jsp"> <link rel="stylesheet" type="text/css" href="<fl:webapp/>/css/master_css.jsp"> <link rel="stylesheet" type="text/css" href="<fl:webapp/>/css/smalltabs_css.jsp"> </head> <body> <div id="object_css" style="top: 0px; left: 0px; bottom: 0px; height: 100%;"> <fl:bigTabs ignoreList="true" objectTitle="<%= Utils.getMessage(session, \"L6081\", false, true, \"Licences\") %>"> <table style="width: 100%;" border="0" cellpadding="0" cellspacing="0" align="center"> <tr> <td class="column2"> <table class="data_column" cellpadding="0"> <tr class="fieldline"> <td class="titreInterneSmalltabs" style="text-align: left; width: 33%;"> <fl:getMessage code="L6009" alt="Etat des licences pour"/> <%= session.getAttribute(ActorBaseHelper.ACTOR_SESSION_FULLNAME_KEY) %> </td> </tr> <tr class="seperation"><td> </td></tr> <tr class="fieldline"> <td class="dataLabel"><fl:getMessage code="L6607" alt="Licence(s) flottante(s)"/></td> </tr> <% for (String softCode : sfwCodes) { LicenceType currLic = lics.get(softCode); if (currLic == LicenceType.FloatingLicence) { String display = sfwNames.get(softCode) + " (" + softCode + ")"; %> <tr valign="top" class="dataValue"> <td nowrap width="15%" class="transparent" style="text-align: left; vertical-align: middle;"><%= Utils.formatToWeb(display, false) %></td> </td> </tr> <% } } %> <tr class="seperation"><td> </td></tr> <tr class="fieldline"> <td class="dataLabel"><fl:getMessage code="L660A" alt="Licence(s) permanente(s)"/></td> </tr> <% for (String softCode : sfwCodes) { LicenceType currLic = lics.get(softCode); if (currLic == LicenceType.PermanentLicence) { String display = sfwNames.get(softCode) + " (" + softCode + ")"; %> <tr valign="top" class="dataValue"> <td nowrap width="15%" class="transparent" style="text-align: left; vertical-align: middle;"><%= Utils.formatToWeb(display, false) %></td> </td> </tr> <% } } %> </table> </td> </tr> </table> </fl:bigTabs> <br> <table class="container" width="100%"> <tr class="fieldline"> <td colspan="2" style="text-align: center;"> <a href="javascript:window.close()"><img src="<fl:webapp/>/icons/ico/fermer_red_long.gif"></a> </td> </tr> </table> </div> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de