<% if (elnk.getId().indexOf("id__") == -1) {%> <%} %> | .gif" title="<%= dico.getRefDisp("Lna", "Te1", elnk.getLngmsg()) %>" hspace="3"/> |
<%
String realText = URLDecoder.decode(elnk.getText(), "UTF-8");
String adaptedText = realText;
if (realText.length() > 40){
adaptedText = realText.substring(0, 40);
}
if (elnk.getHtmlcontent() != null && elnk.getHtmlcontent().indexOf("img") > 0){
%>
<%= elnk.getHtmlcontent() %>
<%
} else {
%>
" title="<%= realText %>" target="_blank"><%= adaptedText %>
<%
}
if (elnk.getHtmlcontent() != null && elnk.getHtmlcontent().indexOf("img") > 0){
%>
<%
}
%>
|
<%-- Web operation --%>
<% String wopid = "", wopgroup = "", wopname = ""; try { wopid = elnk.getWebop().getWopid(); } catch(Exception e) { } try { wopgroup = elnk.getWebop().getWopRegroupement(); } catch(Exception e) { } try { wopname = elnk.getWebop().getWopNam(); } catch(Exception e) { } %> <%= wopgroup != null ? wopgroup : "" %> <%= !Utils.isEmpty(wopname) ? " - " + wopname : "" %> | <%-- Event --%><% String evtid = "", evtname = "", evtstatus = ""; try { evtid = elnk.getEvent().getEvtid(); } catch(Exception e) { } try { evtname = elnk.getEvent().getEvtLabel(); } catch(Exception e) { } try { evtstatus = elnk.getEvent().getStatusid(); } catch(Exception e) { } %> <% if (!Utils.isEmpty(evtid) && !Utils.isEmpty(evtname)) { %> <%= evtname %> <% if (!Utils.isEmpty(evtstatus)) %> - <%= dico.getRefDisp("Esi", "Te1", evtstatus) %> <% } %> | <%-- Population --%><% String popid = "", popname = ""; try { popid = elnk.getPopulation().getPopid(); } catch(Exception e) { } try { popname = elnk.getPopulation().getPopName(); } catch(Exception e) { } %> <% if (!Utils.isEmpty(popid) && !Utils.isEmpty(popname)) { %> <%= popname %> <% } %> | <% } %>