Ignore:
Timestamp:
12/23/10 17:24:25 (13 years ago)
Author:
alexandrecorreia
Message:

Ticket #1468 - Notificacao por email de uploads de arquivos enviados pelo modulo Filemanager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/filemanager/templates/default/notify_upload.tpl

    r3619 r3632  
    1 <!-- BEGIN body --> 
     1<!-- BEGIN index --> 
    22 
    3         <form> 
     3        <script src='filemanager/js/connector.js'></script> 
     4        <script src='filemanager/js/common_functions.js'></script> 
     5        <script src='filemanager/js/notifications.js'></script> 
     6 
     7        <div style="margin-left:10px"> 
     8                <div style="margin-top: 10px"> 
     9                        <span style="position:relative; float:left;"> 
     10                                <form method="POST" action="{action_url}"> 
     11                                        <input type="submit" name="button_add" value="Adicionar" /> 
     12                                </form>  
     13                        </span> 
     14                        <span style="postion:relative;float:right;"> 
     15                                <form method="POST" action="{action_url}"> 
     16                                        <label style="margin-left:5px;">{lang_search}.:</label> 
     17                                        <input type="text" name="search_email" size="30" maxlength="30" /> 
     18                                </form> 
     19                        </span> 
     20                </div> 
     21                <br/> 
     22                <br/> 
     23                <table style="border:0px; width:100% !important;"> 
     24                        <tr class="th"> 
     25                                <td align="left" width="40%">De ( Email )</td> 
     26                                <td align="left" width="40%">Para ( Email ) </td> 
     27                                <td align="center" width="10%">Editar</td> 
     28                                <td align="center" width="10%">Excluir</td>      
     29                        </tr> 
     30                        <tr> 
     31                                {value_config} 
     32                        </tr> 
     33                </table> 
    434                 
    5                 <div style="margin-left:10px;"> 
    6                  
    7                         <div style="margin-top: 10px; margin-bottom: 10px;"> 
    8                                  
    9                                 <div> 
    10                                         <input type="button" name="button_add" value="Adicionar" onclick="alert('Adicionar um novo email para envio')"/> 
    11                                 </div> 
    12                                  
    13                                 <!--             
    14                                 <div style="margin-top: 10px; margin-bottom: 10px; position:relative; float:left;"> 
    15                                         <fieldset style="width:400px;"> 
    16                                                 <legend> Procurar por </legend> 
    17                                                 <input type="radio" name="opt_email" value="to" /> De 
    18                                                 <input type="radio" name="opt_from"     value="from" /> From 
    19                                                 <br/>            
    20                                                 <label> Email .: </label> 
    21                                                 <input type="text" size="40" maxlength="40" name="email_search" /> 
    22                                                 <input type="button" name="button_search" value="Procurar" onclick="alert('Adicionar um novo email para envio')"/> 
    23                                         </fieldset> 
    24                                 </div> 
    25                                 --> 
    26                                  
     35                <div> 
     36                        <div style="margin-top:10px; position:relative; float:left;"> 
     37                                <input type="button" onClick="document.location.href='{action_url_back}'" value="Voltar"/> 
    2738                        </div> 
    28                          
    29                         <table style="border:0px; width:100% !important;"> 
    30                                 <th> 
    31                                         <tr class="th"> 
    32                                                 <td align="left" width="40%">De ( Email )</td> 
    33                                                 <td align="left" width="40%">Para ( Email ) </td> 
    34                                                 <td align="center" width="10%">Editar</td> 
    35                                                 <td align="center" width="10%">Excluir</td>      
    36                                         </tr> 
    37                                 </th> 
    38                         </table> 
    39                          
    40                          
    41                         <div> 
    42                                 <div style="margin-top:10px; position:relative; float:left;"> 
    43                                         <input type="button" onClick="document.location.href='{action_url_back}'" value="Voltar"/> 
    44                                 </div> 
    45                                 <div style="margin:10px; position:relative; float:right;"> 
     39                        <div style="margin:10px; position:relative; float:right;"> 
     40                                <form method="POST" action="{action_url}"> 
    4641                                        {bt_previous} 
    4742                                        {bt_next} 
    48                                 </div> 
    49                                 <input type="hidden" name="button_previous" value="{value_previous}" /> 
    50                                 <input type="hidden" name="button_next" value="{value_next}" /> 
     43                                        <input type="hidden" name="button_previous" value="{value_previous}" /> 
     44                                        <input type="hidden" name="button_next" value="{value_next}" /> 
     45                                </form>                                  
    5146                        </div> 
    5247                </div> 
     48        </div> 
     49 
     50<!-- END index --> 
     51 
     52<!-- BEGIN AddEmail --> 
     53 
     54        <script src='filemanager/js/connector.js'></script> 
     55        <script src='filemanager/js/common_functions.js'></script> 
     56        <script src='filemanager/js/notifications.js'></script> 
     57         
     58        <div id="principal" style="width:35%; border:1px solid #000; margin: 0 auto; padding: 10px; text-align: left;"> 
    5359                 
    54         </form> 
     60                <div style="margin:5 0 15 5;">   
     61                         
     62                        <fieldset style="width:400px;">  
     63                                <legend>{lang_legend1}</legend> 
     64                                <label>{lang_from}</label> 
     65                                <br/> 
     66                                <input id="filemanager_add_email_from" type="text" size="45" maxlength="50" /> 
     67                        </fieldset> 
     68                         
     69                </div> 
     70                 
     71                <div style="margin:5px;">        
     72                         
     73                        <fieldset style="width:400px;"> 
     74                                <legend>{lang_legend2}</legend> 
     75                                <label>{lang_to}</label> 
     76                                <br/> 
     77                                <input id="filemanager_add_email_to" type="text" size="45" maxlength="50" /> 
     78                                <input type="button" value="{lang_Add}" onclick="notify.addEmail();" /> 
     79                        </fieldset> 
     80                         
     81                </div> 
     82                 
     83                <div style="margin:5px;"> 
     84                         
     85                        <fieldset style="width:400px;"> 
     86                                <legend>{lang_legend3}</legend> 
     87                                <table id="table_email_notifications" style="border:0px solid #000; width:100%;"> 
     88                                        <tr class="th"> 
     89                                                <td width="80%">{lang_Email}</td> 
     90                                                <td width="20%" align="center">{lang_Excluir}</td> 
     91                                        </tr> 
     92                                        {value_conf_email} 
     93                                </table> 
     94                        </fieldset> 
     95                         
     96                </div> 
    5597 
    56 <!-- END body --> 
     98                <div style="margin: 5px"> 
     99                        <input type="button" onclick="document.location.href='{action_url_back}'" value="{lang_Back}"/> 
     100                </div> 
     101                 
     102        </div> 
     103        <br/> 
     104        <br/> 
     105                 
     106<!-- END AddEmail --> 
Note: See TracChangeset for help on using the changeset viewer.