You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
(95) |
Apr
(270) |
May
(111) |
Jun
|
Jul
|
Aug
(64) |
Sep
(130) |
Oct
(319) |
Nov
(17) |
Dec
(191) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(53) |
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
(387) |
Jul
(102) |
Aug
(247) |
Sep
(120) |
Oct
(1) |
Nov
(8) |
Dec
(21) |
| 2007 |
Jan
(38) |
Feb
(36) |
Mar
|
Apr
(32) |
May
(135) |
Jun
(523) |
Jul
(192) |
Aug
(103) |
Sep
(533) |
Oct
(77) |
Nov
(23) |
Dec
(203) |
| 2008 |
Jan
(312) |
Feb
(1193) |
Mar
(404) |
Apr
(67) |
May
(62) |
Jun
(497) |
Jul
(297) |
Aug
(110) |
Sep
(335) |
Oct
(256) |
Nov
(50) |
Dec
(118) |
| 2009 |
Jan
(67) |
Feb
(10) |
Mar
(1) |
Apr
(1) |
May
|
Jun
(10) |
Jul
(61) |
Aug
|
Sep
(16) |
Oct
(45) |
Nov
(12) |
Dec
(14) |
| 2010 |
Jan
(30) |
Feb
|
Mar
|
Apr
(4) |
May
|
Jun
|
Jul
(7) |
Aug
(7) |
Sep
(5) |
Oct
(5) |
Nov
|
Dec
|
| 2011 |
Jan
(7) |
Feb
(3) |
Mar
(89) |
Apr
(11) |
May
(5) |
Jun
|
Jul
(8) |
Aug
(1) |
Sep
(2) |
Oct
|
Nov
(2) |
Dec
(89) |
| 2012 |
Jan
(7) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(3) |
Oct
(42) |
Nov
(1) |
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
(19) |
Apr
(90) |
May
(38) |
Jun
(235) |
Jul
(38) |
Aug
(10) |
Sep
|
Oct
(29) |
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
(6) |
May
(52) |
Jun
|
Jul
(7) |
Aug
|
Sep
(17) |
Oct
|
Nov
|
Dec
|
|
From: FlorinCB <ory...@us...> - 2008-06-10 03:35:24
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27232/includes Modified Files: mx_functions_phpbb.php Added Files: mx_functions_bbcode.php Log Message: new bbcode in his own include file! Index: mx_functions_phpbb.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_phpbb.php,v retrieving revision 1.59 retrieving revision 1.60 diff -C2 -d -r1.59 -r1.60 *** mx_functions_phpbb.php 27 Mar 2008 14:06:18 -0000 1.59 --- mx_functions_phpbb.php 10 Jun 2008 03:35:19 -0000 1.60 *************** *** 139,630 **** /** - * phpBB Smilies pass. - * - * Hacking smilies_pass from phpbb/includes/bbcode.php - * - * @param string $message - * @return string - */ - - function mx_smilies_pass_old($message) - { - global $mx_page, $board_config, $phpbb_root_path, $phpEx; - - if( !function_exists('generate_smilies') ) - { - mx_page::load_file('functions_post'); - } - - if( !function_exists('smilies_pass') && (PORTAL_BACKEND == 'phpbb2') ) - { - include_once($phpbb_root_path . 'includes/bbcode.'.$phpEx); - } - - $smilies_path = $board_config['smilies_path']; - $board_config['smilies_path'] = PHPBB_URL . $board_config['smilies_path']; - $message = smilies_pass($message); - $board_config['smilies_path'] = $smilies_path; - return $message; - } - - - /** - * phpBB Smilies pass. - * - * Hacking smilies_pass from phpbb/includes/bbcode.php - * - * @param string $message - * @return string - * - */ - function mx_smilies_pass($message) - { - static $orig, $repl; - global $board_config, $mx_root_path, $phpbb_root_path, $phpEx; - - switch (PORTAL_BACKEND) - { - case 'internal': - $smiley_path_url = PHPBB_URL; //change this to PORTAL_URL when shared folder will be removed - $smiley_url = 'smile_url'; - break; - case 'phpbb2': - $smiley_path_url = PHPBB_URL; - $smiley_url = 'smile_url'; - break; - case 'phpbb3': - $smiley_path_url = PHPBB_URL; - $smiley_url = 'smiley_url'; - $board_config['smilies_path'] = str_replace("smiles", "smilies", $board_config['smilies_path']); - break; - } - - $smilies_path = $board_config['smilies_path']; - $board_config['smilies_path'] = $smiley_path_url . $board_config['smilies_path']; - - if (!isset($orig)) - { - global $db; - $orig = $repl = array(); - - $sql = 'SELECT * FROM ' . SMILIES_TABLE; - if( !$result = $db->sql_query($sql) ) - { - mx_message_die(GENERAL_ERROR, "Couldn't obtain smilies data", "", __LINE__, __FILE__, $sql); - } - - $smilies = $db->sql_fetchrowset($result); - - if (count($smilies)) - { - @usort($smilies, 'smiley_sort'); - } - - for ($i = 0; $i < count($smilies); $i++) - { - $orig[] = "/(?<=.\W|\W.|^\W)" . preg_quote($smilies[$i]['code'], "/") . "(?=.\W|\W.|\W$)/"; - $repl[] = '<img src="'. $board_config['smilies_path'] . '/' . $smilies[$i][$smiley_url] . '" alt="' . $smilies[$i]['emoticon'] . '" border="0" />'; - } - } - - if (count($orig)) - { - $message = preg_replace($orig, $repl, ' ' . $message . ' '); - $message = substr($message, 1, -1); - } - - $board_config['smilies_path'] = $smilies_path; - - return $message; - } - - /** - * Generate phpBB smilies. - * - * Hacking generate_smilies from phpbb/includes/functions_post.php - * - * @param string $mode - * @param integer $page_id - */ - function mx_generate_smilies($mode, $page_id) - { - global $mx_page, $board_config, $template, $mx_root_path, $phpbb_root_path, $phpEx; - - if( !function_exists('generate_smilies') ) - { - mx_page::load_file('functions_post'); - } - - $smilies_path = $board_config['smilies_path']; - $board_config['smilies_path'] = PHPBB_URL . $board_config['smilies_path']; - generate_smilies($mode, $page_id); - $board_config['smilies_path'] = $smilies_path; - $template->assign_vars(array( - 'U_MORE_SMILIES' => mx3_append_sid(PHPBB_URL . "posting.$phpEx", "mode=smilies")) - ); - } - - //phpBB Temporary code start - - /** - * Loads bbcode templates from the bbcode.tpl file of the current template set. - * Creates an array, keys are bbcode names like "b_open" or "url", values - * are the associated template. - * Probably pukes all over the place if there's something really screwed - * with the bbcode.tpl file. - * - * Nathan Codding, Sept 26 2001. - * This a temporary function - */ - function mx_load_bbcode_template() - { - global $template; - $tpl_filename = $template->make_filename('bbcode.tpl'); - $tpl = fread(fopen($tpl_filename, 'r'), filesize($tpl_filename)); - - // replace \ with \\ and then ' with \'. - $tpl = str_replace('\\', '\\\\', $tpl); - $tpl = str_replace('\'', '\\\'', $tpl); - - // strip newlines. - $tpl = str_replace("\n", '', $tpl); - - // Turn template blocks into PHP assignment statements for the values of $bbcode_tpls.. - $tpl = preg_replace('#<!-- BEGIN (.*?) -->(.*?)<!-- END (.*?) -->#', "\n" . '$bbcode_tpls[\'\\1\'] = \'\\2\';', $tpl); - - $bbcode_tpls = array(); - - eval($tpl); - - return $bbcode_tpls; - } - - /** - * Prepares the loaded bbcode templates for insertion into preg_replace() - * or str_replace() calls in the bbencode_second_pass functions. This - * means replacing template placeholders with the appropriate preg backrefs - * or with language vars. NOTE: If you change how the regexps work in - * bbencode_second_pass(), you MUST change this function. - * - * Nathan Codding, Sept 26 2001 - * - * This a temporary function - */ - function mx_prepare_bbcode_template($bbcode_tpl) - { - global $lang; - - $bbcode_tpl['olist_open'] = str_replace('{LIST_TYPE}', '\\1', $bbcode_tpl['olist_open']); - - $bbcode_tpl['color_open'] = str_replace('{COLOR}', '\\1', $bbcode_tpl['color_open']); - - $bbcode_tpl['size_open'] = str_replace('{SIZE}', '\\1', $bbcode_tpl['size_open']); - - $bbcode_tpl['quote_open'] = str_replace('{L_QUOTE}', $lang['Quote'], $bbcode_tpl['quote_open']); - - $bbcode_tpl['quote_username_open'] = str_replace('{L_QUOTE}', $lang['Quote'], $bbcode_tpl['quote_username_open']); - $bbcode_tpl['quote_username_open'] = str_replace('{L_WROTE}', $lang['wrote'], $bbcode_tpl['quote_username_open']); - $bbcode_tpl['quote_username_open'] = str_replace('{USERNAME}', '\\1', $bbcode_tpl['quote_username_open']); - - $bbcode_tpl['code_open'] = str_replace('{L_CODE}', $lang['Code'], $bbcode_tpl['code_open']); - - $bbcode_tpl['img'] = str_replace('{URL}', '\\1', $bbcode_tpl['img']); - - // We do URLs in several different ways.. - $bbcode_tpl['url1'] = str_replace('{URL}', '\\1', $bbcode_tpl['url']); - $bbcode_tpl['url1'] = str_replace('{DESCRIPTION}', '\\1', $bbcode_tpl['url1']); - - $bbcode_tpl['url2'] = str_replace('{URL}', 'http://\\1', $bbcode_tpl['url']); - $bbcode_tpl['url2'] = str_replace('{DESCRIPTION}', '\\1', $bbcode_tpl['url2']); - - $bbcode_tpl['url3'] = str_replace('{URL}', '\\1', $bbcode_tpl['url']); - $bbcode_tpl['url3'] = str_replace('{DESCRIPTION}', '\\2', $bbcode_tpl['url3']); - - $bbcode_tpl['url4'] = str_replace('{URL}', 'http://\\1', $bbcode_tpl['url']); - $bbcode_tpl['url4'] = str_replace('{DESCRIPTION}', '\\3', $bbcode_tpl['url4']); - - $bbcode_tpl['email'] = str_replace('{EMAIL}', '\\1', $bbcode_tpl['email']); - - define("BBCODE_TPL_READY", true); - - return $bbcode_tpl; - } - - /** - * Does second-pass bbencoding. This should be used before displaying the message in - * a thread. Assumes the message is already first-pass encoded, and we are given the - * correct UID as used in first-pass encoding. - * This a temporary function - */ - function mx_bbencode_second_pass($text, $uid) - { - global $lang, $bbcode_tpl; - - $text = preg_replace('#(script|about|applet|activex|chrome):#is', "\\1:", $text); - - // pad it with a space so we can distinguish between FALSE and matching the 1st char (index 0). - // This is important; bbencode_quote(), bbencode_list(), and bbencode_code() all depend on it. - $text = " " . $text; - - // First: If there isn't a "[" and a "]" in the message, don't bother. - if (! (strpos($text, "[") && strpos($text, "]")) ) - { - // Remove padding, return. - $text = substr($text, 1); - return $text; - } - - // Only load the templates ONCE.. - if (!defined("BBCODE_TPL_READY")) - { - // load templates from file into array. - $bbcode_tpl = mx_load_bbcode_template(); - - // prepare array for use in regexps. - $bbcode_tpl = mx_prepare_bbcode_template($bbcode_tpl); - } - - // [CODE] and [/CODE] for posting code (HTML, PHP, C etc etc) in your posts. - $text = mx_bbencode_second_pass_code($text, $uid, $bbcode_tpl); - - // [QUOTE] and [/QUOTE] for posting replies with quote, or just for quoting stuff. - $text = str_replace("[quote:$uid]", $bbcode_tpl['quote_open'], $text); - $text = str_replace("[/quote:$uid]", $bbcode_tpl['quote_close'], $text); - - // New one liner to deal with opening quotes with usernames... - // replaces the two line version that I had here before.. - $text = preg_replace("/\[quote:$uid=\"(.*?)\"\]/si", $bbcode_tpl['quote_username_open'], $text); - - // [list] and [list=x] for (un)ordered lists. - // unordered lists - $text = str_replace("[list:$uid]", $bbcode_tpl['ulist_open'], $text); - // li tags - $text = str_replace("[*:$uid]", $bbcode_tpl['listitem'], $text); - // ending tags - $text = str_replace("[/list:u:$uid]", $bbcode_tpl['ulist_close'], $text); - $text = str_replace("[/list:o:$uid]", $bbcode_tpl['olist_close'], $text); - // Ordered lists - $text = preg_replace("/\[list=([a1]):$uid\]/si", $bbcode_tpl['olist_open'], $text); - - // colours - $text = preg_replace("/\[color=(\#[0-9A-F]{6}|[a-z]+):$uid\]/si", $bbcode_tpl['color_open'], $text); - $text = str_replace("[/color:$uid]", $bbcode_tpl['color_close'], $text); - - // size - $text = preg_replace("/\[size=([1-2]?[0-9]):$uid\]/si", $bbcode_tpl['size_open'], $text); - $text = str_replace("[/size:$uid]", $bbcode_tpl['size_close'], $text); - - // [b] and [/b] for bolding text. - $text = str_replace("[b:$uid]", $bbcode_tpl['b_open'], $text); - $text = str_replace("[/b:$uid]", $bbcode_tpl['b_close'], $text); - - // [u] and [/u] for underlining text. - $text = str_replace("[u:$uid]", $bbcode_tpl['u_open'], $text); - $text = str_replace("[/u:$uid]", $bbcode_tpl['u_close'], $text); - - // [i] and [/i] for italicizing text. - $text = str_replace("[i:$uid]", $bbcode_tpl['i_open'], $text); - $text = str_replace("[/i:$uid]", $bbcode_tpl['i_close'], $text); - - // Patterns and replacements for URL and email tags.. - $patterns = array(); - $replacements = array(); - - // [img]image_url_here[/img] code.. - // This one gets first-passed.. - $patterns[] = "#\[img:$uid\]([^?](?:[^\[]+|\[(?!url))*?)\[/img:$uid\]#i"; - $replacements[] = $bbcode_tpl['img']; - - // matches a [url]xxxx://www.phpbb.com[/url] code.. - $patterns[] = "#\[url\]([\w]+?://([\w\#$%&~/.\-;:=,?@\]+]+|\[(?!url=))*?)\[/url\]#is"; - $replacements[] = $bbcode_tpl['url1']; - - // [url]www.phpbb.com[/url] code.. (no xxxx:// prefix). - $patterns[] = "#\[url\]((www|ftp)\.([\w\#$%&~/.\-;:=,?@\]+]+|\[(?!url=))*?)\[/url\]#is"; - $replacements[] = $bbcode_tpl['url2']; - - // [url=xxxx://www.phpbb.com]phpBB[/url] code.. - $patterns[] = "#\[url=([\w]+?://[\w\#$%&~/.\-;:=,?@\[\]+]*?)\]([^?\n\r\t].*?)\[/url\]#is"; - $replacements[] = $bbcode_tpl['url3']; - - // [url=www.phpbb.com]phpBB[/url] code.. (no xxxx:// prefix). - $patterns[] = "#\[url=((www|ftp)\.[\w\#$%&~/.\-;:=,?@\[\]+]*?)\]([^?\n\r\t].*?)\[/url\]#is"; - $replacements[] = $bbcode_tpl['url4']; - - // [email]us...@do...[/email] code.. - $patterns[] = "#\[email\]([a-z0-9&\-_.]+?@[\w\-]+\.([\w\-\.]+\.)?[\w]+)\[/email\]#si"; - $replacements[] = $bbcode_tpl['email']; - - $text = preg_replace($patterns, $replacements, $text); - - // Remove our padding from the string.. - $text = substr($text, 1); - - return $text; - - } // bbencode_second_pass() - - /** - * Does second-pass bbencoding of the [code] tags. This includes - * running htmlspecialchars() over the text contained between - * any pair of [code] tags that are at the first level of - * nesting. Tags at the first level of nesting are indicated - * by this format: [code:1:$uid] ... [/code:1:$uid] - * Other tags are in this format: [code:$uid] ... [/code:$uid] - * This a temporary function - */ - function mx_bbencode_second_pass_code($text, $uid, $bbcode_tpl) - { - global $lang; - - $code_start_html = $bbcode_tpl['code_open']; - $code_end_html = $bbcode_tpl['code_close']; - - // First, do all the 1st-level matches. These need an htmlspecialchars() run, - // so they have to be handled differently. - $match_count = preg_match_all("#\[code:1:$uid\](.*?)\[/code:1:$uid\]#si", $text, $matches); - - for ($i = 0; $i < $match_count; $i++) - { - $before_replace = $matches[1][$i]; - $after_replace = $matches[1][$i]; - - // Replace 2 spaces with " " so non-tabbed code indents without making huge long lines. - $after_replace = str_replace(" ", " ", $after_replace); - // now Replace 2 spaces with " " to catch odd #s of spaces. - $after_replace = str_replace(" ", " ", $after_replace); - - // Replace tabs with " " so tabbed code indents sorta right without making huge long lines. - $after_replace = str_replace("\t", " ", $after_replace); - - // now Replace space occurring at the beginning of a line - $after_replace = preg_replace("/^ {1}/m", ' ', $after_replace); - - $str_to_match = "[code:1:$uid]" . $before_replace . "[/code:1:$uid]"; - - $replacement = $code_start_html; - $replacement .= $after_replace; - $replacement .= $code_end_html; - - $text = str_replace($str_to_match, $replacement, $text); - } - - // Now, do all the non-first-level matches. These are simple. - $text = str_replace("[code:$uid]", $code_start_html, $text); - $text = str_replace("[/code:$uid]", $code_end_html, $text); - - return $text; - - } // bbencode_second_pass_code() - - //phpBB Temporary code ends - - /** - * Rewritten by Nathan Codding - Feb 6, 2001. - * - Goes through the given string, and replaces xxxx://yyyy with an HTML <a> tag linking - * to that URL - * - Goes through the given string, and replaces www.xxxx.yyyy[zzzz] with an HTML <a> tag linking - * to http://www.xxxx.yyyy[/zzzz] - * - Goes through the given string, and replaces xxxx@yyyy with an HTML mailto: tag linking - * to that email address - * - Only matches these 2 patterns either after a space, or at the beginning of a line - * - * Notes: the email one might get annoying - it's easy to make it more restrictive, though.. maybe - * have it require something like xx...@yy... or such. We'll see. - * We can add here more phpBB3 stuff in time - Ory - */ - function mx_make_clickable($text) - { - $text = preg_replace('#(script|about|applet|activex|chrome):#is', "\\1:", $text); - - // pad it with a space so we can match things at the start of the 1st line. - $ret = ' ' . $text; - - // matches an "xxxx://yyyy" URL at the start of a line, or after a space. - // xxxx can only be alpha characters. - // yyyy is anything up to the first space, newline, comma, double quote or < - $ret = preg_replace("#(^|[\n ])([\w]+?://[\w\#$%&~/.\-;:=,?@\[\]+]*)#is", "\\1<a href=\"\\2\" target=\"_blank\">\\2</a>", $ret); - - // matches a "www|ftp.xxxx.yyyy[/zzzz]" kinda lazy URL thing - // Must contain at least 2 dots. xxxx contains either alphanum, or "-" - // zzzz is optional.. will contain everything up to the first space, newline, - // comma, double quote or <. - $ret = preg_replace("#(^|[\n ])((www|ftp)\.[\w\#$%&~/.\-;:=,?@\[\]+]*)#is", "\\1<a href=\"http://\\2\" target=\"_blank\">\\2</a>", $ret); - - // matches an email@domain type address at the start of a line, or after a space. - // Note: Only the followed chars are valid; alphanums, "-", "_" and or ".". - $ret = preg_replace("#(^|[\n ])([a-z0-9&\-_.]+?)@([\w\-]+\.([\w\-\.]+\.)*[\w]+)#i", "\\1<a href=\"mailto:\\2@\\3\">\\2@\\3</a>", $ret); - - // Remove our padding.. - $ret = substr($ret, 1); - - return($ret); - } - - /** - * Nathan Codding - Feb 6, 2001 - * Reverses the effects of make_clickable(), for use in editpost. - * - Does not distinguish between "www.xxxx.yyyy" and "http://aaaa.bbbb" type URLs. - * - */ - function mx_undo_make_clickable($text) - { - $text = preg_replace("#<!-- BBCode auto-link start --><a href=\"(.*?)\" target=\"_blank\">.*?</a><!-- BBCode auto-link end -->#i", "\\1", $text); - $text = preg_replace("#<!-- BBcode auto-mailto start --><a href=\"mailto:(.*?)\">.*?</a><!-- BBCode auto-mailto end -->#i", "\\1", $text); - - return $text; - - } - - /** - * bbcode to html. - * - * Convert the bbcode to html - * - * @param string $bbtext - * @param string $bbcode_uid - * @param boolean $smilies_on - * @return string - */ - function mx_decode($bbtext, $bbcode_uid, $smilies_on = true) - { - global $mx_root_path, $phpbb_root_path, $phpEx, $mx_page; - - if ((PORTAL_BACKEND !== 'phpbb3') && !function_exists('bbencode_second_pass')) - { - mx_page::load_file('bbcode'); - } - - if (PORTAL_BACKEND == 'phpbb3') - { - /* - if (!class_exists('bbcode')) - { - mx_page::load_file('bbcode'); - } - - if( !is_object($bbcode)) - { - $bbcode = new bbcode(); - } - */ - //Temporary solutution - //require($mx_root_path . 'includes/shared/phpbb2/includes/bbcode.'.$phpEx); - } - - $mytext = stripslashes($bbtext); - if (!empty($bbcode_uid)) - { - $mytext = mx_bbencode_second_pass($mytext, $bbcode_uid); - } - if ($smilies_on) - { - $mytext = mx_smilies_pass($mytext); - } - $mytext = str_replace("\n", "\n<br />\n", $mytext); - return mx_make_clickable($mytext); - } - - /** * General replacement for die(). * --- 139,142 ---- --- NEW FILE: mx_functions_bbcode.php --- <?php /** * * @package Functions_phpBB * @version $Id: mx_functions_bbcode.php,v 1.1 2008/06/10 03:35:19 orynider Exp $ * @copyright (c) 2002-2008 MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com * */ if (!defined('IN_PORTAL')) { exit; } /** * phpBB Smilies pass. * * Hacking smilies_pass from phpbb/includes/bbcode.php * * @param string $message * @return string */ function mx_smilies_pass_old($message) { global $mx_page, $board_config, $phpbb_root_path, $phpEx; if( !function_exists('generate_smilies') ) { mx_page::load_file('functions_post'); } if( !function_exists('smilies_pass') && (PORTAL_BACKEND == 'phpbb2') ) { include_once($phpbb_root_path . 'includes/bbcode.'.$phpEx); } $smilies_path = $board_config['smilies_path']; $board_config['smilies_path'] = PHPBB_URL . $board_config['smilies_path']; $message = smilies_pass($message); $board_config['smilies_path'] = $smilies_path; return $message; } /** * phpBB Smilies pass. * * Hacking smilies_pass from phpbb/includes/bbcode.php * * @param string $message * @return string * */ function mx_smilies_pass($message) { static $orig, $repl; global $board_config, $mx_root_path, $phpbb_root_path, $phpEx; switch (PORTAL_BACKEND) { case 'internal': $smiley_path_url = PHPBB_URL; //change this to PORTAL_URL when shared folder will be removed $smiley_url = 'smile_url'; break; case 'phpbb2': $smiley_path_url = PHPBB_URL; $smiley_url = 'smile_url'; break; case 'phpbb3': $smiley_path_url = PHPBB_URL; $smiley_url = 'smiley_url'; $board_config['smilies_path'] = str_replace("smiles", "smilies", $board_config['smilies_path']); break; } $smilies_path = $board_config['smilies_path']; $board_config['smilies_path'] = $smiley_path_url . $board_config['smilies_path']; if (!isset($orig)) { global $db; $orig = $repl = array(); $sql = 'SELECT * FROM ' . SMILIES_TABLE; if( !$result = $db->sql_query($sql) ) { mx_message_die(GENERAL_ERROR, "Couldn't obtain smilies data", "", __LINE__, __FILE__, $sql); } $smilies = $db->sql_fetchrowset($result); if (count($smilies)) { @usort($smilies, 'smiley_sort'); } for ($i = 0; $i < count($smilies); $i++) { $orig[] = "/(?<=.\W|\W.|^\W)" . preg_quote($smilies[$i]['code'], "/") . "(?=.\W|\W.|\W$)/"; $repl[] = '<img src="'. $board_config['smilies_path'] . '/' . $smilies[$i][$smiley_url] . '" alt="' . $smilies[$i]['emoticon'] . '" border="0" />'; } } if (count($orig)) { $message = preg_replace($orig, $repl, ' ' . $message . ' '); $message = substr($message, 1, -1); } $board_config['smilies_path'] = $smilies_path; return $message; } /** * Generate phpBB smilies. * * Hacking generate_smilies from phpbb/includes/functions_post.php * * @param string $mode * @param integer $page_id */ function mx_generate_smilies($mode, $page_id) { global $mx_page, $board_config, $template, $mx_root_path, $phpbb_root_path, $phpEx; if( !function_exists('generate_smilies') ) { mx_page::load_file('functions_post'); } $smilies_path = $board_config['smilies_path']; $board_config['smilies_path'] = PHPBB_URL . $board_config['smilies_path']; generate_smilies($mode, $page_id); $board_config['smilies_path'] = $smilies_path; $template->assign_vars(array( 'U_MORE_SMILIES' => mx3_append_sid(PHPBB_URL . "posting.$phpEx", "mode=smilies")) ); } //phpBB Temporary code start /** * Loads bbcode templates from the bbcode.tpl file of the current template set. * Creates an array, keys are bbcode names like "b_open" or "url", values * are the associated template. * Probably pukes all over the place if there's something really screwed * with the bbcode.tpl file. * * Nathan Codding, Sept 26 2001. * This a temporary function */ function mx_load_bbcode_template() { global $template; $tpl_filename = $template->make_filename('bbcode.tpl'); $tpl = fread(fopen($tpl_filename, 'r'), filesize($tpl_filename)); // replace \ with \\ and then ' with \'. $tpl = str_replace('\\', '\\\\', $tpl); $tpl = str_replace('\'', '\\\'', $tpl); // strip newlines. $tpl = str_replace("\n", '', $tpl); // Turn template blocks into PHP assignment statements for the values of $bbcode_tpls.. $tpl = preg_replace('#<!-- BEGIN (.*?) -->(.*?)<!-- END (.*?) -->#', "\n" . '$bbcode_tpls[\'\\1\'] = \'\\2\';', $tpl); $bbcode_tpls = array(); eval($tpl); return $bbcode_tpls; } /** * Prepares the loaded bbcode templates for insertion into preg_replace() * or str_replace() calls in the bbencode_second_pass functions. This * means replacing template placeholders with the appropriate preg backrefs * or with language vars. NOTE: If you change how the regexps work in * bbencode_second_pass(), you MUST change this function. * * Nathan Codding, Sept 26 2001 * * This a temporary function */ function mx_prepare_bbcode_template($bbcode_tpl) { global $lang; $bbcode_tpl['olist_open'] = str_replace('{LIST_TYPE}', '\\1', $bbcode_tpl['olist_open']); $bbcode_tpl['color_open'] = str_replace('{COLOR}', '\\1', $bbcode_tpl['color_open']); $bbcode_tpl['size_open'] = str_replace('{SIZE}', '\\1', $bbcode_tpl['size_open']); $bbcode_tpl['quote_open'] = str_replace('{L_QUOTE}', $lang['Quote'], $bbcode_tpl['quote_open']); $bbcode_tpl['quote_username_open'] = str_replace('{L_QUOTE}', $lang['Quote'], $bbcode_tpl['quote_username_open']); $bbcode_tpl['quote_username_open'] = str_replace('{L_WROTE}', $lang['wrote'], $bbcode_tpl['quote_username_open']); $bbcode_tpl['quote_username_open'] = str_replace('{USERNAME}', '\\1', $bbcode_tpl['quote_username_open']); $bbcode_tpl['code_open'] = str_replace('{L_CODE}', $lang['Code'], $bbcode_tpl['code_open']); $bbcode_tpl['img'] = str_replace('{URL}', '\\1', $bbcode_tpl['img']); // We do URLs in several different ways.. $bbcode_tpl['url1'] = str_replace('{URL}', '\\1', $bbcode_tpl['url']); $bbcode_tpl['url1'] = str_replace('{DESCRIPTION}', '\\1', $bbcode_tpl['url1']); $bbcode_tpl['url2'] = str_replace('{URL}', 'http://\\1', $bbcode_tpl['url']); $bbcode_tpl['url2'] = str_replace('{DESCRIPTION}', '\\1', $bbcode_tpl['url2']); $bbcode_tpl['url3'] = str_replace('{URL}', '\\1', $bbcode_tpl['url']); $bbcode_tpl['url3'] = str_replace('{DESCRIPTION}', '\\2', $bbcode_tpl['url3']); $bbcode_tpl['url4'] = str_replace('{URL}', 'http://\\1', $bbcode_tpl['url']); $bbcode_tpl['url4'] = str_replace('{DESCRIPTION}', '\\3', $bbcode_tpl['url4']); $bbcode_tpl['email'] = str_replace('{EMAIL}', '\\1', $bbcode_tpl['email']); define("BBCODE_TPL_READY", true); return $bbcode_tpl; } /** * Does second-pass bbencoding. This should be used before displaying the message in * a thread. Assumes the message is already first-pass encoded, and we are given the * correct UID as used in first-pass encoding. * This a temporary function */ function mx_bbencode_second_pass($text, $uid) { global $lang, $bbcode_tpl; $text = preg_replace('#(script|about|applet|activex|chrome):#is', "\\1:", $text); // pad it with a space so we can distinguish between FALSE and matching the 1st char (index 0). // This is important; bbencode_quote(), bbencode_list(), and bbencode_code() all depend on it. $text = " " . $text; // First: If there isn't a "[" and a "]" in the message, don't bother. if (! (strpos($text, "[") && strpos($text, "]")) ) { // Remove padding, return. $text = substr($text, 1); return $text; } // Only load the templates ONCE.. if (!defined("BBCODE_TPL_READY")) { // load templates from file into array. $bbcode_tpl = mx_load_bbcode_template(); // prepare array for use in regexps. $bbcode_tpl = mx_prepare_bbcode_template($bbcode_tpl); } // [CODE] and [/CODE] for posting code (HTML, PHP, C etc etc) in your posts. $text = mx_bbencode_second_pass_code($text, $uid, $bbcode_tpl); // [QUOTE] and [/QUOTE] for posting replies with quote, or just for quoting stuff. $text = str_replace("[quote:$uid]", $bbcode_tpl['quote_open'], $text); $text = str_replace("[/quote:$uid]", $bbcode_tpl['quote_close'], $text); // New one liner to deal with opening quotes with usernames... // replaces the two line version that I had here before.. $text = preg_replace("/\[quote:$uid=\"(.*?)\"\]/si", $bbcode_tpl['quote_username_open'], $text); // [list] and [list=x] for (un)ordered lists. // unordered lists $text = str_replace("[list:$uid]", $bbcode_tpl['ulist_open'], $text); // li tags $text = str_replace("[*:$uid]", $bbcode_tpl['listitem'], $text); // ending tags $text = str_replace("[/list:u:$uid]", $bbcode_tpl['ulist_close'], $text); $text = str_replace("[/list:o:$uid]", $bbcode_tpl['olist_close'], $text); // Ordered lists $text = preg_replace("/\[list=([a1]):$uid\]/si", $bbcode_tpl['olist_open'], $text); // colours $text = preg_replace("/\[color=(\#[0-9A-F]{6}|[a-z]+):$uid\]/si", $bbcode_tpl['color_open'], $text); $text = str_replace("[/color:$uid]", $bbcode_tpl['color_close'], $text); // size $text = preg_replace("/\[size=([1-2]?[0-9]):$uid\]/si", $bbcode_tpl['size_open'], $text); $text = str_replace("[/size:$uid]", $bbcode_tpl['size_close'], $text); // [b] and [/b] for bolding text. $text = str_replace("[b:$uid]", $bbcode_tpl['b_open'], $text); $text = str_replace("[/b:$uid]", $bbcode_tpl['b_close'], $text); // [u] and [/u] for underlining text. $text = str_replace("[u:$uid]", $bbcode_tpl['u_open'], $text); $text = str_replace("[/u:$uid]", $bbcode_tpl['u_close'], $text); // [i] and [/i] for italicizing text. $text = str_replace("[i:$uid]", $bbcode_tpl['i_open'], $text); $text = str_replace("[/i:$uid]", $bbcode_tpl['i_close'], $text); // Patterns and replacements for URL and email tags.. $patterns = array(); $replacements = array(); // [img]image_url_here[/img] code.. // This one gets first-passed.. $patterns[] = "#\[img:$uid\]([^?](?:[^\[]+|\[(?!url))*?)\[/img:$uid\]#i"; $replacements[] = $bbcode_tpl['img']; // matches a [url]xxxx://www.phpbb.com[/url] code.. $patterns[] = "#\[url\]([\w]+?://([\w\#$%&~/.\-;:=,?@\]+]+|\[(?!url=))*?)\[/url\]#is"; $replacements[] = $bbcode_tpl['url1']; // [url]www.phpbb.com[/url] code.. (no xxxx:// prefix). $patterns[] = "#\[url\]((www|ftp)\.([\w\#$%&~/.\-;:=,?@\]+]+|\[(?!url=))*?)\[/url\]#is"; $replacements[] = $bbcode_tpl['url2']; // [url=xxxx://www.phpbb.com]phpBB[/url] code.. $patterns[] = "#\[url=([\w]+?://[\w\#$%&~/.\-;:=,?@\[\]+]*?)\]([^?\n\r\t].*?)\[/url\]#is"; $replacements[] = $bbcode_tpl['url3']; // [url=www.phpbb.com]phpBB[/url] code.. (no xxxx:// prefix). $patterns[] = "#\[url=((www|ftp)\.[\w\#$%&~/.\-;:=,?@\[\]+]*?)\]([^?\n\r\t].*?)\[/url\]#is"; $replacements[] = $bbcode_tpl['url4']; // [email]us...@do...[/email] code.. $patterns[] = "#\[email\]([a-z0-9&\-_.]+?@[\w\-]+\.([\w\-\.]+\.)?[\w]+)\[/email\]#si"; $replacements[] = $bbcode_tpl['email']; $text = preg_replace($patterns, $replacements, $text); // Remove our padding from the string.. $text = substr($text, 1); return $text; } // bbencode_second_pass() /** * Does second-pass bbencoding of the [code] tags. This includes * running htmlspecialchars() over the text contained between * any pair of [code] tags that are at the first level of * nesting. Tags at the first level of nesting are indicated * by this format: [code:1:$uid] ... [/code:1:$uid] * Other tags are in this format: [code:$uid] ... [/code:$uid] * This a temporary function */ function mx_bbencode_second_pass_code($text, $uid, $bbcode_tpl) { global $lang; $code_start_html = $bbcode_tpl['code_open']; $code_end_html = $bbcode_tpl['code_close']; // First, do all the 1st-level matches. These need an htmlspecialchars() run, // so they have to be handled differently. $match_count = preg_match_all("#\[code:1:$uid\](.*?)\[/code:1:$uid\]#si", $text, $matches); for ($i = 0; $i < $match_count; $i++) { $before_replace = $matches[1][$i]; $after_replace = $matches[1][$i]; // Replace 2 spaces with " " so non-tabbed code indents without making huge long lines. $after_replace = str_replace(" ", " ", $after_replace); // now Replace 2 spaces with " " to catch odd #s of spaces. $after_replace = str_replace(" ", " ", $after_replace); // Replace tabs with " " so tabbed code indents sorta right without making huge long lines. $after_replace = str_replace("\t", " ", $after_replace); // now Replace space occurring at the beginning of a line $after_replace = preg_replace("/^ {1}/m", ' ', $after_replace); $str_to_match = "[code:1:$uid]" . $before_replace . "[/code:1:$uid]"; $replacement = $code_start_html; $replacement .= $after_replace; $replacement .= $code_end_html; $text = str_replace($str_to_match, $replacement, $text); } // Now, do all the non-first-level matches. These are simple. $text = str_replace("[code:$uid]", $code_start_html, $text); $text = str_replace("[/code:$uid]", $code_end_html, $text); return $text; } // bbencode_second_pass_code() //phpBB Temporary code ends /** * Rewritten by Nathan Codding - Feb 6, 2001. * - Goes through the given string, and replaces xxxx://yyyy with an HTML <a> tag linking * to that URL * - Goes through the given string, and replaces www.xxxx.yyyy[zzzz] with an HTML <a> tag linking * to http://www.xxxx.yyyy[/zzzz] * - Goes through the given string, and replaces xxxx@yyyy with an HTML mailto: tag linking * to that email address * - Only matches these 2 patterns either after a space, or at the beginning of a line * * Notes: the email one might get annoying - it's easy to make it more restrictive, though.. maybe * have it require something like xx...@yy... or such. We'll see. * We can add here more phpBB3 stuff in time - Ory */ function mx_make_clickable($text) { $text = preg_replace('#(script|about|applet|activex|chrome):#is', "\\1:", $text); // pad it with a space so we can match things at the start of the 1st line. $ret = ' ' . $text; // matches an "xxxx://yyyy" URL at the start of a line, or after a space. // xxxx can only be alpha characters. // yyyy is anything up to the first space, newline, comma, double quote or < $ret = preg_replace("#(^|[\n ])([\w]+?://[\w\#$%&~/.\-;:=,?@\[\]+]*)#is", "\\1<a href=\"\\2\" target=\"_blank\">\\2</a>", $ret); // matches a "www|ftp.xxxx.yyyy[/zzzz]" kinda lazy URL thing // Must contain at least 2 dots. xxxx contains either alphanum, or "-" // zzzz is optional.. will contain everything up to the first space, newline, // comma, double quote or <. $ret = preg_replace("#(^|[\n ])((www|ftp)\.[\w\#$%&~/.\-;:=,?@\[\]+]*)#is", "\\1<a href=\"http://\\2\" target=\"_blank\">\\2</a>", $ret); // matches an email@domain type address at the start of a line, or after a space. // Note: Only the followed chars are valid; alphanums, "-", "_" and or ".". $ret = preg_replace("#(^|[\n ])([a-z0-9&\-_.]+?)@([\w\-]+\.([\w\-\.]+\.)*[\w]+)#i", "\\1<a href=\"mailto:\\2@\\3\">\\2@\\3</a>", $ret); // Remove our padding.. $ret = substr($ret, 1); return($ret); } /** * Nathan Codding - Feb 6, 2001 * Reverses the effects of make_clickable(), for use in editpost. * - Does not distinguish between "www.xxxx.yyyy" and "http://aaaa.bbbb" type URLs. * */ function mx_undo_make_clickable($text) { $text = preg_replace("#<!-- BBCode auto-link start --><a href=\"(.*?)\" target=\"_blank\">.*?</a><!-- BBCode auto-link end -->#i", "\\1", $text); $text = preg_replace("#<!-- BBcode auto-mailto start --><a href=\"mailto:(.*?)\">.*?</a><!-- BBCode auto-mailto end -->#i", "\\1", $text); return $text; } /** * bbcode to html. * * Convert the bbcode to html * * @param string $bbtext * @param string $bbcode_uid * @param boolean $smilies_on * @return string */ function mx_decode($bbtext, $bbcode_uid, $smilies_on = true) { global $mx_root_path, $phpbb_root_path, $phpEx, $mx_page; if ((PORTAL_BACKEND !== 'phpbb3') && !function_exists('bbencode_second_pass')) { mx_page::load_file('bbcode'); } if (PORTAL_BACKEND == 'phpbb3') { /* if (!class_exists('bbcode')) { mx_page::load_file('bbcode'); } if( !is_object($bbcode)) { $bbcode = new bbcode(); } */ //Temporary solutution //require($mx_root_path . 'includes/shared/phpbb2/includes/bbcode.'.$phpEx); } $mytext = stripslashes($bbtext); if (!empty($bbcode_uid)) { $mytext = mx_bbencode_second_pass($mytext, $bbcode_uid); } if ($smilies_on) { $mytext = mx_smilies_pass($mytext); } $mytext = str_replace("\n", "\n<br />\n", $mytext); return mx_make_clickable($mytext); } ?> |
|
From: FlorinCB <ory...@us...> - 2008-06-10 03:35:22
|
Update of /cvsroot/mxbb/core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27232 Modified Files: common.php Log Message: new bbcode in his own include file! Index: common.php =================================================================== RCS file: /cvsroot/mxbb/core/common.php,v retrieving revision 1.90 retrieving revision 1.91 diff -C2 -d -r1.90 -r1.91 *** common.php 10 Mar 2008 13:27:21 -0000 1.90 --- common.php 10 Jun 2008 03:35:19 -0000 1.91 *************** *** 266,269 **** --- 266,270 ---- include_once($mx_root_path . 'includes/mx_functions.' . $phpEx); // CORE Functions include_once($mx_root_path . 'includes/mx_functions_phpbb.' . $phpEx); // phpBB associated functions + include_once($mx_root_path . 'includes/mx_functions_bbcode.' . $phpEx); // BBCode associated functions include_once($mx_root_path . 'includes/mx_functions_style.' . $phpEx); // Styling and sessions |
|
From: FlorinCB <ory...@us...> - 2008-06-10 03:07:38
|
Update of /cvsroot/mxbb/core/modules/mx_phpbb3blocks In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14546 Modified Files: mx_forum.php Log Message: we don't need to call begin a new session in a block. Index: mx_forum.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_phpbb3blocks/mx_forum.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** mx_forum.php 4 Feb 2008 16:53:57 -0000 1.3 --- mx_forum.php 10 Jun 2008 03:07:33 -0000 1.4 *************** *** 41,46 **** // //$mx_user->session_begin(); ! $mx_user->init($user_ip, PAGE_INDEX); ! //$mx_user->data = $mx_user->session_pagestart($user_ip, - ( MX_PORTAL_PAGES_OFFSET + $page_id )); $phpbb_auth->acl($mx_user->data); $mx_user->setup('viewforum'); --- 41,45 ---- // //$mx_user->session_begin(); ! //$mx_user->init($user_ip, PAGE_INDEX); $phpbb_auth->acl($mx_user->data); $mx_user->setup('viewforum'); |
|
From: FlorinCB <ory...@us...> - 2008-06-10 02:16:23
|
Update of /cvsroot/mxbb/mx_phpbb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27015 Modified Files: forum_hack.php Log Message: http://www.mx-publisher.com/phpBB2/viewtopic.php?t=10800 Index: forum_hack.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/includes/forum_hack.php,v retrieving revision 1.56 retrieving revision 1.57 diff -C2 -d -r1.56 -r1.57 *** forum_hack.php 3 Jun 2008 20:12:43 -0000 1.56 --- forum_hack.php 10 Jun 2008 02:16:16 -0000 1.57 *************** *** 29,32 **** --- 29,33 ---- include_once($mx_root_path . 'includes/shared/phpbb2/includes/functions.' . $phpEx); + // // Include phpbb functions (in 2.9.x, since they are not already loaded) *************** *** 783,786 **** --- 784,847 ---- } } + + // Do we really need this one? + /** + * Reset all login keys for the specified user + * Called on password changes + */ + function session_reset_keys($user_id, $user_ip) + { + global $db, $userdata, $board_config; + + $key_sql = ($user_id == $userdata['user_id'] && !empty($userdata['session_key'])) ? "AND key_id != '" . md5($userdata['session_key']) . "'" : ''; + + $sql = 'DELETE FROM ' . SESSIONS_KEYS_TABLE . ' + WHERE user_id = ' . (int) $user_id . " + $key_sql"; + + if ( !$db->sql_query($sql) ) + { + mx_message_die(CRITICAL_ERROR, 'Error removing auto-login keys', '', __LINE__, __FILE__, $sql); + } + + $where_sql = 'session_user_id = ' . (int) $user_id; + $where_sql .= ($user_id == $userdata['user_id']) ? " AND session_id <> '" . $userdata['session_id'] . "'" : ''; + $sql = 'DELETE FROM ' . SESSIONS_TABLE . " + WHERE $where_sql"; + if ( !$db->sql_query($sql) ) + { + mx_message_die(CRITICAL_ERROR, 'Error removing user session(s)', '', __LINE__, __FILE__, $sql); + } + + if ( !empty($key_sql) ) + { + $auto_login_key = mx_dss_rand() . mx_dss_rand(); + + $current_time = time(); + + $sql = 'UPDATE ' . SESSIONS_KEYS_TABLE . " + SET last_ip = '$user_ip', key_id = '" . md5($auto_login_key) . "', last_login = $current_time + WHERE key_id = '" . md5($userdata['session_key']) . "'"; + + if ( !$db->sql_query($sql) ) + { + mx_message_die(CRITICAL_ERROR, 'Error updating session key', '', __LINE__, __FILE__, $sql); + } + + // And now rebuild the cookie + $sessiondata['userid'] = $user_id; + $sessiondata['autologinid'] = $auto_login_key; + $cookiename = $board_config['cookie_name']; + $cookiepath = $board_config['cookie_path']; + $cookiedomain = $board_config['cookie_domain']; + $cookiesecure = $board_config['cookie_secure']; + + setcookie($cookiename . '_data', serialize($sessiondata), $current_time + 31536000, $cookiepath, $cookiedomain, $cookiesecure); + + $userdata['session_key'] = $auto_login_key; + unset($sessiondata); + unset($auto_login_key); + } + } // -------------------------------------------------------------------------------- *************** *** 1712,1720 **** $code = preg_replace('#^(.?//).*(Start|Set).*(session).*(\r\n?|\n)#m','/*' . "\n", $code); $code = preg_replace('#^(.?//).*(End).*(session).*(\r\n?|\n)#m', '*/' . "\n", $code); ! // // Replace common phpBB functions with MXP alternatives // $code = str_replace('append_sid(', '$mx_forum->append_sid(', $code); //$code = str_replace('@phpbb_realpath(', '$mx_forum->phpbb_realpath(', $code); //$code = str_replace('@opendir(', '$mx_forum->opendir(', $code); --- 1773,1782 ---- $code = preg_replace('#^(.?//).*(Start|Set).*(session).*(\r\n?|\n)#m','/*' . "\n", $code); $code = preg_replace('#^(.?//).*(End).*(session).*(\r\n?|\n)#m', '*/' . "\n", $code); ! // // Replace common phpBB functions with MXP alternatives // $code = str_replace('append_sid(', '$mx_forum->append_sid(', $code); + $code = str_replace('session_reset_keys(', '$mx_forum->session_reset_keys(', $code); //$code = str_replace('@phpbb_realpath(', '$mx_forum->phpbb_realpath(', $code); //$code = str_replace('@opendir(', '$mx_forum->opendir(', $code); *************** *** 1870,1874 **** { // Debug subcalls ! //die(str_replace("\n", '<br>', htmlspecialchars($code))); eval($code); } --- 1932,1936 ---- { // Debug subcalls ! //die( '<pre>'.preg_replace("#\n#esi", "'<br>' . sprintf('%4d ',\$i++)", htmlspecialchars($code)) . '</pre>'); eval($code); } |
|
From: Jon O. <jon...@us...> - 2008-06-08 18:41:40
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv19007 Modified Files: Tag: core28x page_tail.php Log Message: Oops, debug output present. Index: page_tail.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/page_tail.php,v retrieving revision 1.32.2.6 retrieving revision 1.32.2.7 diff -C2 -d -r1.32.2.6 -r1.32.2.7 *** page_tail.php 3 Jun 2008 21:00:26 -0000 1.32.2.6 --- page_tail.php 8 Jun 2008 18:40:54 -0000 1.32.2.7 *************** *** 45,49 **** if (!empty($mx_page->last_updated)) { - echo(var_export($board_config)); $editor_name_tmp = mx_get_userdata($mx_page->last_updated_by); $editor_name = $editor_name_tmp['username']; --- 45,48 ---- |
|
From: OryNider <ory...@us...> - 2008-06-04 00:09:49
|
Update of /cvsroot/mxbb/mx_pjirc In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28916 Modified Files: db_install.php db_uninstall.php db_upgrade.php index.php mx_pjirc.pak pjirc_chat.php pjirc_faq.php pjirc_front.php pjirc_update.php readme.txt Log Message: Upgrade for latest version with some new features and a chan block inside a portal page. Index: index.php =================================================================== RCS file: /cvsroot/mxbb/mx_pjirc/index.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** index.php 29 Feb 2008 15:54:06 -0000 1.4 --- index.php 4 Jun 2008 00:09:08 -0000 1.5 *************** *** 8,12 **** * */ - if( !defined('IN_PORTAL') || !is_object($mx_block)) { --- 8,11 ---- *************** *** 95,98 **** --- 94,101 ---- 'HELP' => $help, + 'BLOCK_SIZE' => $block_size, + 'PLAYER_SIZE' => $player_size, + 'SHOW_HEADER' => ($is_block) ? false : true, + //+ MX-Publisher 'U_PORTAL_ROOT_PATH' => PORTAL_URL, *************** *** 103,109 **** 'T_PHPBB_STYLESHEET' => $theme['head_stylesheet'], 'T_MXBB_STYLESHEET' => $theme['head_stylesheet'], ! 'UI_BACKGROUND' => $pjirc_config['ui_background'] )); $template->pparse('pjirc_index'); ?> \ No newline at end of file --- 106,113 ---- 'T_PHPBB_STYLESHEET' => $theme['head_stylesheet'], 'T_MXBB_STYLESHEET' => $theme['head_stylesheet'], ! 'UI_BACKGROUND' => $pjirc_config['ui_background'] )); $template->pparse('pjirc_index'); + ?> \ No newline at end of file Index: mx_pjirc.pak =================================================================== RCS file: /cvsroot/mxbb/mx_pjirc/mx_pjirc.pak,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_pjirc.pak 7 Jun 2007 00:08:32 -0000 1.1 --- mx_pjirc.pak 4 Jun 2008 00:09:08 -0000 1.2 *************** *** 1,6 **** ! module=+:58=+:mx_pjirc=+:modules/mx_pjirc/=+:mx_PJIRC version 1.0=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:58=+:66=+:pjirc Front=+:=+:pjirc_front.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:pjirc Front=+:Demo block=+:66=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 ! function=+:0=+:0=+:0=+:endoflist=+:0=+:0 --- 1,10 ---- ! module=+:58=+:mx_pjirc=+:modules/mx_pjirc/=+:MX_PJIRC=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:58=+:66=+:pjirc Front=+:=+:pjirc_front.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:pjirc Front=+:Demo block=+:66=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 ! New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:78=+:126=+:PJIRC Block=+:PJIRC Index=+:index.php=+: ! parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:PJIRC Index=+:Demo block=+:126=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 ! function=+:0=+:0=+:0=+:endoflist=+:0=+:0 \ No newline at end of file Index: pjirc_chat.php =================================================================== RCS file: /cvsroot/mxbb/mx_pjirc/pjirc_chat.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** pjirc_chat.php 29 Feb 2008 15:54:07 -0000 1.6 --- pjirc_chat.php 4 Jun 2008 00:09:08 -0000 1.7 *************** *** 72,118 **** // // Checks if guests are allowed if( $pjirc_config['irc_allow_guests'] ) { ! if ( !$userdata['session_logged_in'] ) { ! $nick = str_replace(" ", "_", $pjirc_config['irc_guestname']); ! } ! else { ! $nick = str_replace(" ", "_", $userdata['username']); ! } } else { ! if ( !$userdata['session_logged_in'] ) { ! $nick = str_replace(" ", "_", $pjirc_config['irc_guestname']); mx_redirect(mx_append_sid($mx_root_path."login.".$phpEx."?redirect=modules/mx_pjirc/pjirc_chat.".$phpEx, true)); exit; } ! else { $nick = str_replace(" ", "_", $userdata['username']); ! } ! } ! ! $help = mx_append_sid(PORTAL_URL . "modules/mx_pjirc/pjirc_faq.".$phpEx); ! ! $page_title = $lang['Chat_Room']; ! ! ! $template->set_filenames(array( ! 'body' => 'pjirc_chat.tpl') ! ); ! ! if ( $userdata['session_logged_in'] ) ! { ! $nick = str_replace(" ", "_", $userdata['username']); ! } ! else ! { ! $nick = 'Guest'; } --- 72,117 ---- // + $help = mx_append_sid(PORTAL_URL . "modules/mx_pjirc/pjirc_faq.".$phpEx); + + $page_title = $lang['Chat_Room']; + + + $template->set_filenames(array( + 'body' => 'pjirc_chat.tpl') + ); + // Checks if guests are allowed if( $pjirc_config['irc_allow_guests'] ) { ! if ($userdata['user_id'] == ANONYMOUS) { ! ! if($agent) ! { ! $nick = $agent; ! } ! else ! { ! $nick = str_replace(" ", "_", $pjirc_config['irc_guestname']); ! } ! } ! else { ! $nick = str_replace(" ", "_", $userdata['username']); ! } } else { ! if ($userdata['user_id'] == ANONYMOUS) { ! $nick = str_replace(" ", "_", $pjirc_config['irc_guestname']); mx_redirect(mx_append_sid($mx_root_path."login.".$phpEx."?redirect=modules/mx_pjirc/pjirc_chat.".$phpEx, true)); exit; } ! else { $nick = str_replace(" ", "_", $userdata['username']); ! } } Index: pjirc_update.php =================================================================== RCS file: /cvsroot/mxbb/mx_pjirc/pjirc_update.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** pjirc_update.php 9 Feb 2008 11:32:09 -0000 1.2 --- pjirc_update.php 4 Jun 2008 00:09:09 -0000 1.3 *************** *** 29,41 **** $time=date("U"); - $nick = str_replace(" ", "_", $userdata['username']); if ($_POST['update']==true) { ! update_user($nick,$time); } //read check period ! $period=$pjirc_config['check_period']*1000; echo 'Your nick is: ' . $nick; --- 29,40 ---- $time=date("U"); if ($_POST['update']==true) { ! update_user($nick,$time); } //read check period ! $period = $pjirc_config['check_period'] * 1000; echo 'Your nick is: ' . $nick; Index: readme.txt =================================================================== RCS file: /cvsroot/mxbb/mx_pjirc/readme.txt,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** readme.txt 3 Jun 2008 20:13:13 -0000 1.2 --- readme.txt 4 Jun 2008 00:09:10 -0000 1.3 *************** *** 1,5 **** /********************************************************************************\ | ! | subject : mxBB-Portal, CMS & portal, module | name : mx_pjirc | begin : January, 2006 --- 1,5 ---- /********************************************************************************\ | ! | subject : Mx-Publisher, CMS & portal, module | name : mx_pjirc | begin : January, 2006 *************** *** 18,24 **** |********************************************************************************| | ! | @package mxBB Portal Module - mx_pjirc | @version $Id$ ! | @copyright (c) 2002-2007 [OryNider] mxBB Development Team | @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 | --- 18,24 ---- |********************************************************************************| | ! | @package Mx-Publisher Module - mx_pjirc | @version $Id$ ! | @copyright (c) 2002-2008 [OryNider] mxBB Development Team | @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 | |
|
From: OryNider <ory...@us...> - 2008-06-04 00:09:40
|
Update of /cvsroot/mxbb/mx_pjirc/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28916/admin Modified Files: admin_pjirc.php Log Message: Upgrade for latest version with some new features and a chan block inside a portal page. |
|
From: OryNider <ory...@us...> - 2008-06-04 00:09:19
|
Update of /cvsroot/mxbb/mx_pjirc/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28916/includes Modified Files: common.php Added Files: functions.php Log Message: Upgrade for latest version with some new features and a chan block inside a portal page. --- NEW FILE: functions.php --- <?php /** * * @package MxPmodule_mx_pafileDB * @version $Id: functions.php,v 1.1 2008/06/04 00:09:11 orynider Exp $ * @copyright (c) 2002-2006 [ory...@rd..., OryNider] MxP Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ if ( !defined( 'IN_PORTAL' ) ) { die( "Hacking attempt" ); } // ================================================================================ // [ COMMON FUNCTIONS ] // ================================================================================ function user_join($nick) { global $pjirc_config, $db; $current_time=date("U"); $sql = "DELETE FROM ".PJIRC_SESSION_TABLE." WHERE username = '".addslashes($nick)."'"; if( !$result = $db->sql_query($sql) ) { die("SQL Error in function user_join(): DELETE<br />" . $sql); } $sql = "INSERT INTO ".PJIRC_SESSION_TABLE." (username, time)" . " VALUES ('" .addslashes($nick). "', ".$current_time.")"; if( !$result = $db->sql_query($sql) ) { die("SQL Error in function user_join(): INSERT<br />" . $sql); } } //Update user statue "chatting/not chatting" function update_user($nick,$time) { global $pjirc_config, $board_config, $db, $lang; $sql="update ".PJIRC_SESSION_TABLE." set time='$time' where username='$nick'"; if( !$result = $db->sql_query($sql) ) { die("SQL Error in function update_users(): UPDATE<br />" . $sql); } } function drop_users($period) { global $pjirc_config, $board_config, $db, $lang; $current_time=date("U"); //prevent delay $period=$period+2; // Calcul max_time $max_time=$current_time-$period; $sql="delete from ".PJIRC_SESSION_TABLE." where time<'$max_time'"; if( !$result = $db->sql_query($sql) ) { die("SQL Error in function drop_users()"); } } if ((include_once $mx_root_path . "modules/mx_online_adv/includes/functions.$phpEx") === false) { function online_spider_surfing($nick, $bot_id) { global $db; $current_time=date("U"); $sql = "DELETE FROM ".ONLINE_ADV_SESSION_TABLE." WHERE username = '".addslashes($nick)."'"; if( !$result = $db->sql_query($sql) ) { mx_message_die(GENERAL_ERROR, 'SQL Error in function online_spider_surfing()', '', __LINE__, __FILE__, $sql); } $sql = "INSERT INTO ".ONLINE_ADV_SESSION_TABLE." (username, time, bot_id)" . " VALUES ('" .addslashes($nick). "', '" .$current_time. "', '" .$bot_id. "')"; if( !$result = $db->sql_query($sql) ) { mx_message_die(GENERAL_ERROR, 'SQL Error in function online_spider_surfing()', '', __LINE__, __FILE__, $sql); } } function update_spiders_surfing($nick,$time,$bot_id) { global $board_config, $db, $lang; $sql="update ".ONLINE_ADV_SESSION_TABLE." SET time='$time', bot_id='$bot_id' WHERE username='$nick'"; if( !$result = $db->sql_query($sql) ) { mx_message_die(GENERAL_ERROR, 'SQL Error in function update_spiders_surfing()', '', __LINE__, __FILE__, $sql); } } function drop_spiders_surfing($period) { global $radio_config, $db, $lang; $current_time = date("U"); //Prevent delay $period = $period + 10; // Calcul max_time $max_time = $current_time - $period; $sql = "DELETE from " . ONLINE_ADV_SESSION_TABLE . " WHERE time < $max_time"; if(!$result = $db->sql_query($sql)) { //mx_message_die(CRITICAL_ERROR, 'SQL Error in function drop_spiders_surfing()', '', __LINE__, __FILE__, $sql); } } } ?> Index: common.php =================================================================== RCS file: /cvsroot/mxbb/mx_pjirc/includes/common.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** common.php 29 Feb 2008 15:54:07 -0000 1.4 --- common.php 4 Jun 2008 00:09:10 -0000 1.5 *************** *** 39,42 **** --- 39,44 ---- define('PJIRC_SESSION_TABLE', $mx_table_prefix.'pjirc_session'); + include_once($module_root_path . 'includes/functions.'.$phpEx); + $default_lang = ($mx_user->lang['default_lang']) ? $mx_user->get_old_lang($mx_user->lang['default_lang']) : $board_config['default_lang']; *************** *** 87,144 **** } ! // ================================================================================ ! // [ COMMON FUNCTIONS ] ! // ================================================================================ ! function user_join($nick) ! { ! global $pjirc_config, $db; ! $current_time=date("U"); ! $sql = "DELETE FROM ".PJIRC_SESSION_TABLE." WHERE username = '".addslashes($nick)."'"; ! if( !$result = $db->sql_query($sql) ) ! { ! die("SQL Error in function user_join(): DELETE<br />" . $sql); ! } ! $sql = "INSERT INTO ".PJIRC_SESSION_TABLE." (username, time)" . ! " VALUES ('" .addslashes($nick). "', ".$current_time.")"; ! if( !$result = $db->sql_query($sql) ) ! { ! die("SQL Error in function user_join(): INSERT<br />" . $sql); ! } ! } ! //Update user statue "chatting/not chatting" ! function update_user($nick,$time) ! { ! global $pjirc_config, $board_config, $db, $lang; ! $sql="update ".PJIRC_SESSION_TABLE." set time='$time' where username='$nick'"; ! if( !$result = $db->sql_query($sql) ) ! { ! die("SQL Error in function update_users(): UPDATE<br />" . $sql); ! } ! } ! function drop_users($period) ! { ! global $pjirc_config, $board_config, $db, $lang; ! $current_time=date("U"); ! //prevent delay ! $period=$period+2; ! // Calcul max_time ! $max_time=$current_time-$period; ! $sql="delete from ".PJIRC_SESSION_TABLE." where time<'$max_time'"; ! if( !$result = $db->sql_query($sql) ) { ! die("SQL Error in function drop_users()"); } ! } ?> --- 89,421 ---- } ! // ! //Set Time and Period ! // ! $time = date("U"); ! $period = 360; //$board_config['session_length']; ! $user_id = $userdata['user_id']; ! $nick = str_replace(" ", "_", $userdata['username']); ! $bot_id = ANONYMOUS; ! // ! //Get The User Agent ! // ! global $_SERVER, $HTTP_USER_AGENT, $HTTP_SERVER_VARS; ! if ( !empty( $_SERVER['HTTP_USER_AGENT'] ) ) ! { ! $HTTP_USER_AGENT = $_SERVER['HTTP_USER_AGENT']; ! } ! else if ( !empty( $HTTP_SERVER_VARS['HTTP_USER_AGENT'] ) ) ! { ! $HTTP_USER_AGENT = $HTTP_SERVER_VARS['HTTP_USER_AGENT']; ! } ! else if ( !isset( $HTTP_USER_AGENT ) ) ! { ! $HTTP_USER_AGENT = ''; ! } ! if ( empty( $user_agent ) ) ! { ! $user_agent = $HTTP_USER_AGENT; ! } ! $user_agent = strtolower( $user_agent ); ! // Determine browser and version ! // The order in which we test the agents patterns is important ! // Intentionally ignore Konquerer. It should show up as Mozilla. ! // post-Netscape Mozilla versions using Gecko show up as Mozilla 5.0 ! // known browsers, list will be updated routinely, check back now and then ! // covers Netscape 6-7, K-Meleon, Most linux versions, uses moz array below ! // search engine spider bots: ! // various http utility libaries ! // download apps ! if ( preg_match( '/(googlebot |google\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(google )([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(googlebot )([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(googlebot-mobile )([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(googlebot-image )([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(adsbot-google )([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(mediapartners-google |adsense\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/([Gg][Oo][Oo][Gg][Ll][Ee]*)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(yahoo-verticalcrawler |yahoo\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(yahoo! slurp |yahoo\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(yahooseeker |yahoo\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(yahoo-mm |yahoomm\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(inktomi |inktomi\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(lycosbot |lycos\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(infoseekbot |infoseek\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(slurp |inktomi\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(fast-webcrawler |fast\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(msnbot |msn\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(msnbot )([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(msnbot-media |msnbot\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(msnbot-newsblogs |msnbot\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(msnbot-products |msnbot\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(msnbot-academic |msnbot\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(msn )([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(altavistabot |altavista\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(excitebot |excite\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(ask jeeves |ask\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(teoma |ask\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(scooter |scooter\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(openbot |openbot\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(ia_archiver |ia_archiver\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(zyborg |looksmart\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(almaden |ibm\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(baiduspider |baidu\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(psbot |psbot\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(gigabot |gigabot\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(naverbot |naverbot\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(surveybot |surveybot\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(boitho.com-dc |boitho\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(objectssearch |objectsearch\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(answerbus |answerbus\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(sohu-search |sohu\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(iltrovatore-setaccio |il-set\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(opera |opera\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(msie )([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(mozilla\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(phoenix\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(firebird\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(omniweb |omni\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(konqueror |konq\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(safari |saf\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(gecko |moz\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(netpositive |netp\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(lynx |lynx\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(elinks |elinks\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(links |links\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(w3m |w3m\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(webtv |webtv\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(amaya |amaya\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(dillo |dillo\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(ibrowsevibrowse |ibrowsevibrowse\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(icab |icab\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(crazy browser |ie\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(sonyericssonp800 |sonyericssonp800\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(aol )([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(camino )([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(w3c_validator |w3c\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(wdg_validator |wdg\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(libwww-perl |libwww-perl\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(jakarta commons-httpclient |jakarta\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(python-urllib |python-urllib\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(getright |getright\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! elseif ( preg_match( '/(wget |wget\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; ! else ! { ! $matches[1] = 'unknown'; ! $matches[2] = 0; ! $matches[3] = 0; ! } ! $majorver = $matches[2]; ! $minorver = $matches[3]; ! $ver = $matches[2] . '.' . $matches[3]; ! switch ($matches[1]) ! { ! case 'googlebot ': ! case 'google ': ! case 'googlebot-mobile ': ! case 'googlebot-image ': ! case 'adsbot-google ': ! case 'mediapartners-google ': ! $agent = 'google'; ! $bot_id = '1'; ! break; ! case 'adsense ': ! $agent = 'adsense'; ! $bot_id = '1'; ! break; ! ! case 'yahoo-verticalcrawler ': ! case 'yahoo ': ! case 'yahoo! slurp ': ! case 'yahoo-mm ': ! case 'yahoomm ': ! case 'inktomi ': ! $agent = 'yahoo'; ! $bot_id = '2'; ! break; ! case 'yahoo! slurp ': ! case 'slurp ': ! $agent = 'slurp'; ! $bot_id = '2'; ! break; ! ! case 'lycosbot ': ! case 'lycos ': ! $agent = 'lycos'; ! $bot_id = '3'; ! break; ! ! case 'infoseekbot ': ! case 'infoseek ': ! $agent = 'infoseek'; ! $bot_id = '4'; ! break; ! ! case 'msnbot ': ! case 'msn ': ! case 'msnbot-newsblogs ': ! case 'msnbot-products ': ! case 'msnbot-academic ': ! $agent = 'msn'; ! $bot_id = '5'; ! break; ! ! case 'altavistabot ': ! case 'altavista ': ! $agent = 'altavista'; ! $bot_id = '6'; ! break; ! ! case 'excitebot ': ! case 'excite ': ! $agent = 'excite'; ! $bot_id = '7'; ! break; ! ! case 'ask jeeves ': ! case 'ask ': ! $agent = 'askjeeves'; ! $bot_id = '8'; ! break; ! ! case 'fast-webcrawler ': ! case 'teoma ': ! case 'scooter ': ! case 'openbot ': ! case 'ia_archiver ': ! case 'zyborg ': ! case 'looksmart ': ! case 'almaden ': ! case 'baiduspider ': ! case 'baidu ': ! case 'psbot ': ! case 'gigabot ': ! case 'naverbot ': ! case 'surveybot ': ! case 'boitho.com-dc ': ! case 'boitho ': ! case 'objectssearch ': ! case 'answerbus ': ! case 'sohu-search ': ! case 'sohu ': ! case 'il-set ': ! case 'iltrovatore-setaccio ': ! $agent = $matches[1]; ! $bot_id = '9'; ! break; ! ! default: ! $agent = 'browser'; ! $bot_id = ''; ! ! } ! // Determine platform ! // This is very incomplete for platforms other than Win/Mac ! if ( preg_match( '/(win|mac|linux|unix|x11|freebsd|beos|os2|irix|sunos|aix)/', $user_agent, $matches ) ); ! else $matches[1] = 'unknown'; ! ! switch ($matches[1]) { ! case 'win': ! $platform = 'Win'; ! break; ! ! case 'mac': ! $platform = 'Mac'; ! break; ! ! case 'linux': ! $platform = 'Linux'; ! break; ! ! case 'unix': ! case 'x11': ! $platform = 'Unix'; ! break; ! ! case 'freebsd': ! $platform = 'FreeBSD'; ! break; ! ! case 'beos': ! $platform = 'BeOS'; ! break; ! ! case 'os2': ! $platform = 'OS2'; ! break; ! ! case 'irix': ! $platform = 'IRIX'; ! break; ! ! case 'sunos': ! $platform = 'SunOS'; ! break; ! ! case 'aix': ! $platform = 'Aix'; ! break; ! ! case 'palm': ! $platform = 'PalmOS'; ! break; ! ! case 'unknown': ! $platform = 'Other'; ! break; ! ! default: ! $platform = 'Oops!'; } ! ! //$agent = 'google'; ! //$bot_id = '1'; ! ! if ( !empty($bot_id) ) ! { ! //$current_time = date("U"); ! online_spider_surfing($agent, $bot_id); ! } ! else ! { ! if(strpos($user_agent, 'googlebot') > -1) ! { ! $agent = 'google'; ! $bot_id = '1'; ! } ! elseif(strpos($user_agent, 'google') > -1) ! { ! $agent = 'google'; ! $bot_id = '1'; ! } ! elseif(strpos($user_agent, 'yahoo') > -1) ! { ! $agent = 'yahoo'; ! $bot_id = '2'; ! } ! elseif(strpos($user_agent, 'lycos') > -1) ! { ! $agent = 'lycos'; ! $bot_id = '3'; ! } ! elseif(strpos($user_agent, 'msnbot') > -1) ! { ! $agent = 'msn'; ! $bot_id = '5'; ! } ! } ! ?> |
|
From: OryNider <ory...@us...> - 2008-06-04 00:09:16
|
Update of /cvsroot/mxbb/mx_pjirc/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28916/templates/_core Added Files: pjirc_index.tpl Log Message: Upgrade for latest version with some new features and a chan block inside a portal page. --- NEW FILE: pjirc_index.tpl --- <!-- IF SHOW_HEADER --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}" /> <head> <meta http-equiv="Content-Type" content="text/html; charset="{S_CONTENT_ENCODING}" /> <meta http-equiv="Content-Style-Type" content="text/css" /> {META} <!-- First load standard template *.css definition, located in the the phpbb template folder --> <link rel="stylesheet" href="{U_PHPBB_ROOT_PATH}{TEMPLATE_ROOT_PATH}{T_PHPBB_STYLESHEET}" type="text/css" /> <!-- Then load MX-Publisher template *.css definition for mx, located in the the portal template folder --> <link rel="stylesheet" href="{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}{T_MXBB_STYLESHEET}" type="text/css" /> <STYLE type=text/css> BODY { PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BACKGROUND-IMAGE: url({IMG_IFRAME_BG}); PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; BACKGROUND-REPEAT: repeat-x; FONT-FAMILY: Helvetica, Arial, sans-serif; BACKGROUND-COLOR: #CEDEDF; } </STYLE> <title>{SITENAME} :: {L_TITLE}</title> <SCRIPT language=JavaScript src="{JS_ADX}" type=text/javascript></SCRIPT> </HEAD> <BODY> <TABLE class="main" align="left" valign="top" cellSpacing="1" cellPadding="1" width="100%" style="border-top:none; border-left:none; border-right:none;"> <!-- ELSE --> <STYLE type=text/css> BODY { PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; FONT-FAMILY: Helvetica, Arial, sans-serif; } </STYLE> <SCRIPT language=JavaScript src="{JS_ADX}" type=text/javascript></SCRIPT> <TABLE cellSpacing="0" cellPadding="0" width="{BLOCK_SIZE}" background="{IMG_IFRAME_BG}" border="0" class="forumline" style="border-top:none;"> <!-- ENDIF --> <tr> <td class="row1" align="left"> <!-- frames --> <iframe width="100%" height="605" noresize scrolling="no" frameborder="no" src="{S_MAIN_CHAT}" name="chat"></iframe> <iframe width="100%" height="2" noresize scrolling="no" frameborder="no" src="{S_UPDATE_CHAT}" name="update" noresize></iframe> <!-- frames end --> </td> </tr> </table> <!-- IF SHOW_HEADER --> </BODY> </HTML> <!-- ENDIF --> |
|
From: Jon O. <jon...@us...> - 2008-06-03 21:04:42
|
Update of /cvsroot/mxbb/core/templates/subSilver/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28707/admin Modified Files: Tag: core28x page_footer.tpl Log Message: Final updates mxBB -> MXP and alike... Index: page_footer.tpl =================================================================== RCS file: /cvsroot/mxbb/core/templates/subSilver/admin/page_footer.tpl,v retrieving revision 1.10.2.1 retrieving revision 1.10.2.2 diff -C2 -d -r1.10.2.1 -r1.10.2.2 *** page_footer.tpl 16 Feb 2008 21:59:38 -0000 1.10.2.1 --- page_footer.tpl 3 Jun 2008 21:04:24 -0000 1.10.2.2 *************** *** 16,20 **** //--> ! <div align="center"><span class="copyright">{POWERED_BY} <a href="http://www.mx-system.com/" target="_mx-system" class="copyright">MX-Publisher (MXP)</a> {MX_VERSION} © 2001-2006 & <a href="http://www.phpbb.com/" target="_phpbb" class="copyright">phpBB</a> {PHPBB_VERSION} © 2001, 2003 phpBB Group</span></div> <!-- This displays generation info at the bottom of the page --> {EXECUTION_STATS} --- 16,20 ---- //--> ! <div align="center"><span class="copyright">{POWERED_BY} <a href="http://www.mx-publisher.com/" target="_mx-system" class="copyright">MX-Publisher (MXP)</a> {MX_VERSION} © 2001-2006 & <a href="http://www.phpbb.com/" target="_phpbb" class="copyright">phpBB</a> {PHPBB_VERSION} © 2001, 2003 phpBB Group</span></div> <!-- This displays generation info at the bottom of the page --> {EXECUTION_STATS} |
|
From: Jon O. <jon...@us...> - 2008-06-03 21:04:42
|
Update of /cvsroot/mxbb/core/templates/subSilver/images In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28707/images Modified Files: Tag: core28x index.php Log Message: Final updates mxBB -> MXP and alike... Index: index.php =================================================================== RCS file: /cvsroot/mxbb/core/templates/subSilver/images/Attic/index.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** index.php 17 Jun 2006 22:09:43 -0000 1.1 --- index.php 3 Jun 2008 21:04:25 -0000 1.1.2.1 *************** *** 843,850 **** $errstr = $mxbb_version_info = ''; ! if ($fsock = @fsockopen('www.mx-system.com', 80, $errno, $errstr)) { @fputs($fsock, "GET /updatecheck/28x.txt HTTP/1.1\r\n"); ! @fputs($fsock, "HOST: www.mx-system.com\r\n"); @fputs($fsock, "Connection: close\r\n\r\n"); --- 843,850 ---- $errstr = $mxbb_version_info = ''; ! if ($fsock = @fsockopen('www.mx-publisher.com', 80, $errno, $errstr)) { @fputs($fsock, "GET /updatecheck/28x.txt HTTP/1.1\r\n"); ! @fputs($fsock, "HOST: www.mx-publisher.com\r\n"); @fputs($fsock, "Connection: close\r\n\r\n"); |
|
From: Jon O. <jon...@us...> - 2008-06-03 21:04:23
|
Update of /cvsroot/mxbb/core/modules/mx_textblocks/language/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28688 Modified Files: Tag: core28x lang_admin.php lang_main.php Log Message: Final updates mxBB -> MXP and alike... Index: lang_main.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_textblocks/language/lang_english/lang_main.php,v retrieving revision 1.10.2.1 retrieving revision 1.10.2.2 diff -C2 -d -r1.10.2.1 -r1.10.2.2 *** lang_main.php 3 Feb 2008 19:28:26 -0000 1.10.2.1 --- lang_main.php 3 Jun 2008 21:04:14 -0000 1.10.2.2 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_textblocks * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com --- 2,8 ---- /** * ! * @package MX-Publisher Module - mx_textblocks * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson] MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com Index: lang_admin.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_textblocks/language/lang_english/lang_admin.php,v retrieving revision 1.7.2.1 retrieving revision 1.7.2.2 diff -C2 -d -r1.7.2.1 -r1.7.2.2 *** lang_admin.php 3 Feb 2008 19:28:26 -0000 1.7.2.1 --- lang_admin.php 3 Jun 2008 21:04:14 -0000 1.7.2.2 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_textblocks * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com --- 2,8 ---- /** * ! * @package MX-Publisher Module - mx_textblocks * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson] MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com |
|
From: Jon O. <jon...@us...> - 2008-06-03 21:04:08
|
Update of /cvsroot/mxbb/core/modules/mx_textblocks/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28479 Modified Files: Tag: core28x mx_module_defs.php Log Message: Final updates mxBB -> MXP and alike... Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_textblocks/admin/mx_module_defs.php,v retrieving revision 1.23.2.2 retrieving revision 1.23.2.3 diff -C2 -d -r1.23.2.2 -r1.23.2.3 *** mx_module_defs.php 20 May 2008 21:02:52 -0000 1.23.2.2 --- mx_module_defs.php 3 Jun 2008 21:04:05 -0000 1.23.2.3 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_textblocks * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com --- 2,8 ---- /** * ! * @package MX-Publisher Module - mx_textblocks * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson] MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com |
|
From: Jon O. <jon...@us...> - 2008-06-03 21:04:01
|
Update of /cvsroot/mxbb/core/modules/mx_shared/lib In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28270 Modified Files: Tag: core28x Common.js Log Message: Final updates mxBB -> MXP and alike... Index: Common.js =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_shared/lib/Common.js,v retrieving revision 1.1 retrieving revision 1.1.4.1 diff -C2 -d -r1.1 -r1.1.4.1 *** Common.js 5 Apr 2006 21:05:29 -0000 1.1 --- Common.js 3 Jun 2008 21:03:54 -0000 1.1.4.1 *************** *** 1,6 **** /* ! * mxBB - common js */ ! function newImage(arg) { if (document.images) { --- 1,6 ---- /* ! * MX-Publisher - common js */ ! function newImage(arg) { if (document.images) { *************** *** 69,75 **** expDate.setTime(expDate.getTime() + 31536000000); ! document.cookie = escape( cookieName ) + "=" + escape( cookieValue ) + ";expires=" + expDate.toGMTString() + ! ( path ? ";path=" + path : "") + ( domain ? ";domain=" + domain : "") + ( isSecure == 1 ? ";secure" : ""); } \ No newline at end of file --- 69,75 ---- expDate.setTime(expDate.getTime() + 31536000000); ! document.cookie = escape( cookieName ) + "=" + escape( cookieValue ) + ";expires=" + expDate.toGMTString() + ! ( path ? ";path=" + path : "") + ( domain ? ";domain=" + domain : "") + ( isSecure == 1 ? ";secure" : ""); } \ No newline at end of file |
|
From: Jon O. <jon...@us...> - 2008-06-03 21:03:47
|
Update of /cvsroot/mxbb/core/modules/mx_rebuild_search_tables/language/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28248 Modified Files: Tag: core28x lang_admin_rebuild_search.php Log Message: Final updates mxBB -> MXP and alike... Index: lang_admin_rebuild_search.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_rebuild_search_tables/language/lang_english/lang_admin_rebuild_search.php,v retrieving revision 1.6.2.1 retrieving revision 1.6.2.2 diff -C2 -d -r1.6.2.1 -r1.6.2.2 *** lang_admin_rebuild_search.php 3 Feb 2008 19:28:00 -0000 1.6.2.1 --- lang_admin_rebuild_search.php 3 Jun 2008 21:03:43 -0000 1.6.2.2 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_rebuild_search_tables * @version $Id$ ! * @copyright (c) 2002-2006 [phpBB, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com --- 2,8 ---- /** * ! * @package MX-Publisher Module - mx_rebuild_search_tables * @version $Id$ ! * @copyright (c) 2002-2006 [phpBB, Jon Ohlsson] MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com *************** *** 13,18 **** $lang['Rebuild_search_desc'] = 'This will index every post in your phpBB, rebuilding the search tables. It may take a long time to process, so please do not move from this page until it is complete.'; ! $lang['Rebuild_mx_search'] = 'Rebuild mxBB Site Search'; ! $lang['Rebuild_mx_search_desc'] = 'This will index every textblock in your mxBB portal, rebuilding the search tables. It may take a long time to process, so please do not move from this page until it is complete.'; $lang['Post_limit'] = 'Post limit'; --- 13,18 ---- $lang['Rebuild_search_desc'] = 'This will index every post in your phpBB, rebuilding the search tables. It may take a long time to process, so please do not move from this page until it is complete.'; ! $lang['Rebuild_mx_search'] = 'Rebuild MX-Publisher Site Search'; ! $lang['Rebuild_mx_search_desc'] = 'This will index every textblock in your MX-Publisher, rebuilding the search tables. It may take a long time to process, so please do not move from this page until it is complete.'; $lang['Post_limit'] = 'Post limit'; |
|
From: Jon O. <jon...@us...> - 2008-06-03 21:03:45
|
Update of /cvsroot/mxbb/core/modules/mx_rebuild_search_tables/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28227 Modified Files: Tag: core28x admin_rebuild_mx_search.php admin_rebuild_search.php Log Message: Final updates mxBB -> MXP and alike... Index: admin_rebuild_mx_search.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_rebuild_search_tables/admin/admin_rebuild_mx_search.php,v retrieving revision 1.8.2.1 retrieving revision 1.8.2.2 diff -C2 -d -r1.8.2.1 -r1.8.2.2 *** admin_rebuild_mx_search.php 3 Feb 2008 19:27:47 -0000 1.8.2.1 --- admin_rebuild_mx_search.php 3 Jun 2008 21:03:34 -0000 1.8.2.2 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_rebuild_search_tables * @version $Id$ ! * @copyright (c) 2002-2006 [phpBB, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com --- 2,8 ---- /** * ! * @package MX-Publisher Module - mx_rebuild_search_tables * @version $Id$ ! * @copyright (c) 2002-2006 [phpBB, Jon Ohlsson] MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com Index: admin_rebuild_search.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_rebuild_search_tables/admin/admin_rebuild_search.php,v retrieving revision 1.8.2.1 retrieving revision 1.8.2.2 diff -C2 -d -r1.8.2.1 -r1.8.2.2 *** admin_rebuild_search.php 3 Feb 2008 19:27:47 -0000 1.8.2.1 --- admin_rebuild_search.php 3 Jun 2008 21:03:34 -0000 1.8.2.2 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_rebuild_search_tables * @version $Id$ ! * @copyright (c) 2002-2006 [phpBB, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com --- 2,8 ---- /** * ! * @package MX-Publisher Module - mx_rebuild_search_tables * @version $Id$ ! * @copyright (c) 2002-2006 [phpBB, Jon Ohlsson] MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com |
|
From: Jon O. <jon...@us...> - 2008-06-03 21:03:38
|
Update of /cvsroot/mxbb/core/modules/mx_phpbb2blocks/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28206 Modified Files: Tag: core28x subSilver.cfg Log Message: Final updates mxBB -> MXP and alike... Index: subSilver.cfg =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_phpbb2blocks/templates/subSilver/Attic/subSilver.cfg,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 *** subSilver.cfg 15 Jan 2008 05:18:38 -0000 1.1.2.1 --- subSilver.cfg 3 Jun 2008 21:03:25 -0000 1.1.2.2 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_phpbb2blocks * @version $Id$ ! * @copyright (c) 2002-2006 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package MX-Publisher Module - mx_phpbb2blocks * @version $Id$ ! * @copyright (c) 2002-2006 MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * |
|
From: Jon O. <jon...@us...> - 2008-06-03 21:03:33
|
Update of /cvsroot/mxbb/core/modules/mx_phpbb2blocks/language/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28184 Modified Files: Tag: core28x lang_admin.php lang_main.php Log Message: Final updates mxBB -> MXP and alike... Index: lang_main.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_phpbb2blocks/language/lang_english/lang_main.php,v retrieving revision 1.3.2.1 retrieving revision 1.3.2.2 diff -C2 -d -r1.3.2.1 -r1.3.2.2 *** lang_main.php 3 Feb 2008 19:27:35 -0000 1.3.2.1 --- lang_main.php 3 Jun 2008 21:03:16 -0000 1.3.2.2 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_phpbb2blocks * @version $Id$ ! * @copyright (c) 2002-2006 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com --- 2,8 ---- /** * ! * @package MX-Publisher Module - mx_phpbb2blocks * @version $Id$ ! * @copyright (c) 2002-2006 MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com Index: lang_admin.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_phpbb2blocks/language/lang_english/lang_admin.php,v retrieving revision 1.2.2.2 retrieving revision 1.2.2.3 diff -C2 -d -r1.2.2.2 -r1.2.2.3 *** lang_admin.php 14 Feb 2008 21:25:39 -0000 1.2.2.2 --- lang_admin.php 3 Jun 2008 21:03:16 -0000 1.2.2.3 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_phpbb2blocks * @version $Id$ ! * @copyright (c) 2002-2006 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com --- 2,8 ---- /** * ! * @package MX-Publisher Module - mx_phpbb2blocks * @version $Id$ ! * @copyright (c) 2002-2006 MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com |
|
From: Jon O. <jon...@us...> - 2008-06-03 21:03:14
|
Update of /cvsroot/mxbb/core/modules/mx_phpbb2blocks/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28106 Modified Files: Tag: core28x phpbb2blocks_constants.php Log Message: Final updates mxBB -> MXP and alike... Index: phpbb2blocks_constants.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_phpbb2blocks/includes/phpbb2blocks_constants.php,v retrieving revision 1.2.2.1 retrieving revision 1.2.2.2 diff -C2 -d -r1.2.2.1 -r1.2.2.2 *** phpbb2blocks_constants.php 3 Feb 2008 19:27:23 -0000 1.2.2.1 --- phpbb2blocks_constants.php 3 Jun 2008 21:03:06 -0000 1.2.2.2 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_phpbb2blocks * @version $Id$ ! * @copyright (c) 2002-2006 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com --- 2,8 ---- /** * ! * @package MX-Publisher Module - mx_phpbb2blocks * @version $Id$ ! * @copyright (c) 2002-2006 MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com |
|
From: Jon O. <jon...@us...> - 2008-06-03 21:03:06
|
Update of /cvsroot/mxbb/core/modules/mx_navmenu/language/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27747 Modified Files: Tag: core28x lang_admin.php lang_main.php Log Message: Final updates mxBB -> MXP and alike... Index: lang_main.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_navmenu/language/lang_english/lang_main.php,v retrieving revision 1.4.2.1 retrieving revision 1.4.2.2 diff -C2 -d -r1.4.2.1 -r1.4.2.2 *** lang_main.php 3 Feb 2008 19:27:12 -0000 1.4.2.1 --- lang_main.php 3 Jun 2008 21:02:57 -0000 1.4.2.2 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_navmenu * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com --- 2,8 ---- /** * ! * @package MX-Publisher Module - mx_navmenu * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson] MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com Index: lang_admin.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_navmenu/language/lang_english/lang_admin.php,v retrieving revision 1.8.2.1 retrieving revision 1.8.2.2 diff -C2 -d -r1.8.2.1 -r1.8.2.2 *** lang_admin.php 3 Feb 2008 19:27:12 -0000 1.8.2.1 --- lang_admin.php 3 Jun 2008 21:02:57 -0000 1.8.2.2 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_navmenu * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com --- 2,8 ---- /** * ! * @package MX-Publisher Module - mx_navmenu * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson] MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com |
|
From: Jon O. <jon...@us...> - 2008-06-03 21:02:56
|
Update of /cvsroot/mxbb/core/modules/mx_navmenu/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27716/admin Modified Files: Tag: core28x mx_module_defs.php Log Message: Final updates mxBB -> MXP and alike... Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_navmenu/admin/mx_module_defs.php,v retrieving revision 1.27.2.4 retrieving revision 1.27.2.5 diff -C2 -d -r1.27.2.4 -r1.27.2.5 *** mx_module_defs.php 3 May 2008 19:11:57 -0000 1.27.2.4 --- mx_module_defs.php 3 Jun 2008 21:02:47 -0000 1.27.2.5 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_navmenu * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com --- 2,8 ---- /** * ! * @package MX-Publisher Module - mx_navmenu * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson] MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com |
|
From: Jon O. <jon...@us...> - 2008-06-03 21:02:56
|
Update of /cvsroot/mxbb/core/modules/mx_navmenu/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27716/includes Modified Files: Tag: core28x navmenu_constants.php navmenu_functions.php Log Message: Final updates mxBB -> MXP and alike... Index: navmenu_functions.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_navmenu/includes/navmenu_functions.php,v retrieving revision 1.7.2.4 retrieving revision 1.7.2.5 diff -C2 -d -r1.7.2.4 -r1.7.2.5 *** navmenu_functions.php 8 May 2008 18:51:43 -0000 1.7.2.4 --- navmenu_functions.php 3 Jun 2008 21:02:48 -0000 1.7.2.5 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_navmenu * @version $Id$ ! * @copyright (c) 2002-2006 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com --- 2,8 ---- /** * ! * @package MX-Publisher Module - mx_navmenu * @version $Id$ ! * @copyright (c) 2002-2006 MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com Index: navmenu_constants.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_navmenu/includes/navmenu_constants.php,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 *** navmenu_constants.php 3 Feb 2008 19:26:05 -0000 1.1.2.1 --- navmenu_constants.php 3 Jun 2008 21:02:48 -0000 1.1.2.2 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_navmenu * @version $Id$ ! * @copyright (c) 2002-2006 [Martin, Markus, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com --- 2,8 ---- /** * ! * @package MX-Publisher Module - mx_navmenu * @version $Id$ ! * @copyright (c) 2002-2006 [Martin, Markus, Jon Ohlsson] MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com |
|
From: Jon O. <jon...@us...> - 2008-06-03 21:02:48
|
Update of /cvsroot/mxbb/core/modules/mx_mod_rewrite/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27683/includes Modified Files: Tag: core28x rewrite_constants.php rewrite_functions.php Log Message: Final updates mxBB -> MXP and alike... Index: rewrite_constants.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_mod_rewrite/includes/rewrite_constants.php,v retrieving revision 1.4.2.1 retrieving revision 1.4.2.2 diff -C2 -d -r1.4.2.1 -r1.4.2.2 *** rewrite_constants.php 3 Feb 2008 19:25:47 -0000 1.4.2.1 --- rewrite_constants.php 3 Jun 2008 21:02:35 -0000 1.4.2.2 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_mod_rewrite * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com --- 2,8 ---- /** * ! * @package MX-Publisher Module - mx_mod_rewrite * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson] MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com *************** *** 29,37 **** if (is_object($mx_page)) { ! $mx_page->add_copyright( 'mxBB mod_rewrite' ); } // ---------- $phpbb_module_version = "1.0"; ! $phpbb_module_author = "mxBB Team"; ?> \ No newline at end of file --- 29,37 ---- if (is_object($mx_page)) { ! $mx_page->add_copyright( 'MXP mod_rewrite' ); } // ---------- $phpbb_module_version = "1.0"; ! $phpbb_module_author = "MX-Publisher Team"; ?> \ No newline at end of file Index: rewrite_functions.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_mod_rewrite/includes/rewrite_functions.php,v retrieving revision 1.4.2.2 retrieving revision 1.4.2.3 diff -C2 -d -r1.4.2.2 -r1.4.2.3 *** rewrite_functions.php 7 May 2008 20:04:56 -0000 1.4.2.2 --- rewrite_functions.php 3 Jun 2008 21:02:35 -0000 1.4.2.3 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_mod_rewrite * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com --- 2,8 ---- /** * ! * @package MX-Publisher Module - mx_mod_rewrite * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson] MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com *************** *** 62,66 **** // ! // Now do a standard mxBB mapping // - the keys are defined in the lang files // --- 62,66 ---- // ! // Now do a standard MX-Publisher mapping // - the keys are defined in the lang files // |
|
From: Jon O. <jon...@us...> - 2008-06-03 21:02:48
|
Update of /cvsroot/mxbb/core/modules/mx_mod_rewrite/contrib In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27683/contrib Modified Files: Tag: core28x rewrite_custom_defs.php Log Message: Final updates mxBB -> MXP and alike... Index: rewrite_custom_defs.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_mod_rewrite/contrib/rewrite_custom_defs.php,v retrieving revision 1.4.2.1 retrieving revision 1.4.2.2 diff -C2 -d -r1.4.2.1 -r1.4.2.2 *** rewrite_custom_defs.php 3 Feb 2008 19:25:47 -0000 1.4.2.1 --- rewrite_custom_defs.php 3 Jun 2008 21:02:35 -0000 1.4.2.2 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_mod_rewrite * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com --- 2,8 ---- /** * ! * @package MX-Publisher Module - mx_mod_rewrite * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson] MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com |
|
From: Jon O. <jon...@us...> - 2008-06-03 21:02:31
|
Update of /cvsroot/mxbb/core/modules/mx_coreblocks In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27195/mx_coreblocks Modified Files: Tag: core28x db_install.php db_upgrade.php mx_blockcp.php mx_google.php mx_includex.php mx_language.php mx_login.php mx_online.php mx_search.php mx_site_log.php mx_theme.php Log Message: Final updates mxBB -> MXP and alike... Index: mx_online.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_coreblocks/mx_online.php,v retrieving revision 1.18.2.1 retrieving revision 1.18.2.2 diff -C2 -d -r1.18.2.1 -r1.18.2.2 *** mx_online.php 3 Feb 2008 19:25:00 -0000 1.18.2.1 --- mx_online.php 3 Jun 2008 21:01:44 -0000 1.18.2.2 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_coreblocks * @version $Id$ ! * @copyright (c) 2002-2006 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com --- 2,8 ---- /** * ! * @package MX-Publisher Module - mx_coreblocks * @version $Id$ ! * @copyright (c) 2002-2006 MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com *************** *** 237,241 **** $template->assign_vars(array( // ! // Template variables particular to the mxBB Online Block. // 'BLOCK_SIZE' => $block_size, --- 237,241 ---- $template->assign_vars(array( // ! // Template variables particular to the MX-Publisher Online Block. // 'BLOCK_SIZE' => $block_size, Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_coreblocks/db_upgrade.php,v retrieving revision 1.6.2.3 retrieving revision 1.6.2.4 diff -C2 -d -r1.6.2.3 -r1.6.2.4 *** db_upgrade.php 16 Feb 2008 21:44:22 -0000 1.6.2.3 --- db_upgrade.php 3 Jun 2008 21:01:43 -0000 1.6.2.4 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_coreblocks * @version $Id$ ! * @copyright (c) 2002-2006 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com --- 2,8 ---- /** * ! * @package MX-Publisher Module - mx_coreblocks * @version $Id$ ! * @copyright (c) 2002-2006 MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com Index: mx_login.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_coreblocks/mx_login.php,v retrieving revision 1.13.2.1 retrieving revision 1.13.2.2 diff -C2 -d -r1.13.2.1 -r1.13.2.2 *** mx_login.php 3 Feb 2008 19:25:00 -0000 1.13.2.1 --- mx_login.php 3 Jun 2008 21:01:44 -0000 1.13.2.2 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_coreblocks * @version $Id$ ! * @copyright (c) 2002-2006 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com --- 2,8 ---- /** * ! * @package MX-Publisher Module - mx_coreblocks * @version $Id$ ! * @copyright (c) 2002-2006 MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_coreblocks/db_install.php,v retrieving revision 1.5.2.3 retrieving revision 1.5.2.4 diff -C2 -d -r1.5.2.3 -r1.5.2.4 *** db_install.php 16 Feb 2008 21:44:22 -0000 1.5.2.3 --- db_install.php 3 Jun 2008 21:01:43 -0000 1.5.2.4 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_coreblocks * @version $Id$ ! * @copyright (c) 2002-2006 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com --- 2,8 ---- /** * ! * @package MX-Publisher Module - mx_coreblocks * @version $Id$ ! * @copyright (c) 2002-2006 MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com Index: mx_language.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_coreblocks/mx_language.php,v retrieving revision 1.18.2.1 retrieving revision 1.18.2.2 diff -C2 -d -r1.18.2.1 -r1.18.2.2 *** mx_language.php 3 Feb 2008 19:25:00 -0000 1.18.2.1 --- mx_language.php 3 Jun 2008 21:01:43 -0000 1.18.2.2 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_coreblocks * @version $Id$ ! * @copyright (c) 2002-2006 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com --- 2,8 ---- /** * ! * @package MX-Publisher Module - mx_coreblocks * @version $Id$ ! * @copyright (c) 2002-2006 MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com Index: mx_google.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_coreblocks/mx_google.php,v retrieving revision 1.11.2.1 retrieving revision 1.11.2.2 diff -C2 -d -r1.11.2.1 -r1.11.2.2 *** mx_google.php 3 Feb 2008 19:24:59 -0000 1.11.2.1 --- mx_google.php 3 Jun 2008 21:01:43 -0000 1.11.2.2 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_coreblocks * @version $Id$ ! * @copyright (c) 2002-2006 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com --- 2,8 ---- /** * ! * @package MX-Publisher Module - mx_coreblocks * @version $Id$ ! * @copyright (c) 2002-2006 MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com Index: mx_site_log.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_coreblocks/mx_site_log.php,v retrieving revision 1.15.2.1 retrieving revision 1.15.2.2 diff -C2 -d -r1.15.2.1 -r1.15.2.2 *** mx_site_log.php 3 Feb 2008 19:25:01 -0000 1.15.2.1 --- mx_site_log.php 3 Jun 2008 21:01:44 -0000 1.15.2.2 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_coreblocks * @version $Id$ ! * @copyright (c) 2002-2006 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com --- 2,8 ---- /** * ! * @package MX-Publisher Module - mx_coreblocks * @version $Id$ ! * @copyright (c) 2002-2006 MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com Index: mx_includex.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_coreblocks/mx_includex.php,v retrieving revision 1.12.2.1 retrieving revision 1.12.2.2 diff -C2 -d -r1.12.2.1 -r1.12.2.2 *** mx_includex.php 3 Feb 2008 19:25:00 -0000 1.12.2.1 --- mx_includex.php 3 Jun 2008 21:01:43 -0000 1.12.2.2 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_coreblocks * @version $Id$ ! * @copyright (c) 2002-2006 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com --- 2,8 ---- /** * ! * @package MX-Publisher Module - mx_coreblocks * @version $Id$ ! * @copyright (c) 2002-2006 MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com Index: mx_blockcp.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_coreblocks/mx_blockcp.php,v retrieving revision 1.17.2.3 retrieving revision 1.17.2.4 diff -C2 -d -r1.17.2.3 -r1.17.2.4 *** mx_blockcp.php 23 Feb 2008 19:38:25 -0000 1.17.2.3 --- mx_blockcp.php 3 Jun 2008 21:01:43 -0000 1.17.2.4 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_coreblocks * @version $Id$ ! * @copyright (c) 2002-2006 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com --- 2,8 ---- /** * ! * @package MX-Publisher Module - mx_coreblocks * @version $Id$ ! * @copyright (c) 2002-2006 MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com *************** *** 56,60 **** include($phpbb_root_path . 'language/lang_english/lang_admin.' . $phpEx); } ! // mxBB if( file_exists($mx_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx) ) { --- 56,60 ---- include($phpbb_root_path . 'language/lang_english/lang_admin.' . $phpEx); } ! // MX-Publisher if( file_exists($mx_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx) ) { Index: mx_search.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_coreblocks/mx_search.php,v retrieving revision 1.20.2.1 retrieving revision 1.20.2.2 diff -C2 -d -r1.20.2.1 -r1.20.2.2 *** mx_search.php 3 Feb 2008 19:25:00 -0000 1.20.2.1 --- mx_search.php 3 Jun 2008 21:01:44 -0000 1.20.2.2 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_coreblocks * @version $Id$ ! * @copyright (c) 2002-2006 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com --- 2,8 ---- /** * ! * @package MX-Publisher Module - mx_coreblocks * @version $Id$ ! * @copyright (c) 2002-2006 MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com Index: mx_theme.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_coreblocks/mx_theme.php,v retrieving revision 1.18.2.1 retrieving revision 1.18.2.2 diff -C2 -d -r1.18.2.1 -r1.18.2.2 *** mx_theme.php 3 Feb 2008 19:25:01 -0000 1.18.2.1 --- mx_theme.php 3 Jun 2008 21:01:44 -0000 1.18.2.2 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_coreblocks * @version $Id$ ! * @copyright (c) 2002-2006 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com --- 2,8 ---- /** * ! * @package MX-Publisher Module - mx_coreblocks * @version $Id$ ! * @copyright (c) 2002-2006 MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mx-publisher.com |