86 lines
3.3 KiB
Plaintext
86 lines
3.3 KiB
Plaintext
<%@page import = "mnp.crontab.objects.ui.*, mnp.crontab.utility.ui.Res, mnp.crontab.utility.Resources"%>
|
|
<%@page import = "mnp.crontab.command.*" %>
|
|
<%
|
|
//20051118cg modifica SSN
|
|
LoginBean aLogin =(LoginBean) session.getAttribute(AmministrazioneCostants.OBJECT_LOGINBEAN_SESSION);
|
|
if (session.isNew() && aLogin == null) {
|
|
session.invalidate();
|
|
%>
|
|
<jsp:forward page="sessioneInattivaProject.jsp" />
|
|
<%
|
|
}
|
|
%>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
<LINK REL="stylesheet" TYPE="text/css" HREF="<%=Res.ApplContext%>/jsp/GUI/GUIStyle.css">
|
|
|
|
<script language = "Javascript">
|
|
|
|
/*Eseguo una submit per accedere all'interfaccia di MNP*/
|
|
|
|
</script>
|
|
|
|
|
|
</head>
|
|
|
|
<body>
|
|
<table width = "160" bgcolor = "#D61414" height="100%">
|
|
<TR>
|
|
<TD align = "center"><IMG SRC ="<%=Res.ApplContext%>/images/LogoMnp.gif"></TD>
|
|
</TR>
|
|
|
|
<TR><TD> </TD></TR>
|
|
|
|
<TR><TD nowrap align= "center"><FONT class = "bannerVertTitolo">MNP</FONT></TD></TR>
|
|
<TR><TD nowrap align= "center"><font class="bannerVertTitolo">INTERFACCE GRAFICHE</font></TD></TR>
|
|
<TR><TD nowrap align= "center"><FONT class = "bannerVertTitolo"></FONT></TD></TR>
|
|
<TR><TD nowrap align= "center"><HR class = "riga"></TD></TR>
|
|
|
|
|
|
<%
|
|
//20051019 cg patch per i profili DBCGO
|
|
//in attesa di una gestione delle funzionalità
|
|
if (!("GG".equals(aLogin.getCodiceProfilo())||"GV".equals(aLogin.getCodiceProfilo())||"GD".equals(aLogin.getCodiceProfilo()))){
|
|
%>
|
|
<TR><TD> </TD></TR>
|
|
<TR><TD><A HREF = "javascript:buttonActionMenu(document.formCentrale,<%= AmministrazioneCostants.FNC_CRONTAB %>,'InterfacceCommand.do' )" class = "linkBanner">>CRONTAB</A></TD></tr>
|
|
<TR><TD> </TD></TR>
|
|
<TR><TD><A HREF = "javascript:buttonActionMenu(document.formCentrale,<%= AmministrazioneCostants.FNC_APPLICATION_MANAGER %>,'InterfacceCommand.do' )" class = "linkBanner">>APPLICATION MANAGER</A></TD></tr>
|
|
<TR><TD> </TD></TR>
|
|
<TR><TD><A HREF = "javascript:loginToMNP(document.formLoginToMNP)" class = "linkBanner">>MNP </A></TD></tr>
|
|
<TR><TD> </TD></TR>
|
|
<TR><td> </td></TR>
|
|
<TR><TD> </TD></tr>
|
|
<% } %>
|
|
|
|
<% //DBCGO LINK
|
|
FunctionBean[] fbs = aLogin.getFunctionBeans();
|
|
boolean toDBCGO=false;
|
|
//se almeno una funzionalità e su DBCGO --> link SSN
|
|
if (fbs != null) {
|
|
for (int i = 0; i < fbs.length; i++) {
|
|
System.out.println("dominio : " + fbs[i].getDominio());
|
|
if(CrontabCostants.DBCGO_DOMAIN_CODE.equals(fbs[i].getDominio()))
|
|
toDBCGO = true;
|
|
}
|
|
}
|
|
if (toDBCGO){
|
|
%>
|
|
<TR><TD><A HREF = "<%= Resources.getHTTP_LOGIN_DBCGO()%>" class = "linkBanner">>DBCGO </A></TD></tr>
|
|
<% } %>
|
|
|
|
<TR><TD><A HREF ="<%=Resources.getURL_MODIFICA_PWD_PCS()%>" class = "linkBanner" target="_blank">>MODIFICA PASSWORD</A></TD></tr>
|
|
<TR><TD> </TD></tr>
|
|
<TR><td> </td></TR>
|
|
<TR><TD><A HREF = "javascript:buttonActionMenu(document.formCentrale,<%= AmministrazioneCostants.FNC_LOGOUT %>,'InterfacceCommand.do' )" class = "linkBanner">>LOG-OUT</A></TD></tr>
|
|
<TR><TD> </TD></tr>
|
|
<TR><td> </td></TR>
|
|
<TR><td height="200"> </td></TR>
|
|
<TR><td> </td></TR>
|
|
</table>
|
|
|
|
</body>
|
|
</html>
|