Subversion Repositories bacoAlunos

Compare Revisions

Ignore whitespace Rev 1660 → Rev 1661

/branches/v3/impl/conf/template/email/message_module_ipp_pt.txt
New file
0,0 → 1,24

<html>
<head>
<title>{1}</title>
</head>
<body>
 
 
<p><i>Mensagem de:</i> {0}</p>
<p><i>Assunto:</i> <b><u>{1}</u></b></p>
 
 
{2}
 
 
<p>Cumprimentos</p>
<p>{0}</p>
<p>Se pretender responder, use o email: {5}</p>
 
---------------------------------------------
<p>Instituto Politécnico de Portalegre - Sistema PAE</p>
<p><a href="http://pae.ipportalegre.pt">http://pae.ipportalegre.pt</a></p>
</body>
</html>
/branches/v3/impl/src/java/pt/estgp/estgweb/Globals.java
371,7 → 371,9
public static final String EMAIL_MESSAGE_TEMPLATE_EN = "message_en.txt";
public static final String EMAIL_MESSAGE_TEMPLATE_PT = "message_pt.txt";
 
public static final String EMAIL_MESSAGE_TEMPLATE_PAE_PT = "message_module_ipp_pt.txt";
 
 
public static final String EMAIL_MESSAGE_IPP_TEMPLATE_PT_CERTIFICATED = "message_ipp_pt_certificated.txt";
public static final String EMAIL_MESSAGE_IPP_TEMPLATE_PT = "message_ipp_pt.txt";
 
/branches/v3/impl/src/java/pt/estgp/estgweb/services/email/SendEmailService.java
395,13 → 395,20
 
String template;
 
if(langEnum == LangEnum.PORTUGUESE)
if(Globals.SYSTEM_THEME.equals("ipp"))
{
template = Globals.EMAIL_MESSAGE_TEMPLATE_PT;
template = Globals.EMAIL_MESSAGE_TEMPLATE_PAE_PT;
}
else
{
template = Globals.EMAIL_MESSAGE_TEMPLATE_EN;
if(langEnum == LangEnum.PORTUGUESE)
{
template = Globals.EMAIL_MESSAGE_TEMPLATE_PT;
}
else
{
template = Globals.EMAIL_MESSAGE_TEMPLATE_EN;
}
}
 
List<String> recipients = new ArrayList<String>();