~ubuntu-branches/ubuntu/vivid/gosa/vivid

« back to all changes in this revision

Viewing changes to include/sieve/templates/element_envelope.tpl

Tags: 2.7.1-1
* New upstream release
* Updated packaging to not include smarty (Closes: #620489)
* Fixed case of POSIX (Closes: #620486)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
    {if $Expert}
3
 
        {if $LastError != ""}
4
 
                <table class='sieve_test_case'>
5
 
            <tr>
6
 
                <td colspan=2>
7
 
                    <font color='red'><b>{$LastError}</b></font>
8
 
                </td>
9
 
            </tr>
10
 
                </table>
11
 
        {/if}
12
 
 
13
 
<table class='sieve_test_case'>
14
 
    <tr>
15
 
                <td style='width:50%;'>
16
 
                        <b>{t}Envelope{/t}</b>
17
 
                </td>
18
 
        <td style='text-align:right; vertical-align:top;'>
19
 
            <input type='submit' name='Toggle_Expert_{$ID}' value='{t}Normal view{/t}'>
20
 
        </td>
21
 
    </tr>
22
 
</table>
23
 
<table>
24
 
    <tr>
25
 
        <td style='width:50%;'>
26
 
            {t}Match type{/t}
27
 
        </td>
28
 
        <td>
29
 
            <select name='matchtype_{$ID}' title='{t}Boolean value{/t}' onChange='document.mainform.submit();'>
30
 
                {html_options options=$match_types selected=$match_type}
31
 
            </select>
32
 
 
33
 
        </td>
34
 
    </tr>
35
 
            <tr>
36
 
        <td>
37
 
            {t}Invert test{/t}?
38
 
        </td>
39
 
        <td>
40
 
            {if $Inverse}
41
 
                <input type='submit' name='toggle_inverse_{$ID}' value='{t}Yes{/t}' title='{t}Inverse match{/t}'>
42
 
            {else}
43
 
                <input type='submit' name='toggle_inverse_{$ID}' value='{t}No{/t}' title='{t}Inverse match{/t}'>
44
 
            {/if}
45
 
        </td>
46
 
    </tr>
47
 
    <tr>
48
 
        <td>
49
 
            {t}Comparator{/t}
50
 
        </td>
51
 
        <td>
52
 
            <select name='comparator_{$ID}' title='{t}Boolean value{/t}'>
53
 
                {html_options options=$comparators selected=$comparator}
54
 
            </select>
55
 
        </td>
56
 
    </tr>
57
 
        {if $match_type == ":count" || $match_type == ":value"}
58
 
    <tr>
59
 
        <td>
60
 
            {t}Operator{/t}
61
 
        </td>
62
 
        <td>
63
 
            <select name='operator_{$ID}' title='{t}Boolean value{/t}' onChange='document.mainform.submit();'>
64
 
                {html_options options=$operators selected=$operator}
65
 
            </select>
66
 
        </td>
67
 
    </tr>
68
 
        {/if}
69
 
  <tr>
70
 
        <td colspan=2>&nbsp;</td>
71
 
    </tr>
72
 
</table>
73
 
<table style='width:100%;'> 
74
 
    <tr>
75
 
        <td >
76
 
            {t}Address fields to include{/t}<br>
77
 
            <textarea style='width:100%;height:70px;' name='keys_{$ID}'>{$keys}</textarea>
78
 
        </td>
79
 
        <td >
80
 
            {t}Values to match for{/t}<br>
81
 
            <textarea style='width:100%;height:70px;' name='values_{$ID}'>{$values}</textarea>
82
 
        </td>
83
 
    </tr>
84
 
</table>
85
 
 
86
 
        {else}
87
 
        {if $LastError != ""}
88
 
                <table class='sieve_test_case'>
89
 
                <tr>
90
 
                                <td colspan=4>
91
 
                            <font color='red'><b>{$LastError}</b></font>
92
 
                                </td>
93
 
                        </tr>
94
 
                </table>
95
 
        {/if}
96
 
<table class='sieve_test_case'>
97
 
        <tr>
98
 
                {if $match_type == ":count" || $match_type == ":value"}
99
 
                <td style='vertical-align:top; width:350px;'>
100
 
                {else}
101
 
                <td style='vertical-align:top; width:200px;'>
102
 
                {/if}
103
 
 
104
 
                        
105
 
                        <b>{t}Envelope{/t}</b>
106
 
                
107
 
                        {if $Inverse}
108
 
                                <input type='submit' name='toggle_inverse_{$ID}' value='{t}Not{/t}'>
109
 
                        {else}
110
 
                                <input type='submit' name='toggle_inverse_{$ID}' value='{t}-{/t}'>
111
 
                        {/if}
112
 
                        &nbsp;
113
 
                        <select onChange='document.mainform.submit();' name='matchtype_{$ID}' title='{t}Boolean value{/t}'> 
114
 
                                {html_options options=$match_types selected=$match_type}
115
 
                        </select>
116
 
 
117
 
                        {if $match_type == ":count" || $match_type == ":value"}
118
 
                        <select name='operator_{$ID}' title='{t}Boolean value{/t}' onChange='document.mainform.submit();'>
119
 
                                {html_options options=$operators selected=$operator}
120
 
                        </select>
121
 
                        {/if}
122
 
                </td>
123
 
                <td>
124
 
                        <textarea style='width:100%;height:40px;' name='keys_{$ID}'>{$keys}</textarea>
125
 
                </td>
126
 
                <td>
127
 
                        <textarea style='width:100%;height:40px;' name='values_{$ID}'>{$values}</textarea>
128
 
                </td>
129
 
                <td style='text-align:right; vertical-align:top; width:120px;'>
130
 
                        <input type='submit' name='Toggle_Expert_{$ID}' value='{t}Expert view{/t}'>
131
 
                </td>
132
 
        </tr>
133
 
</table>
134
 
        {/if}