summaryrefslogtreecommitdiff
path: root/plugins/managesieve/skins/default/templates/managesieve.html
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-03-18 08:53:32 +0000
committeralecpl <alec@alec.pl>2010-03-18 08:53:32 +0000
commit98c489e9f49de6a4442821614d5e69b36173eeab (patch)
tree5fe4a2c717806ed16b031ab33ef75da4b551b7fe /plugins/managesieve/skins/default/templates/managesieve.html
parentc16986be7f5f4df21bfc85a93a2c35f38c86bf12 (diff)
- Managesieve: Added import from Horde-INGO
- Managesieve: Support for more than one match using if+stop instead of if+elsif structures (#1486078) - Managesieve: Support for selectively disabling rules within a single sieve script (#1485882) - Managesieve: Added vertical splitter
Diffstat (limited to 'plugins/managesieve/skins/default/templates/managesieve.html')
-rw-r--r--plugins/managesieve/skins/default/templates/managesieve.html14
1 files changed, 13 insertions, 1 deletions
diff --git a/plugins/managesieve/skins/default/templates/managesieve.html b/plugins/managesieve/skins/default/templates/managesieve.html
index 0913ef5fc..f99466e80 100644
--- a/plugins/managesieve/skins/default/templates/managesieve.html
+++ b/plugins/managesieve/skins/default/templates/managesieve.html
@@ -5,6 +5,15 @@
<roundcube:include file="/includes/links.html" />
<link rel="stylesheet" type="text/css" href="/this/managesieve.css" />
<script type="text/javascript" src="/functions.js"></script>
+<script type="text/javascript" src="/splitter.js"></script>
+
+<style type="text/css">
+#filterslist { width: <roundcube:exp expression="!empty(cookie:sieveviewsplitter) ? cookie:sieveviewsplitter-5 : 210" />px; }
+#filter-box { left: <roundcube:exp expression="!empty(cookie:sieveviewsplitter) ? cookie:sieveviewsplitter+5 : 220" />px;
+<roundcube:exp expression="browser:ie ? ('width:expression((parseInt(this.parentNode.offsetWidth)-'.(!empty(cookie:sieveviewsplitter) ? cookie:sieveviewsplitter+5 : 220).')+\\'px\\');') : ''" />
+}
+</style>
+
</head>
<body>
@@ -32,7 +41,10 @@
<div id="filterslist">
<roundcube:object name="filterslist" id="filters-table" class="records-table" cellspacing="0" summary="Filters list" />
</div>
-
+<script type="text/javascript">
+ var sieveviewsplit = new rcube_splitter({id:'sieveviewsplitter', p1: 'filterslist', p2: 'filter-box', orientation: 'v', relative: true, start: 215});
+ rcmail.add_onload('sieveviewsplit.init()');
+</script>
<div id="filter-box">
<roundcube:object name="filterframe" id="filter-frame" width="100%" height="100%" frameborder="0" src="/watermark.html" />
</div>