-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Hi,
This is dirty, but workng for me patch, that add ability to add labels manualy (without filter)
diff -r message_label-master/localization/ru_RU.inc message_label/localization/ru_RU.inc
36c36,38
< ?>
\ No newline at end of file
---
> $labels['label_null_filter'] = 'Без фильтра';
>
> ?>
diff -r message_label-master/message_label.php message_label/message_label.php
917a918
> $header_select->add(Q($this->gettext('label_null_filter')), 'label_null_filter');
1000c1001
< if (!in_array($header[$i], array('subject', 'from', 'to', 'cc'))) {
---
> if (!in_array($header[$i], array('subject', 'from', 'to', 'cc', 'label_null_filter'))) {
1008,1009c1009,1016
< if ($input[$i] == '') {
< continue;
---
> if (in_array($header[$i], array('subject', 'from', 'to', 'cc'))) {
> if ($input[$i] == '') {
> continue;
> }
> } else {
> if ($input[$i] == '') {
> $input[$i] = '-------- empty filter ---------';
> }
Metadata
Metadata
Assignees
Labels
No labels