***************************************************************************/ if (!defined('IN_PHPBB')) { define('IN_PHPBB', true); } $aprvmUtil = new aprvmUtils(); $aprvmUtil->modVersion = '1.6.0'; $aprvmUtil->copyrightYear = '2001-2005'; /**************************************************************************** /** Module Setup /***************************************************************************/ define('PRIVMSGS_ALL_MAIL', -1); $phpbb_root_path = '../'; include $phpbb_root_path . 'extension.inc'; include_once "pagestart.{$phpEx}"; include_once $phpbb_root_path . 'includes/bbcode.' . $phpEx; $aprvmUtil->find_lang_file('lang_admin_priv_msgs'); if (!empty($setmodules)) { $filename = basename(__FILE__); $module['Users']['Private_Messages'] = $filename; return; } /**************************************************************************** /** Module Actual Start /***************************************************************************/ /******************************************************************************************* /** Get parameters. 'var_name' => 'default_value' /** This is outdated insecure, but I don't feel like rewriting the whole thing to be even more /** class structured. Maybe some day when phpBB moves to php5 I will. /******************************************************************************************/ //Normal sections. $params = array('mode' => '', 'order' => 'DESC', 'sort' => 'privmsgs_date', 'pmaction' => 'none', 'filter_from' => '', 'filter_to' => '', 'filter_from_text' => '', 'filter_to_text' => '');