Skip to main content

add multiple language capability to project pages

Primary Stakeholder: 

Project Owners

Target Sprint: 

TBD
This enhancement is to add capability to translate project body content to other languages.
5

Comments

Re: add multiple language capability to project pages

<%@page language="java"%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Profile Page</title>
<a href="AdminLog.jsp"onclick="invoke(3)">Logout</a>
</head>
<body bgcolor="#4cb1de">
<h2>WELCOMETO ADMIN PROFILE PAGE</h>
<B>Please Select Your Report Category...</B><br><p><p>
<script language="javascript">
function invoke(logout)
{
}
function invoke(sub)
{
    if(sub==0) document.form1.action = "FastenersReport.jsp"
    if(sub==1) document.form1.action = "forgingreport.jsp"
    if(sub==2) document.form1.action = "gasketreport.jsp"
    if(sub==3) <% session.invalidate();%>
  
    document.form1.submit();
}
</script>
<form name="form1">
<table cellpadding="5">
<tr>
<td>Fasteners Report...</td>
<td><input type="submit" value="Fasteners" onclick="invoke(0)"></td>
</tr>
<p>
<tr>
<td>Forgings Report...</td>
<td><input type="submit" value="Forgings" onclick="invoke(1)"></td>
</tr>
<p>
<tr>
<td>Gaskets Report...</td>
<td><input type="submit" value="Gaskets" onclick="invoke(2)"></td>
<p>
</tr>
</table>
</form>
</body>
</html>