Changeset 149

Show
Ignore:
Timestamp:
12/10/07 18:57:03 (1 year ago)
Author:
encore
Message:

This fixes ticket #209. Allows the mod to be run under elgg 0.9 RC1. Signed: Pasi Havia

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • messages/default_template.php

    r113 r149  
    99global $template_definition; 
    1010 
    11 $template['css'] .= file_get_contents($CFG->dirroot . "mod/messages/css.css"); 
     11//$template['css'] .= file_get_contents($CFG->dirroot . "mod/messages/css.css"); 
    1212 
    1313// Registering template definitions 
  • messages/lib.php

    r113 r149  
    6868  // Compose / Delete messages 
    6969  $function['messages:new'][] = $CFG->dirroot . "mod/messages/lib/messages_new.php"; 
    70   $function['messages:new:body'][] = $CFG->dirroot . "units/tinymce/tinymce_js.php"; 
     70  $function['messages:new:body'][] = $CFG->dirroot . "mod/tinymce/tinymce_js.php"; 
    7171 
    7272  // View a message 
  • messages/messages_actions.php

    r113 r149  
    142142 
    143143            if ($email_to = get_record_sql("select * from " . $CFG->prefix . "users where ident = " . $msg->to_id)) { 
    144  
    145144              if (!email_to_user($email_to, $email_from, $msg->title, $email_message . "\n\n\n" . __gettext("You cannot reply to this message by email."))) { 
    146145                $messages[] = __gettext("Failed to send email. An unknown error occurred.");