summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 995a831)
raw | patch | inline | side by side (parent: 995a831)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 27 Mar 2007 07:00:19 +0000 (07:00 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 27 Mar 2007 07:00:19 +0000 (07:00 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5891 594d385d-05f5-0310-b6e9-bd551577e9d8
index 7c32a6a845c1b41a295999ec840e1215ba5180bf..3927db987f73d467d48d6272e7efe001c8624bc2 100644 (file)
}
textarea.sieve_reject_input {
width:100%;
- height:30px;
+ height:55px;
}
/* Editing area */
textarea.sieve_vacation_input {
width:100%;
- height : 45px;
+ height : 55px;
}
diff --git a/include/sieve/templates/element_address.tpl b/include/sieve/templates/element_address.tpl
index db7558e03c56d71ee9f7512602896618a6daa497..dfabd25629f941c3eac8733470fe32256f411d32 100755 (executable)
{/if}
<tr>
- <td colspan=2 style='text-align:right; vertical-align:top;'>
+ <td style='width:50%;'>
+ <b>{t}Address{/t}</b>
+ </td>
+ <td style='text-align:right; vertical-align:top;'>
<input type='submit' name='Toggle_Expert_{$ID}' value='{t}Normal mode{/t}'>
</td>
</tr>
<tr>
- <td>
+ <td style='width:50%;'>
{t}Match type{/t}
</td>
<td>
<tr>
<td >
{t}Address fields to include{/t}<br>
- <textarea style='width:95%;height:50px;' name='keys_{$ID}'>{$keys}</textarea>
+ <textarea style='width:100%;height:70px;' name='keys_{$ID}'>{$keys}</textarea>
</td>
<td >
{t}Values to match for{/t}<br>
- <textarea style='width:95%;height:50px;' name='values_{$ID}'>{$values}</textarea>
+ <textarea style='width:100%;height:70px;' name='values_{$ID}'>{$values}</textarea>
</td>
</tr>
{else}
{/if}
<tr>
- <td style='vertical-align:top;'>
+ {if $match_type == ":count" || $match_type == ":value"}
+ <td style='vertical-align:top; width:350px;'>
+ {else}
+ <td style='vertical-align:top; width:200px;'>
+ {/if}
<b>{t}Address{/t}</b>
{if $Inverse}
{/if}
</td>
<td>
- <textarea style='width:45%;height:20px;' name='keys_{$ID}'>{$keys}</textarea>
- <textarea style='width:45%;height:20px;' name='values_{$ID}'>{$values}</textarea>
+ <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; vertical-align:top;'>
+ <td style='text-align:right; vertical-align:top; width:120px;'>
<input type='submit' name='Toggle_Expert_{$ID}' value='{t}Expert mode{/t}'>
</td>
</tr>
diff --git a/include/sieve/templates/element_envelope.tpl b/include/sieve/templates/element_envelope.tpl
index 6e86b55c472f67554106acef5f42a05bd99f8830..7061b8a47b87e7b6b20685b8c1ae20e8f132f26a 100755 (executable)
+
<table class='sieve_test_case'>
- {if $Expert}
- {if $LastError != ""}
- <tr>
- <td colspan=4>
- <font color='red'><b>{$LastError}</b></font>
- </td>
- </tr>
+ {if $Expert}
+ {if $LastError != ""}
+ <tr>
+ <td colspan=2>
+ <font color='red'><b>{$LastError}</b></font>
+ </td>
+ </tr>
{/if}
- <tr>
- <td>
- {t}Match type{/t}
+ <tr>
+ <td style='width:50%;'>
+ <b>{t}Envelope{/t}</b>
</td>
- <td>
- <select name='matchtype_{$ID}' title='{t}Boolean value{/t}' onChange='document.mainform.submit();'>
- {html_options options=$match_types selected=$match_type}
- </select>
+ <td style='text-align:right; vertical-align:top;'>
+ <input type='submit' name='Toggle_Expert_{$ID}' value='{t}Normal mode{/t}'>
+ </td>
+ </tr>
+ <tr>
+ <td style='width:50%;'>
+ {t}Match type{/t}
+ </td>
+ <td>
+ <select name='matchtype_{$ID}' title='{t}Boolean value{/t}' onChange='document.mainform.submit();'>
+ {html_options options=$match_types selected=$match_type}
+ </select>
+
+ </td>
+ </tr>
+
+
+ <tr>
+ <td>
+ {t}Invert test{/t}?
+ </td>
+ <td>
+ {if $Inverse}
+ <input type='submit' name='toggle_inverse_{$ID}' value='{t}Yes{/t}'>
+ {else}
+ <input type='submit' name='toggle_inverse_{$ID}' value='{t}No{/t}'>
+ {/if}
+ </td>
+ </tr>
+ <tr>
+ <td>
+ {t}Comparator{/t}
+ </td>
+ <td>
+ <select name='comparator_{$ID}' title='{t}Boolean value{/t}'>
+ {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();'>
+ {html_options options=$operators selected=$operator}
+ </select>
+ </td>
+ </tr>
+ {/if}
+ <tr>
+ <td colspan=2> </td>
+ </tr>
+ <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>
+
- </td>
- <td>
- {t}Invert test{/t}?
- </td>
- <td>
- {if $Inverse}
- <input type='submit' name='toggle_inverse_{$ID}' value='{t}Yes{/t}'>
- {else}
- <input type='submit' name='toggle_inverse_{$ID}' value='{t}No{/t}'>
- {/if}
- </td>
- <td style='text-align:right; vertical-align:top;'>
- <input type='submit' name='Toggle_Expert_{$ID}' value='{t}Normal mode{/t}'>
- </td>
- </tr>
- <tr>
- <td>
- {t}Comparator{/t}
- </td>
- <td>
- <select name='comparator_{$ID}' title='{t}Boolean value{/t}'>
- {html_options options=$comparators selected=$comparator}
- </select>
- </td>
- {if $match_type == ":count" || $match_type == ":value"}
- <td>
- {t}operator{/t}
- </td>
- <td>
- <select name='operator_{$ID}' title='{t}Boolean value{/t}' onChange='document.mainform.submit();'>
- {html_options options=$operators selected=$operator}
- </select>
- </td>
- {else}
- <td style='text-align:right;'>
-
- </td>
- {/if}
- <td style='text-align:right;'>
-
- </td>
- </tr>
- <tr>
- <td>
- {t}Address fields to include{/t}
- </td>
- <td>
- <textarea style='width:95%;height:50px;' name='keys_{$ID}'>{$keys}</textarea>
- </td>
- <td>
- {t}Values to match for{/t}
- </td>
- <td>
- <textarea style='width:95%;height:50px;' name='values_{$ID}'>{$values}</textarea>
- </td>
- </tr>
{else}
{if $LastError != ""}
<tr>
{/if}
<tr>
- <td style='vertical-align:top;'>
+ {if $match_type == ":count" || $match_type == ":value"}
+ <td style='vertical-align:top; width:350px;'>
+ {else}
+ <td style='vertical-align:top; width:200px;'>
+ {/if}
+
+
<b>{t}Envelope{/t}</b>
{if $Inverse}
{/if}
</td>
<td>
- <textarea style='width:45%;height:20px;' name='keys_{$ID}'>{$keys}</textarea>
- <textarea style='width:45%;height:20px;' name='values_{$ID}'>{$values}</textarea>
+ <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; vertical-align:top;'>
+ <td style='text-align:right; vertical-align:top; width:120px;'>
<input type='submit' name='Toggle_Expert_{$ID}' value='{t}Expert mode{/t}'>
</td>
</tr>
diff --git a/include/sieve/templates/element_header.tpl b/include/sieve/templates/element_header.tpl
index b944c4b62b63dfc3eb4dccda6e236eae20eb5b13..3ee9ac687b29a6e474fe778c89bed5958c8cbbde 100755 (executable)
{/if}
- <tr>
- <td>
+ <tr>
+ <td style='width:50%;'>
+ <b>{t}Header{/t}</b>
+ </td>
+ <td style='text-align:right; vertical-align:top;'>
+ <input type='submit' name='Toggle_Expert_{$ID}' value='{t}Normal mode{/t}'>
+ </td>
+ </tr>
+ <tr>
+ <td>
{t}Match type{/t}
</td>
<td>
</select>
</td>
+ </tr>
+ <tr>
<td>
{t}Invert test{/t}?
</td>
<input type='submit' name='toggle_inverse_{$ID}' value='{t}No{/t}'>
{/if}
</td>
- <td style='text-align:right; vertical-align:top;'>
- <input type='submit' name='Toggle_Expert_{$ID}' value='{t}Normal mode{/t}'>
- </td>
</tr>
<tr>
<td>
{html_options options=$comparators selected=$comparator}
</select>
</td>
+ </tr>
{if $match_type == ":count" || $match_type == ":value"}
+ <tr>
<td>
{t}operator{/t}
</td>
{html_options options=$operators selected=$operator}
</select>
</td>
- {else}
- <td style='text-align:right;'>
-
- </td>
+ </tr>
{/if}
- <td style='text-align:right;'>
-
- </td>
+
+ <tr>
+ <td colspan=2> </td>
</tr>
<tr>
- <td colspan=2>
+ <td >
{t}Address fields to include{/t}<br>
- <textarea style='width:95%;height:50px;' name='keys_{$ID}'>{$keys}</textarea>
+ <textarea style='width:100%;height:70px;' name='keys_{$ID}'>{$keys}</textarea>
</td>
- <td colspan=3>
+ <td >
{t}Values to match for{/t}<br>
- <textarea style='width:95%;height:50px;' name='values_{$ID}'>{$values}</textarea>
+ <textarea style='width:100%;height:70px;' name='values_{$ID}'>{$values}</textarea>
</td>
</tr>
+
{else}
{if $LastError != ""}
<tr>
{/if}
<tr>
- <td style='vertical-align:top;'>
+ {if $match_type == ":count" || $match_type == ":value"}
+ <td style='vertical-align:top; width:350px;'>
+ {else}
+ <td style='vertical-align:top; width:200px;'>
+ {/if}
<b>{t}Header{/t}</b>
{if $Inverse}
{/if}
</td>
<td>
- <textarea style='width:45%;height:20px;' name='keys_{$ID}'>{$keys}</textarea>
- <textarea style='width:45%;height:20px;' name='values_{$ID}'>{$values}</textarea>
+ <textarea style='width:100%;height:40px;' name='keys_{$ID}'>{$keys}</textarea>
</td>
- <td style='text-align:right; vertical-align:top;'>
+ <td>
+ <textarea style='width:100%;height:40px;' name='values_{$ID}'>{$values}</textarea>
+ </td>
+ <td style='text-align:right; vertical-align:top; width:120px;'>
<input type='submit' name='Toggle_Expert_{$ID}' value='{t}Expert mode{/t}'>
</td>
</tr>