Skip to content
This repository was archived by the owner on Nov 12, 2017. It is now read-only.

Commit f606c1a

Browse files
committed
Merge branch 'master' into release-2.0
2 parents c2be59e + c26a337 commit f606c1a

3 files changed

Lines changed: 27 additions & 2 deletions

File tree

CHANGELOG

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
Roundcube Webmail SieveRules
22
============================
33

4+
Version 2.1.2 (2014-03-30, rc-1.0)
5+
=================================================
6+
* Update pear package name in composer requirements
7+
* Update rule list row counting after change in core
8+
9+
Version 2.1.1 (2013-12-29, rc-1.0)
10+
=================================================
11+
* Correct skin folder structure for Roundcube packaging
12+
413
Version 2.1 (2013-12-01, rc-1.0)
514
=================================================
615
* add second argument (ruleset name) to import filter detect() function

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,23 @@ folder for details on the skin license.
4242

4343
Install
4444
-------
45-
* Place this plugin folder into plugins directory of Roundcube
45+
* For installation with Composer the pear repository must be included in the
46+
repositories section of the composer.json file in the Roundcube root. For
47+
example:
48+
```js
49+
"repositories": [
50+
{
51+
"type": "composer",
52+
"url": "http://plugins.roundcube.net"
53+
},
54+
{
55+
"type": "pear",
56+
"url": "http://pear.php.net"
57+
}
58+
]
59+
```
60+
* For direct download place this plugin folder into plugins directory of
61+
Roundcube
4662
* Add sieverules to $config['plugins'] in your Roundcube config
4763

4864
**NB:** When downloading the plugin from GitHub you will need to create a

sieverules.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1948,7 +1948,7 @@ private function _rule_row($ext, $rules_table, $rule, $predefined_rules, $attrib
19481948

19491949
// comparator select box
19501950
$field_id = 'rcmfd_comparator_'. $rowid;
1951-
$select_comparator = new html_select(array('id' => $field_id, 'name' => "_comparator[]") + (substr($defaults['op'], 0, 5) == 'count' || substr($defaults['op'], 0, 5) == 'value' ? array('disabled' => 'disabled') : array()));
1951+
$select_comparator = new html_select(array('id' => $field_id, 'name' => "_comparator[]") + (substr($defaults['op'], 0, 5) == 'count' || substr($defaults['op'], 0, 5) == 'value' ? array() : array('disabled' => 'disabled')));
19521952
foreach($this->comparators as $option) {
19531953
if (empty($option['ext']) || in_array($option['ext'], $ext))
19541954
$select_comparator->add($this->gettext($option['text']), $option['value']);

0 commit comments

Comments
 (0)