Changeset a82dcd4 in github


Ignore:
Timestamp:
Dec 5, 2009 2:10:41 PM (4 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
ceeab9e
Parents:
724cc1f
Message:
  • Plugin API: added 'message_compose_body' hook (#1486285)
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    r70ee70a ra82dcd4  
    22=========================== 
    33 
     4- Plugin API: added 'message_compose_body' hook (#1486285) 
    45- Fix counters of all folders are checked in 'getunread' action  with check_all_folders disabled (#1486128) 
    56- Fix displaying alternative parts in messages of type message/rfc822 (#1486246) 
  • program/steps/mail/compose.inc

    r0207c45 ra82dcd4  
    445445    else if ($compose_mode == RCUBE_COMPOSE_DRAFT || $compose_mode == RCUBE_COMPOSE_EDIT) 
    446446      $body = rcmail_create_draft_body($body, $isHtml); 
    447   } 
    448   else if (!empty($_SESSION['compose']['param']['body'])) 
    449   { 
    450     $body = $_SESSION['compose']['param']['body']; 
     447 
     448    $plugin = $RCMAIL->plugins->exec_hook('message_compose_body', 
     449      array('body' => $body, 'html' => $isHtml, 'mode' => $compose_mode)); 
     450 
     451    $body = $plugin['body'];   
    451452  } 
    452453 
Note: See TracChangeset for help on using the changeset viewer.