Changeset 1524 in ExiteCMS for trunk/pm.php


Ignore:
Timestamp:
07/05/08 12:58:33 (4 years ago)
Author:
hverton
Message:

added code coloring for [code] bbcode sections, and an option to download the code
fixed a bug with pm read timestamps
registration now sends a pm to the webmaster when new user activation is set to admin-approval
user activation has been extended to work with both manual approvals and with email verification

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pm.php

    r1352 r1524  
    133133 
    134134    // parse the messsage body 
    135     $msgrec['pm_message'] = parsemessage($msgrec['pm_message'], $msgrec['pm_smileys']==0); 
     135    $_s = $msgrec['pm_smileys']; 
     136    $msgrec['post_smileys'] = $msgrec['pm_smileys']==0; 
     137    $msgrec['post_message'] = $msgrec['pm_message']; 
     138    $msgrec['pm_message'] = parsemessage($msgrec); 
     139    $msgrec['pm_smileys'] = $_s; 
    136140     
    137141    // check if the users avatar exists 
Note: See TracChangeset for help on using the changeset viewer.