Changeset 4523 in subversion
- Timestamp:
- Feb 10, 2011 3:15:09 AM (2 years ago)
- Location:
- trunk/plugins/managesieve
- Files:
-
- 4 edited
-
Changelog (modified) (1 diff)
-
localization/en_US.inc (modified) (1 diff)
-
localization/pl_PL.inc (modified) (1 diff)
-
managesieve.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/managesieve/Changelog
r4522 r4523 2 2 - Added :regex and :matches support (#1487746) 3 3 - Added setflag/addflag/removeflag support (#1487449) 4 - Added support for vacation :subject field (#1487120) 4 5 5 6 * version 3.0 [2011-02-01] -
trunk/plugins/managesieve/localization/en_US.inc
r4522 r4523 42 42 $labels['vacationdays'] = 'How often send messages (in days):'; 43 43 $labels['vacationreason'] = 'Message body (vacation reason):'; 44 $labels['vacationsubject'] = 'Message subject:'; 44 45 $labels['rulestop'] = 'Stop evaluating rules'; 45 46 $labels['filterset'] = 'Filters set'; -
trunk/plugins/managesieve/localization/pl_PL.inc
r4522 r4523 51 51 $labels['vacationaddresses'] = 'Lista dodatkowych adresów odbiorców (oddzielonych przecinkami):'; 52 52 $labels['vacationreason'] = 'TreÅÄ (przyczyna nieobecnoÅci):'; 53 $labels['vacationsubject'] = 'Temat wiadomoÅci:'; 53 54 $labels['filterset'] = 'Zbiór filtrów'; 54 55 $labels['filtersetadd'] = 'Dodaj zbiór filtrów'; -
trunk/plugins/managesieve/managesieve.php
r4522 r4523 361 361 $addresses = $_POST['_action_addresses']; 362 362 $days = $_POST['_action_days']; 363 $subject = $_POST['_action_subject']; 363 364 $flags = $_POST['_action_flags']; 364 365 … … 541 542 $this->form['actions'][$i]['reason'] = str_replace("\r\n", "\n", $reason); 542 543 $this->form['actions'][$i]['days'] = $days[$idx]; 544 $this->form['actions'][$i]['subject'] = $subject[$idx]; 543 545 $this->form['actions'][$i]['addresses'] = explode(',', $addresses[$idx]); 544 // @TODO: vacation : subject, :mime, :from, :handle546 // @TODO: vacation :mime, :from, :handle 545 547 546 548 if ($this->form['actions'][$i]['addresses']) { … … 1052 1054 $out .= '<span class="label">'. Q($this->gettext('vacationreason')) .'</span><br />' 1053 1055 .'<textarea name="_action_reason[]" id="action_reason' .$id. '" ' 1054 .'rows="3" cols="4 0" '. $this->error_class($id, 'action', 'reason', 'action_reason') . '>'1056 .'rows="3" cols="45" '. $this->error_class($id, 'action', 'reason', 'action_reason') . '>' 1055 1057 . Q($action['reason'], 'strict', false) . "</textarea>\n"; 1058 $out .= '<br /><span class="label">' .Q($this->gettext('vacationsubject')) . '</span><br />' 1059 .'<input type="text" name="_action_subject[]" id="action_subject'.$id.'" ' 1060 .'value="' . (is_array($action['subject']) ? Q(implode(', ', $action['subject']), 'strict', false) : $action['subject']) . '" size="50" ' 1061 . $this->error_class($id, 'action', 'subject', 'action_subject') .' />'; 1056 1062 $out .= '<br /><span class="label">' .Q($this->gettext('vacationaddresses')) . '</span><br />' 1057 1063 .'<input type="text" name="_action_addresses[]" id="action_addr'.$id.'" ' 1058 .'value="' . (is_array($action['addresses']) ? Q(implode(', ', $action['addresses']), 'strict', false) : $action['addresses']) . '" size=" 40" '1064 .'value="' . (is_array($action['addresses']) ? Q(implode(', ', $action['addresses']), 'strict', false) : $action['addresses']) . '" size="50" ' 1059 1065 . $this->error_class($id, 'action', 'addresses', 'action_addr') .' />'; 1060 1066 $out .= '<br /><span class="label">' . Q($this->gettext('vacationdays')) . '</span><br />'
Note: See TracChangeset
for help on using the changeset viewer.
