/usr/share/gosa/plugins/personal/mail/sieve/templates/element_header.tpl is in gosa-plugin-mail 2.7.4-4.3~deb7u2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 | {if $Expert}
{if $LastError != ""}
<table width='100%' class='sieve_test_case' summary="{t}Sieve header{/t}">
<tr>
<td colspan=4>
<font color='red'><b>{$LastError}</b></font>
</td>
</tr>
</table>
{/if}
<table width='100%' class='sieve_test_case' summary="{t}Sieve element{/t}">
<tr>
<td>
<b>{t}Header{/t}</b>
</td>
<td style='text-align:right; '>
<button type='submit' name='Toggle_Expert_{$ID}'>{t}Normal view{/t}</button>
</td>
</tr>
</table>
<table width='100%' summary="{t}Sieve element{/t}">
<tr>
<td>
{t}Match type{/t}
</td>
<td>
<select name='matchtype_{$ID}' title='{t}Boolean value{/t}' onChange='document.mainform.submit();' size=1>
{html_options options=$match_types selected=$match_type}
</select>
</td>
</tr>
<tr>
<td>
{t}Invert test{/t}?
</td>
<td>
{if $Inverse}
<button type='submit' name='toggle_inverse_{$ID}'>{t}Yes{/t}</button>
{else}
<button type='submit' name='toggle_inverse_{$ID}'>{t}No{/t}</button>
{/if}
</td>
</tr>
<tr>
<td>
{t}Comparator{/t}
</td>
<td>
<select name='comparator_{$ID}' title='{t}Boolean value{/t}' size=1>
{html_options options=$comparators selected=$comparator}
</select>
</td>
</tr>
{if $match_type == ":count" || $match_type == ":value"}
<tr>
<td>
{t}operator{/t}
</td>
<td>
<select name='operator_{$ID}' title='{t}Boolean value{/t}' onChange='document.mainform.submit();' size=1>
{html_options options=$operators selected=$operator}
</select>
</td>
</tr>
{/if}
<tr>
<td colspan=2> </td>
</tr>
</table>
<table width='100%' class='sieve_test_case' summary="{t}Sieve element{/t}">
<tr>
<td >
{t}Address fields to include{/t}<br>
<textarea style='width:100%;height:70px;' name='keys_{$ID}'>{$keys}</textarea>
</td>
<td >
{t}Values to match for{/t}<br>
<textarea style='width:100%;height:70px;' name='values_{$ID}'>{$values}</textarea>
</td>
</tr>
</table>
{else}
{if $LastError != ""}
<table width='100%' class='sieve_test_case' summary="{t}Sieve element{/t}">
<tr>
<td colspan=4>
<font color='red'><b>{$LastError}</b></font>
</td>
</tr>
</table>
{/if}
<table width='100%' class='sieve_test_case' summary="{t}Sieve element{/t}">
<tr>
{if $match_type == ":count" || $match_type == ":value"}
<td style='width:350px;'>
{else}
<td style='width:200px;'>
{/if}
<b>{t}Header{/t}</b>
{if $Inverse}
<button type='submit' name='toggle_inverse_{$ID}'>{t}Not{/t}</button>
{else}
<button type='submit' name='toggle_inverse_{$ID}'>{t}-{/t}</button>
{/if}
<select onChange='document.mainform.submit();' name='matchtype_{$ID}' title='{t}Boolean value{/t}' size=1>
{html_options options=$match_types selected=$match_type}
</select>
{if $match_type == ":count" || $match_type == ":value"}
<select name='operator_{$ID}' title='{t}Boolean value{/t}' onChange='document.mainform.submit();' size=1>
{html_options options=$operators selected=$operator}
</select>
{/if}
</td>
<td>
<textarea style='width:100%;height:40px;' name='keys_{$ID}'>{$keys}</textarea>
</td>
<td>
<textarea style='width:100%;height:40px;' name='values_{$ID}'>{$values}</textarea>
</td>
<td style='text-align:right; width:120px;'>
<button type='submit' name='Toggle_Expert_{$ID}'>{t}Expert view{/t}</button>
</td>
</tr>
</table>
{/if}
|