plugins/ajim/server.php
changeset 1 f7b24c744747
parent 0 db23957ad1c7
--- a/plugins/ajim/server.php	Sun Jan 11 21:38:42 2009 -0500
+++ b/plugins/ajim/server.php	Fri May 29 14:36:51 2009 -0400
@@ -81,6 +81,7 @@
         while ( $row = $db->fetchrow() )
         {
           $row['rank_info'] = $session->get_user_rank($row['user_id']);
+          $row['rank_info']['rank_title'] = $lang->get($row['rank_info']['rank_title']);
           $row['message_html'] = RenderMan::render($row['message']);
           $row['human_time'] = enano_date('n/j, g:ia', $row['message_time']);
           $messages[] = $row;
@@ -119,6 +120,8 @@
           ));
       }
       
+      $content = RenderMan::preprocess_text($content, true, false);
+      
       $now = time();
       $content_db = $db->escape($content);
       $name_db = $db->escape($name);