Edit C:\galaxie\deploy\Tomcat6\webapps\galaxie\admin\actor\read_action_userprofile.jsp
<%@page import="com.edeal.frontline.helper.MultifunctionHelper"%> <%@page import="com.edeal.frontline.helper.ContextHelper"%> <%@page session="true" import="com.edeal.frontline.*"%> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="com.edeal.frontline.custom.*" %> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <%@ page isELIgnored="false"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <fl:access operation="edit" name="Actor"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link list="true" url="/edit_userprofile.fl"/>"> <p class="actions_tabletext"><fl:getMessage code="A0008" alt="Modifier"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> </fl:access> <script language="javascript"> function doActivateMobile() { <% FlRequest flRequest = new FlRequest(request); String actorId = (String)flRequest.getSession().getAttribute("actorID"); FlContext context = flRequest.getContext(); LicenceManager licenceManager = context.getLicenceManager(); boolean isUserHasMobileLicence = licenceManager.actorHasSoftware(actorId, LicenceManager.Software.MobileAccessAddon.getCode(), null, flRequest.getSession()); if(isUserHasMobileLicence) { %> window.open("<fl:link url="/mobile_activation.fl"/>", "<fl:getMessage code="L828A" alt="Activation de l'application mobile"/>", "width=1000,height=300,resizable=yes"); <% } else { %> alert ("<fl:getMessage code="L829D" alt="Vous n'avez pas n'avez pas la licences requise pour utiliser l'application mobile"/>"); <% } %> } </script> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <p class="actions_tabletext"> <edLink edtooltip='{"content": {"text":"<fl:getMessage code="L828A" alt="Activation Smartphone" js="true"/>"}}' values="<fl:getMessage code="L828A" alt="Activation Smartphone"/>" target="DIALOG" url='mobile_activation.fl' options='{"id":"smartphoneActivationDialog", "title":"<fl:getMessage code="L828A" alt="Activation Smartphone" js="true"/>", "width":"300", "height":"200", "resizable": "false", "draggable": "false", "modal": "true" }' ><a><fl:getMessage code="L828A" alt="Activation Smartphone"/></a></edLink> </p> </div> </td> <td class="actions_cell_right"></td> </tr>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de