source: trunk/expressoMail1_2/templates/xsl/searchMails.xsl @ 5680

Revision 5680, 5.3 KB checked in by marcieli, 12 years ago (diff)

Ticket #2521 - Corrigido bug: janela de pesquisa aceita data inválida.

  • Property svn:executable set to *
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3        <xsl:output method="html" omit-xml-declaration="yes"/>
4
5        <xsl:param name="button_left" />
6        <xsl:param name="button_right" />
7        <xsl:param name="Inform_your_search_in_the_text_fields" />
8        <xsl:param name="From" />
9        <xsl:param name="To" />
10        <xsl:param name="Cc" />
11        <xsl:param name="Subject" />
12        <xsl:param name="Message_body" />
13        <xsl:param name="Since_Date" />
14        <xsl:param name="Before_Date" />
15        <xsl:param name="On_Date" />
16        <xsl:param name="Flags" />
17        <xsl:param name="Flagged" />
18        <xsl:param name="Unflagged" />
19        <xsl:param name="Seen" />
20        <xsl:param name="Unseen" />
21        <xsl:param name="Answered_Forwarded" />
22        <xsl:param name="Unanswered_Unforwarded" />
23        <xsl:param name="Recent" />
24        <xsl:param name="Old" />
25        <xsl:param name="Search_the_messages_in_these_folders" />
26        <xsl:param name="In_all_the_folders" />
27       
28        <xsl:template match="searchMails">
29       
30                <fieldset style="width:340px; height:350px; text-align:right; padding: 5px; position:absolute; margin:5px; border:0px ">
31                                <legend><xsl:value-of select="$Inform_your_search_in_the_text_fields" /></legend>
32                       
33                                <label><xsl:value-of select="$From"/>:</label>
34                                <input style="margin-left: 6px;" type="text" id="txt_de" size="20" />
35                                <br style="margin-bottom:15px" />
36
37                                <label><xsl:value-of select="$To"/>:</label>
38                                <input style="margin-left: 6px;" type="text" id="txt_para" size="20" />
39                                <br style="margin-bottom:15px"/>
40
41                                <label><xsl:value-of select="$Cc"/>:</label>
42                                <input style="margin-left: 6px;" type="text" id="txt_cc" size="20" />
43                                <br style="margin-bottom:15px"/>
44
45                                <label><xsl:value-of select="$Subject"/>:</label>
46                                <input style="margin-left: 6px;" type="text" id="txt_ass" size="20" />
47                                <br style="margin-bottom:15px"/>
48
49                                <label><xsl:value-of select="$Message_body"/>:</label>
50                                <input style="margin-left: 6px;" type="text" id="txt_body" size="20" />
51                                <br style="margin-bottom:30px" />
52
53                                <label><xsl:value-of select="$Since_Date"/></label>
54                                <input style="margin-left: 6px;" type="text" id="since_date" size="11" maxlength="10" onkeypress="return dateMask(this, event);" readonly="readonly" />
55
56                                <label style="margin-left: 10px;"><xsl:value-of select="$Before_Date"/>:</label>
57                                <input style="margin-left: 6px;" type="text" id="before_date" size="11" maxlength="10" onkeypress="return dateMask(this, event);" readonly="readonly" />
58                                <br style="margin-bottom:15px" />
59
60                                <label><xsl:value-of select="$On_Date"/>:</label>
61                                <input style="margin-left: 6px;" type="text" id="on_date" size="11" maxlength="10" onkeypress="return dateMask(this, event);" readonly="readonly" />
62                                <br style="margin-bottom:30px"/>
63
64                                <label><xsl:value-of select="$Flags"/>:</label>
65
66                                <select style="width:15em; margin-left: 6px" name="flagged" id="flagged">
67                                        <option value=""/>
68                                        <option value="FLAGGED"><xsl:value-of select="$Flagged"/></option>
69                                        <option value="UNFLAGGED"><xsl:value-of select="$Unflagged"/></option>
70                                </select>
71
72                                <br style="margin-bottom:15px"/>
73                       
74                                <select style="width:15em;" name="seen" id="seen">
75                                        <option value=""/>
76                                        <option value="SEEN"><xsl:value-of select="$Seen"/></option>
77                                        <option value="UNSEEN"><xsl:value-of select="$Unseen"/></option>
78                                </select>
79                       
80                                <br style="margin-bottom:15px"/>
81                       
82                                <select style="width:15em;" name="answered" id="answered">
83                                        <option value=""/>
84                                        <option value="ANSWERED"><xsl:value-of select="$Answered_Forwarded"/></option>
85                                        <option value="UNANSWERED"><xsl:value-of select="$Unanswered_Unforwarded"/></option>
86                                </select>
87                       
88                                <br style="margin-bottom:15px"/>
89                       
90                                <select style="width:15em;visibility:hidden;" name="recent" id="recent">
91                                        <option value=""/>
92                                        <option value="RECENT"><xsl:value-of select="$Recent"/></option>
93                                        <option value="OLD"><xsl:value-of select="$Old"/></option>
94                                </select>
95
96                                <br style="margin-bottom:60px"/>
97                </fieldset>
98
99                <fieldset style="width:395px; height:350px; padding: 5px; position:absolute; margin-left: 365px; margin-top:5px; border:0px;">
100                       
101                        <legend>
102                                <xsl:value-of select="$Search_the_messages_in_these_folders"/>
103                        </legend>
104
105                        <div id="divFoldersSearch" style="width:165px; height:150px; float:left; margin-bottom:10px; border:1px outset black; background:#F7F7F7; overflow:auto;"></div>
106                       
107                        <div style="float:left; height:100px; padding-top:50px; margin: 0 3px;">
108                                <input type="button" id="incluir" name="incluir" value="{$button_right}" onclick="EsearchE.add_mailboxes()" class="button ui-button ui-widget ui-state-default ui-corner-all" role="button" aria-disabled="false" />
109                                <br style="margin-bottom:15px" />
110                                <input type="button" id="excluir" name="excluir" value="{$button_left}" onclick="EsearchE.del_mailboxes()" class="button ui-button ui-widget ui-state-default ui-corner-all" role="button" aria-disabled="false" />
111                        </div>
112                       
113                        <div style="float:left;">
114                                <select multiple="true" id="sel_search_nm_box1" name="sel_search_nm_box1" style="width:165px;height:150px; background:#F7F7F7; color:#FC6103; font-size:10px; font-family:sans-serif; font-weight:bold"></select>
115                        </div>
116                       
117                        <br clear="both"/>
118
119                        <input type="checkBox" id="check_all_msg" name="check_all_msg" onclick="EsearchE.all_mailboxes()"/>
120                       
121                        <b><xsl:value-of select="$In_all_the_folders"/></b>
122                       
123                </fieldset>
124                 
125        </xsl:template>
126       
127</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.