1 | <?php |
---|
2 | $GLOBALS['phpgw_info']['flags'] = array( |
---|
3 | 'noheader' => True, |
---|
4 | 'nonavbar' => True, |
---|
5 | 'currentapp' => 'expressoMail1_2', |
---|
6 | 'enable_nextmatchs_class' => True |
---|
7 | ); |
---|
8 | |
---|
9 | include('../header.inc.php'); |
---|
10 | $GLOBALS['phpgw']->preferences->read_repository(); |
---|
11 | $_SESSION['phpgw_info']['expressomail']['user'] = $GLOBALS['phpgw_info']['user']; |
---|
12 | $boemailadmin = CreateObject('emailadmin.bo'); |
---|
13 | $emailadmin_profile = $boemailadmin->getProfileList(); |
---|
14 | $_SESSION['phpgw_info']['expressomail']['email_server'] = $boemailadmin->getProfile($emailadmin_profile[0]['profileID']); |
---|
15 | $_SESSION['phpgw_info']['expressomail']['server'] = $GLOBALS['phpgw_info']['server']; |
---|
16 | $_SESSION['phpgw_info']['expressomail']['user']['email'] = $GLOBALS['phpgw']->preferences->values['email']; |
---|
17 | ?> |
---|
18 | <html> |
---|
19 | <head> |
---|
20 | <title>Expresso Livre</title> |
---|
21 | <script language="Javascript"> |
---|
22 | function send() { |
---|
23 | if(document.doit.body.value ==""){ |
---|
24 | alert('Não existe nenhum texto digitado.'); |
---|
25 | return false; |
---|
26 | } |
---|
27 | document.doit.submit(); |
---|
28 | } |
---|
29 | </script> |
---|
30 | </head> |
---|
31 | <body style="margin:0px;padding:0px"> |
---|
32 | <div class=Section1 align='center'> |
---|
33 | <table cellspacing="0" cellpadding="0" width="100%"> |
---|
34 | <tr><td style="padding-left:0px;padding-right:25px" align="right" background="../phpgwapi/templates/celepar/images/fundo_topo.gif" nowrap> |
---|
35 | <a name="0"><img src="../phpgwapi/templates/celepar/images/logo_expresso.png?1"></a></td> |
---|
36 | </tr></table></p> |
---|
37 | <p align="center"> |
---|
38 | <font face="Arial" size="2"><b><? echo lang("Use this space to send your doubts, critics and suggestions") ?></font></p> |
---|
39 | <form name="doit" action="sugestaoenviada.php" method="POST"> |
---|
40 | <textarea name="body" cols="40" rows="15" wrap></textarea> |
---|
41 | <input type="hidden" name="to" value="<?=$GLOBALS['phpgw_info']['server']['sugestoes_email_to']?>"> |
---|
42 | <input type="hidden" name="cc" value="<?=$GLOBALS['phpgw_info']['server']['sugestoes_email_cc']?>"> |
---|
43 | <input type="hidden" name="bcc" value="<?=$GLOBALS['phpgw_info']['server']['sugestoes_email_bcc']?>"> |
---|
44 | <input type="hidden" name="subject" value="Dicas, Dúvidas e Sugestões"> |
---|
45 | <br> |
---|
46 | <br> |
---|
47 | <input type="button" name="enviar" value=<? echo lang("Send") ?> onClick="javascript:send()"> |
---|
48 | |
---|
49 | <input type="button" name="cancelar" value=<? echo lang("Cancel") ?> onClick="javascript:window.close()"> |
---|
50 | </form> |
---|
51 | </div> |
---|
52 | </body> |
---|
53 | |
---|
54 | </html> |
---|