diff --git a/mail/inc/class.mail_sieve.inc.php b/mail/inc/class.mail_sieve.inc.php index 6fc6122985..a5415192f7 100644 --- a/mail/inc/class.mail_sieve.inc.php +++ b/mail/inc/class.mail_sieve.inc.php @@ -238,6 +238,7 @@ class mail_sieve $rules = $this->rulesByID; $content= $rules; + $content ['ruleID'] = $_GET['ruleID']; switch ($rules['action']) { case 'folder': @@ -273,7 +274,7 @@ class mail_sieve list($button) = @each($content['button']); //$ruleID is calculated by priority from the selected rule and is an unique ID - $ruleID = ($this->rulesByID['priority'] -1) / 2; + $content['ruleID'] = $ruleID = ($this->rulesByID['priority'] -1) / 2; $error = 0; switch ($button) { diff --git a/mail/templates/default/app.css b/mail/templates/default/app.css index 02f3c87b94..4149f9eae8 100644 --- a/mail/templates/default/app.css +++ b/mail/templates/default/app.css @@ -872,3 +872,9 @@ div.mailComposeHeaderSection>table { #mail-subscribe { overflow: hidden; } + +.sieve-title { + font-size: 12pt; + vertical-align: middle; +} +.sieve-title .ruleID::before {content:'#'} \ No newline at end of file diff --git a/mail/templates/default/sieve.edit.xet b/mail/templates/default/sieve.edit.xet index d31215ba43..52e46c6fab 100644 --- a/mail/templates/default/sieve.edit.xet +++ b/mail/templates/default/sieve.edit.xet @@ -2,141 +2,144 @@ -