Ignore:
Timestamp:
12/28/10 16:21:40 (14 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/tp/expressowindow/xsl/send_notification.xsl

    r3610 r3638  
    55        <xsl:param name = "lang_delete" /> 
    66        <xsl:param name = "lang_send_notification_email_to" /> 
     7        <xsl:param name = "value_email" /> 
    78         
    8         <xsl:template match="teste"> 
     9        <xsl:template match="send_notification"> 
    910         
    10                 <div style="margin: 4px;"> 
    11                         <label> 
    12                                 <xsl:value-of select="$lang_send_notification_email_to" /> 
    13                         </label> 
    14                         <br/> 
    15                         <input type="text" name="notifTo[]" size="38"/> 
    16                         <span style="color:red; cursor:pointer; margin-left:2px;" onclick="removeInput(this);"><xsl:value-of select="$lang_delete" /></span> 
     11                <div style="margin:4px;"> 
     12                        <xsl:choose> 
     13                                <xsl:when test="$value_email"> 
     14                                        <input type="hidden" name="notifTo[]" size="38" value="{$value_email}" /> 
     15                                </xsl:when> 
     16                                 
     17                                <xsl:otherwise> 
     18                                        <label> 
     19                                                <xsl:value-of select="$lang_send_notification_email_to" /> 
     20                                        </label> 
     21                                        <br/> 
     22                                        <input type="text" name="notifTo[]" size="38"/> 
     23                                        <span style="color:red; cursor:pointer; margin-left:2px;" onclick="removeInput(this);"> 
     24                                                <xsl:value-of select="$lang_delete" /> 
     25                                        </span> 
     26                                </xsl:otherwise> 
     27                        </xsl:choose> 
    1728                </div> 
    1829                 
Note: See TracChangeset for help on using the changeset viewer.