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: OryNider <ory...@us...> - 2008-02-09 09:43:43
|
Update of /cvsroot/mxbb/mx_pjirc In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv32087 Modified Files: Tag: core28x db_install.php db_uninstall.php db_upgrade.php index.php pjirc_chat.php pjirc_faq.php pjirc_front.php pjirc_update.php Log Message: mxBB -> Mx-Publisher Index: index.php =================================================================== RCS file: /cvsroot/mxbb/mx_pjirc/index.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** index.php 7 Jun 2007 00:08:31 -0000 1.1 --- index.php 9 Feb 2008 09:43:38 -0000 1.1.2.1 *************** *** 2,6 **** /** * ! * @package mxBB Portal Module - mx_pjirc * @version $Id$ * @copyright (c) 2004-2006 amo, --- 2,6 ---- /** * ! * @package Mx-Publisher Module - mx_pjirc * @version $Id$ * @copyright (c) 2004-2006 amo, Index: pjirc_chat.php =================================================================== RCS file: /cvsroot/mxbb/mx_pjirc/pjirc_chat.php,v retrieving revision 1.3 retrieving revision 1.3.2.1 diff -C2 -d -r1.3 -r1.3.2.1 *** pjirc_chat.php 10 Jul 2007 02:38:59 -0000 1.3 --- pjirc_chat.php 9 Feb 2008 09:43:38 -0000 1.3.2.1 *************** *** 2,6 **** /** * ! * @package mxBB Portal Module - mx_pjirc * @version $Id$ * @copyright (c) 2004-2006 amo, --- 2,6 ---- /** * ! * @package Mx-Publisher Module - mx_pjirc * @version $Id$ * @copyright (c) 2004-2006 amo, *************** *** 19,40 **** ******************************************/ ! define('IN_PORTAL', 1); ! //error_reporting( E_ALL ); ! //ini_set( 'display_errors', '1' ); ! $mx_root_path = "../../"; ! $mx_module_path = "./"; ! $phpEx = substr(strrchr(__FILE__, '.'), 1); ! include_once($mx_root_path . 'common.'.$phpEx); ! // ! // Start session management ! // ! $mx_user->init($user_ip, PAGE_INDEX); ! define('_PJIRC_CONFIG', true); ! include_once($mx_module_path .'includes/common.'.$phpEx); /* --- 19,62 ---- ******************************************/ ! if( !defined('IN_PORTAL') || !is_object($mx_block)) ! { ! define('IN_PORTAL', true); ! $mx_root_path = "../../"; ! $module_root_path = "./"; ! $phpEx = substr(strrchr(__FILE__, '.'), 1); ! include_once($mx_root_path . 'common.'.$phpEx); ! // ! // Start session management ! // ! $mx_user->init($user_ip, PAGE_INDEX); ! // ! // End session management ! // ! $title = 'Media Player Radio'; ! $block_size = ( isset($block_size) && !empty($block_size) ? $block_size : '315' ); ! $is_block = FALSE; ! } ! else ! { ! // ! // Read block Configuration ! // ! ! $title = $mx_block->block_info['block_title']; ! $block_size = ( isset($block_size) && !empty($block_size) ? $block_size : '100%' ); ! ! if( is_object($mx_block)) ! { ! $is_block = TRUE; ! } ! } ! ! define('_PJIRC_CONFIG', true); ! include_once($mx_module_path .'includes/common.'.$phpEx); /* Index: pjirc_front.php =================================================================== RCS file: /cvsroot/mxbb/mx_pjirc/pjirc_front.php,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -C2 -d -r1.2 -r1.2.2.1 *** pjirc_front.php 10 Jul 2007 02:38:59 -0000 1.2 --- pjirc_front.php 9 Feb 2008 09:43:38 -0000 1.2.2.1 *************** *** 2,6 **** /** * ! * @package mxBB Portal Module - mx_pjirc * @version $Id$ * @copyright (c) 2004-2006 smartor, amo, OryNider --- 2,6 ---- /** * ! * @package Mx-Publisher Module - mx_pjirc * @version $Id$ * @copyright (c) 2004-2006 smartor, amo, OryNider Index: pjirc_update.php =================================================================== RCS file: /cvsroot/mxbb/mx_pjirc/pjirc_update.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** pjirc_update.php 7 Jun 2007 00:08:36 -0000 1.1 --- pjirc_update.php 9 Feb 2008 09:43:39 -0000 1.1.2.1 *************** *** 2,6 **** /** * ! * @package mxBB Portal Module - mx_pjirc * @version $Id$ * @copyright (c) 2004-2006 amo, am...@ho... --- 2,6 ---- /** * ! * @package Mx-Publisher Module - mx_pjirc * @version $Id$ * @copyright (c) 2004-2006 amo, am...@ho... Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_pjirc/db_install.php,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -C2 -d -r1.2 -r1.2.2.1 *** db_install.php 10 Jul 2007 02:38:59 -0000 1.2 --- db_install.php 9 Feb 2008 09:43:38 -0000 1.2.2.1 *************** *** 2,6 **** /** * ! * @package mxBB Portal Module - mx_pjirc * @version $Id$ * @copyright (c) 2004-2006, amo, am...@ho... --- 2,6 ---- /** * ! * @package Mx-Publisher Module - mx_pjirc * @version $Id$ * @copyright (c) 2004-2006, amo, am...@ho... Index: pjirc_faq.php =================================================================== RCS file: /cvsroot/mxbb/mx_pjirc/pjirc_faq.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** pjirc_faq.php 7 Jun 2007 00:08:33 -0000 1.1 --- pjirc_faq.php 9 Feb 2008 09:43:38 -0000 1.1.2.1 *************** *** 2,6 **** /** * ! * @package mxBB Portal Module - mx_pjirc * @version $Id$ * @copyright (c) 2001-2007 The phpBB Group, su...@ph... --- 2,6 ---- /** * ! * @package Mx-Publisher Module - mx_pjirc * @version $Id$ * @copyright (c) 2001-2007 The phpBB Group, su...@ph... Index: db_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_pjirc/db_uninstall.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** db_uninstall.php 7 Jun 2007 00:08:30 -0000 1.1 --- db_uninstall.php 9 Feb 2008 09:43:38 -0000 1.1.2.1 *************** *** 2,6 **** /** * ! * @package mxBB Portal Module - mx_pjirc * @version $Id$ * @copyright (c) 2004-2006, amo, am...@ho... --- 2,6 ---- /** * ! * @package Mx-Publisher Module - mx_pjirc * @version $Id$ * @copyright (c) 2004-2006, amo, am...@ho... Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_pjirc/db_upgrade.php,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -C2 -d -r1.2 -r1.2.2.1 *** db_upgrade.php 10 Jul 2007 02:38:59 -0000 1.2 --- db_upgrade.php 9 Feb 2008 09:43:38 -0000 1.2.2.1 *************** *** 2,6 **** /** * ! * @package mxBB Portal Module - mx_pjirc * @version $Id$ * @copyright (c) 2002-2006 [Jon Ohlsson] mxBB Project Team --- 2,6 ---- /** * ! * @package Mx-Publisher Module - mx_pjirc * @version $Id$ * @copyright (c) 2002-2006 [Jon Ohlsson] mxBB Project Team |
|
From: OryNider <ory...@us...> - 2008-02-09 09:43:43
|
Update of /cvsroot/mxbb/mx_pjirc/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv32087/admin Modified Files: Tag: core28x admin_pjirc.php Log Message: mxBB -> Mx-Publisher Index: admin_pjirc.php =================================================================== RCS file: /cvsroot/mxbb/mx_pjirc/admin/admin_pjirc.php,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -C2 -d -r1.2 -r1.2.2.1 *** admin_pjirc.php 10 Jul 2007 02:38:59 -0000 1.2 --- admin_pjirc.php 9 Feb 2008 09:43:38 -0000 1.2.2.1 *************** *** 2,6 **** /** * ! * @package mxBB Portal Module - mx_pjirc * @version $Id$ * @copyright (c) 2003-2006 Marc Ferran; Eric; Amo --- 2,6 ---- /** * ! * @package Mx-Publisher Module - mx_pjirc * @version $Id$ * @copyright (c) 2003-2006 Marc Ferran; Eric; Amo |
|
From: OryNider <ory...@us...> - 2008-02-09 09:43:42
|
Update of /cvsroot/mxbb/mx_pjirc/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv32087/includes Modified Files: Tag: core28x common.php Log Message: mxBB -> Mx-Publisher Index: common.php =================================================================== RCS file: /cvsroot/mxbb/mx_pjirc/includes/common.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** common.php 7 Jun 2007 00:08:50 -0000 1.1 --- common.php 9 Feb 2008 09:43:39 -0000 1.1.2.1 *************** *** 2,6 **** /** * ! * @package mxBB Portal Module - mx_pjirc * @version $Id$ * @copyright (c) 2004-2006 Marc Ferran; Eric; Amo --- 2,6 ---- /** * ! * @package Mx-Publisher Module - mx_pjirc * @version $Id$ * @copyright (c) 2004-2006 Marc Ferran; Eric; Amo |
|
From: OryNider <ory...@us...> - 2008-02-09 09:23:12
|
Update of /cvsroot/mxbb/mx_online_adv In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29661 Modified Files: Tag: core28x db_install.php db_uninstall.php mx_online_adv.php Log Message: mxBB -> Mx-Publisher Index: mx_online_adv.php =================================================================== RCS file: /cvsroot/mxbb/mx_online_adv/mx_online_adv.php,v retrieving revision 1.5.2.4 retrieving revision 1.5.2.5 diff -C2 -d -r1.5.2.4 -r1.5.2.5 *** mx_online_adv.php 8 Feb 2008 05:35:08 -0000 1.5.2.4 --- mx_online_adv.php 9 Feb 2008 09:23:03 -0000 1.5.2.5 *************** *** 150,154 **** if($row['user_id'] > 0) { ! $uot_username = sprintf('<a href="' . PHPBB_URL . 'profile.php?mode=viewprofile&u=%d" title="%s was last here at: %s" %s>%s</a>',$uot_user_id,$uot_username_plain,create_date('g:ia', $row['user_session_time'], $board_config['board_timezone']),$uot_style,$uot_username); } --- 150,155 ---- if($row['user_id'] > 0) { ! $user_session_time = (@function_exists( 'create_date' )) ? create_date('g:ia', $row['user_session_time'], $board_config['board_timezone']) : phpBB2::create_date('g:ia', $row['user_session_time'], $board_config['board_timezone']); ! $uot_username = sprintf('<a href="' . PHPBB_URL . 'profile.php?mode=viewprofile&u=%d" title="%s was last here at: %s" %s>%s</a>',$uot_user_id,$uot_username_plain,$user_session_time,$uot_style,$uot_username); } *************** *** 454,457 **** --- 455,460 ---- } + $record_online_date = (@function_exists( 'create_date' )) ? create_date($board_config['default_dateformat'], $board_config['record_online_date'], $board_config['board_timezone']) : phpBB2::create_date($board_config['default_dateformat'], $board_config['record_online_date'], $board_config['board_timezone']); + // ================================================================================ // Send our Who's Online block to the browser *************** *** 468,472 **** 'SEARCH_ENGINES_LIST' => $online_spiderlist, 'LOGGED_IN_USER_LIST' => $online_userlist, ! 'RECORD_USERS' => sprintf($lang['Record_online_users'], $board_config['record_online_users'], create_date($board_config['default_dateformat'], $board_config['record_online_date'], $board_config['board_timezone'])), 'L_WHO_IS_ONLINE' => $lang['Who_is_Online'], --- 471,475 ---- 'SEARCH_ENGINES_LIST' => $online_spiderlist, 'LOGGED_IN_USER_LIST' => $online_userlist, ! 'RECORD_USERS' => sprintf($lang['Record_online_users'], $board_config['record_online_users'], $record_online_date), 'L_WHO_IS_ONLINE' => $lang['Who_is_Online'], |
|
From: OryNider <ory...@us...> - 2008-02-09 09:23:12
|
Update of /cvsroot/mxbb/mx_online_adv/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29661/includes Modified Files: Tag: core28x functions.php online_adv_hack.php online_common.php Log Message: mxBB -> Mx-Publisher |
|
From: OryNider <ory...@us...> - 2008-02-09 09:23:12
|
Update of /cvsroot/mxbb/mx_online_adv/language/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29661/language/lang_english Modified Files: Tag: core28x lang_main.php Log Message: mxBB -> Mx-Publisher |
|
From: OryNider <ory...@us...> - 2008-02-09 09:21:26
|
Update of /cvsroot/mxbb/mx_online_adv In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29217 Modified Files: mx_online_adv.php Log Message: fogot to upgrade template. Index: mx_online_adv.php =================================================================== RCS file: /cvsroot/mxbb/mx_online_adv/mx_online_adv.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** mx_online_adv.php 8 Feb 2008 05:24:22 -0000 1.8 --- mx_online_adv.php 9 Feb 2008 09:21:22 -0000 1.9 *************** *** 150,154 **** if($row['user_id'] > 0) { ! $uot_username = sprintf('<a href="' . PHPBB_URL . 'profile.php?mode=viewprofile&u=%d" title="%s was last here at: %s" %s>%s</a>',$uot_user_id,$uot_username_plain,create_date('g:ia', $row['user_session_time'], $board_config['board_timezone']),$uot_style,$uot_username); } --- 150,155 ---- if($row['user_id'] > 0) { ! $user_session_time = (@function_exists( 'create_date' )) ? create_date('g:ia', $row['user_session_time'], $board_config['board_timezone']) : phpBB2::create_date('g:ia', $row['user_session_time'], $board_config['board_timezone']); ! $uot_username = sprintf('<a href="' . PHPBB_URL . 'profile.php?mode=viewprofile&u=%d" title="%s was last here at: %s" %s>%s</a>',$uot_user_id,$uot_username_plain,$user_session_time,$uot_style,$uot_username); } *************** *** 454,457 **** --- 455,460 ---- } + $record_online_date = (@function_exists( 'create_date' )) ? create_date($board_config['default_dateformat'], $board_config['record_online_date'], $board_config['board_timezone']) : phpBB2::create_date($board_config['default_dateformat'], $board_config['record_online_date'], $board_config['board_timezone']); + // ================================================================================ // Send our Who's Online block to the browser *************** *** 468,472 **** 'SEARCH_ENGINES_LIST' => $online_spiderlist, 'LOGGED_IN_USER_LIST' => $online_userlist, ! 'RECORD_USERS' => sprintf($lang['Record_online_users'], $board_config['record_online_users'], create_date($board_config['default_dateformat'], $board_config['record_online_date'], $board_config['board_timezone'])), 'L_WHO_IS_ONLINE' => $lang['Who_is_Online'], --- 471,475 ---- 'SEARCH_ENGINES_LIST' => $online_spiderlist, 'LOGGED_IN_USER_LIST' => $online_userlist, ! 'RECORD_USERS' => sprintf($lang['Record_online_users'], $board_config['record_online_users'], $record_online_date), 'L_WHO_IS_ONLINE' => $lang['Who_is_Online'], |
|
From: OryNider <ory...@us...> - 2008-02-09 09:21:18
|
Update of /cvsroot/mxbb/mx_online_adv/templates/prosilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29195 Removed Files: mx_online_adv.tpl Log Message: fogot to upgrade template. --- mx_online_adv.tpl DELETED --- |
|
From: MW <jo...@us...> - 2008-02-09 00:36:09
|
Update of /cvsroot/mxbb/core/install In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv5115/install Modified Files: mx_install.php Log Message: uncomment mysqli even if it maybe isn't 100% but we need it to work anyway and need it now ;-) Index: mx_install.php =================================================================== RCS file: /cvsroot/mxbb/core/install/mx_install.php,v retrieving revision 1.86 retrieving revision 1.87 diff -C2 -d -r1.86 -r1.87 *** mx_install.php 7 Feb 2008 03:06:15 -0000 1.86 --- mx_install.php 9 Feb 2008 00:35:52 -0000 1.87 *************** *** 338,348 **** 'COMMENTS' => 'mx_remove_remarks' ), ! // 'mysqli' => array( ! // 'LABEL' => 'MySQL with MySQLi Extension', ! // 'SCHEMA' => 'mysql', ! // 'DELIM' => ';', ! // 'DELIM_BASIC' => ';', ! // 'COMMENTS' => 'mx_remove_remarks' ! // ), 'postgres' => array( 'LABEL' => 'PostgreSQL 7.x', --- 338,348 ---- 'COMMENTS' => 'mx_remove_remarks' ), ! 'mysqli' => array( ! 'LABEL' => 'MySQL with MySQLi Extension', ! 'SCHEMA' => 'mysql', ! 'DELIM' => ';', ! 'DELIM_BASIC' => ';', ! 'COMMENTS' => 'mx_remove_remarks' ! ), 'postgres' => array( 'LABEL' => 'PostgreSQL 7.x', |
|
From: Jon O. <jon...@us...> - 2008-02-09 00:05:23
|
Update of /cvsroot/mxbb/mx_quotations In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25298 Modified Files: db_install.php db_upgrade.php Log Message: Removing trailing newlines... Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_quotations/db_install.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** db_install.php 30 Jan 2007 16:26:10 -0000 1.13 --- db_install.php 9 Feb 2008 00:05:19 -0000 1.14 *************** *** 55,57 **** echo "</table><br />"; ! ?> --- 55,57 ---- echo "</table><br />"; ! ?> \ No newline at end of file Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_quotations/db_upgrade.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** db_upgrade.php 22 Jul 2007 21:08:21 -0000 1.14 --- db_upgrade.php 9 Feb 2008 00:05:19 -0000 1.15 *************** *** 59,61 **** echo "</table><br />"; ! ?> --- 59,61 ---- echo "</table><br />"; ! ?> \ No newline at end of file |
|
From: Jon O. <jon...@us...> - 2008-02-09 00:04:55
|
Update of /cvsroot/mxbb/mx_contact In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24876 Modified Files: db_install.php db_uninstall.php Log Message: Removing trailing newlines... missing comma Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_contact/db_install.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** db_install.php 12 Dec 2007 18:41:35 -0000 1.1 --- db_install.php 9 Feb 2008 00:04:51 -0000 1.2 *************** *** 123,125 **** echo "</table><br />"; ! ?> --- 123,125 ---- echo "</table><br />"; ! ?> \ No newline at end of file Index: db_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_contact/db_uninstall.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** db_uninstall.php 12 Dec 2007 18:41:35 -0000 1.1 --- db_uninstall.php 9 Feb 2008 00:04:51 -0000 1.2 *************** *** 13,17 **** { $mx_root_path = '../../'; ! $phpEx = substr(strrchr(__FILE__, '.'), 1); include($mx_root_path . 'common.'.$phpEx); --- 13,17 ---- { $mx_root_path = '../../'; ! $phpEx = substr(strrchr(__FILE__, '.'), 1); include($mx_root_path . 'common.'.$phpEx); *************** *** 19,23 **** // Start session management // ! $mx_user->init($user_ip, PAGE_INDEX); if( !$userdata['session_logged_in'] ) --- 19,23 ---- // Start session management // ! $mx_user->init($user_ip, PAGE_INDEX); if( !$userdata['session_logged_in'] ) *************** *** 37,41 **** $sql = array( "DROP TABLE ".$mx_table_prefix."contact_config", ! "DROP TABLE ".$mx_table_prefix."contact_emails" "DROP TABLE ".$mx_table_prefix."contact" ); --- 37,41 ---- $sql = array( "DROP TABLE ".$mx_table_prefix."contact_config", ! "DROP TABLE ".$mx_table_prefix."contact_emails", "DROP TABLE ".$mx_table_prefix."contact" ); *************** *** 65,67 **** echo '<tr><td class="row1" align="center"><span class="gen">' . $message . '</span></td></tr>'; echo '</table> <br />'; ! ?> --- 65,67 ---- echo '<tr><td class="row1" align="center"><span class="gen">' . $message . '</span></td></tr>'; echo '</table> <br />'; ! ?> \ No newline at end of file |
|
From: Jon O. <jon...@us...> - 2008-02-09 00:03:02
|
Update of /cvsroot/mxbb/mx_dev_startkit In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24066 Modified Files: db_install.php Log Message: Removing trailing newlines... Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_dev_startkit/db_install.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** db_install.php 5 May 2007 20:20:24 -0000 1.7 --- db_install.php 9 Feb 2008 00:02:58 -0000 1.8 *************** *** 76,78 **** echo "</table><br />"; ! ?> --- 76,78 ---- echo "</table><br />"; ! ?> \ No newline at end of file |
|
From: Jon O. <jon...@us...> - 2008-02-09 00:02:23
|
Update of /cvsroot/mxbb/mx_faq/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24035 Modified Files: admin_faq_editor.php Log Message: mx_ Index: admin_faq_editor.php =================================================================== RCS file: /cvsroot/mxbb/mx_faq/admin/admin_faq_editor.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** admin_faq_editor.php 9 Feb 2008 00:00:45 -0000 1.4 --- admin_faq_editor.php 9 Feb 2008 00:02:19 -0000 1.5 *************** *** 188,192 **** if(!is_writable($file_root_path . 'language/lang_' . $language . '/lang_' . $file . '.' . $phpEx)) { ! message_die(GENERAL_ERROR, $lang['write_file_explain'], $lang['write_file'], __LINE__, __FILE__); } --- 188,192 ---- if(!is_writable($file_root_path . 'language/lang_' . $language . '/lang_' . $file . '.' . $phpEx)) { ! mx_message_die(GENERAL_ERROR, $lang['write_file_explain'], $lang['write_file'], __LINE__, __FILE__); } *************** *** 521,525 **** else { ! message_die(GENERAL_ERROR, $lang['write_file_explain'], $lang['write_file'], __LINE__, __FILE__); } } --- 521,525 ---- else { ! mx_message_die(GENERAL_ERROR, $lang['write_file_explain'], $lang['write_file'], __LINE__, __FILE__); } } |
|
From: Jon O. <jon...@us...> - 2008-02-09 00:00:51
|
Update of /cvsroot/mxbb/mx_faq In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23231 Modified Files: db_install.php db_upgrade.php faq.php rules.php Log Message: updated... Index: rules.php =================================================================== RCS file: /cvsroot/mxbb/mx_faq/rules.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** rules.php 1 Feb 2008 04:31:12 -0000 1.4 --- rules.php 9 Feb 2008 00:00:45 -0000 1.5 *************** *** 83,89 **** //+MOD: DHTML Collapsible FAQ MOD 'U_CFAQ_JSLIB' => $module_root_path . 'templates/collapsible_faq.js', ! 'L_CFAQ_NOSCRIPT' => sprintf($lang['dhtml_faq_noscript'], ('<a href="'.append_sid("faq.$phpEx?dhtml=no".(isset($HTTP_GET_VARS['mode']) ? '&mode='.$HTTP_GET_VARS['mode'] : '')).'">'), '</a>'), //-MOD: DHTML Collapsible FAQ MOD ! 'L_FAQ_TITLE' => $l_title, 'L_BACK_TO_TOP' => $lang['Back_to_top']) ); --- 83,89 ---- //+MOD: DHTML Collapsible FAQ MOD 'U_CFAQ_JSLIB' => $module_root_path . 'templates/collapsible_faq.js', ! 'L_CFAQ_NOSCRIPT' => sprintf($lang['dhtml_faq_noscript'], ('<a href="'.mx_append_sid("faq.$phpEx?dhtml=no".(isset($HTTP_GET_VARS['mode']) ? '&mode='.$HTTP_GET_VARS['mode'] : '')).'">'), '</a>'), //-MOD: DHTML Collapsible FAQ MOD ! 'L_FAQ_TITLE' => $l_title, 'L_BACK_TO_TOP' => $lang['Back_to_top']) ); *************** *** 96,100 **** 'BLOCK_TITLE' => $faq_block_titles[$i]) ); ! $template->assign_block_vars('faq_block_link', array( 'BLOCK_TITLE' => $faq_block_titles[$i]) ); --- 96,100 ---- 'BLOCK_TITLE' => $faq_block_titles[$i]) ); ! $template->assign_block_vars('faq_block_link', array( 'BLOCK_TITLE' => $faq_block_titles[$i]) ); *************** *** 108,113 **** 'ROW_COLOR' => '#' . $row_color, 'ROW_CLASS' => $row_class, ! 'FAQ_QUESTION' => $faq_block[$i][$j]['question'], ! 'FAQ_ANSWER' => $faq_block[$i][$j]['answer'], 'U_FAQ_ID' => $faq_block[$i][$j]['id']) --- 108,113 ---- 'ROW_COLOR' => '#' . $row_color, 'ROW_CLASS' => $row_class, ! 'FAQ_QUESTION' => $faq_block[$i][$j]['question'], ! 'FAQ_ANSWER' => $faq_block[$i][$j]['answer'], 'U_FAQ_ID' => $faq_block[$i][$j]['id']) *************** *** 117,121 **** 'ROW_COLOR' => '#' . $row_color, 'ROW_CLASS' => $row_class, ! 'FAQ_LINK' => $faq_block[$i][$j]['question'], 'U_FAQ_LINK' => '#' . $faq_block[$i][$j]['id']) --- 117,121 ---- 'ROW_COLOR' => '#' . $row_color, 'ROW_CLASS' => $row_class, ! 'FAQ_LINK' => $faq_block[$i][$j]['question'], 'U_FAQ_LINK' => '#' . $faq_block[$i][$j]['id']) *************** *** 127,129 **** $template->pparse('body'); ! ?> --- 127,129 ---- $template->pparse('body'); ! ?> \ No newline at end of file Index: faq.php =================================================================== RCS file: /cvsroot/mxbb/mx_faq/faq.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** faq.php 1 Feb 2008 04:31:12 -0000 1.4 --- faq.php 9 Feb 2008 00:00:45 -0000 1.5 *************** *** 31,43 **** $b_description = $mx_block->block_info['block_desc']; ! $page1 = intval($HTTP_GET_VARS['page']); ! if ( $page1 > 0 ) ! { ! $page = $page1; ! } ! else ! { ! $page = 1; } --- 31,43 ---- $b_description = $mx_block->block_info['block_desc']; ! $page1 = intval($HTTP_GET_VARS['page']); ! if ( $page1 > 0 ) ! { ! $page = $page1; ! } ! else ! { ! $page = 1; } *************** *** 138,154 **** $template->assign_vars(array( ! 'U_PORTAL_FAQ' => $mx_root_path ."index.$phpEx?page=$page&mode=portal", ! 'L_PORTAL_FAQ' => $lang['Mx_Portal_faq'], ! 'U_MODULE_FAQ' => $mx_root_path ."index.$phpEx?page=$page&mode=module", ! 'L_MODULE_FAQ' => $lang['Mx_Module_faq'], ! 'U_FORUM_FAQ' => $mx_root_path ."index.$phpEx?page=$page&mode=forum", ! 'L_FORUM_FAQ' => $lang['Forum_faq'], ! 'U_BBCODE_FAQ' => $mx_root_path ."index.$phpEx?page=$page&mode=bbcode", ! 'L_BBCODE_FAQ' => $lang['BBcode_faq'], //+MOD: DHTML Collapsible FAQ MOD 'U_CFAQ_JSLIB' => $module_root_path . 'templates/collapsible_faq.js', ! 'L_CFAQ_NOSCRIPT' => sprintf($lang['dhtml_faq_noscript'], ('<a href="'.append_sid("faq.$phpEx?dhtml=no".(isset($HTTP_GET_VARS['mode']) ? '&mode='.$HTTP_GET_VARS['mode'] : '')).'">'), '</a>'), //-MOD: DHTML Collapsible FAQ MOD ! 'L_FAQ_TITLE' => $l_title, 'L_BACK_TO_TOP' => $lang['Back_to_top']) ); --- 138,154 ---- $template->assign_vars(array( ! 'U_PORTAL_FAQ' => $mx_root_path ."index.$phpEx?page=$page&mode=portal", ! 'L_PORTAL_FAQ' => $lang['Mx_Portal_faq'], ! 'U_MODULE_FAQ' => $mx_root_path ."index.$phpEx?page=$page&mode=module", ! 'L_MODULE_FAQ' => $lang['Mx_Module_faq'], ! 'U_FORUM_FAQ' => $mx_root_path ."index.$phpEx?page=$page&mode=forum", ! 'L_FORUM_FAQ' => $lang['Forum_faq'], ! 'U_BBCODE_FAQ' => $mx_root_path ."index.$phpEx?page=$page&mode=bbcode", ! 'L_BBCODE_FAQ' => $lang['BBcode_faq'], //+MOD: DHTML Collapsible FAQ MOD 'U_CFAQ_JSLIB' => $module_root_path . 'templates/collapsible_faq.js', ! 'L_CFAQ_NOSCRIPT' => sprintf($lang['dhtml_faq_noscript'], ('<a href="'.mx_append_sid("faq.$phpEx?dhtml=no".(isset($HTTP_GET_VARS['mode']) ? '&mode='.$HTTP_GET_VARS['mode'] : '')).'">'), '</a>'), //-MOD: DHTML Collapsible FAQ MOD ! 'L_FAQ_TITLE' => $l_title, 'L_BACK_TO_TOP' => $lang['Back_to_top']) ); *************** *** 161,165 **** 'BLOCK_TITLE' => $faq_block_titles[$i]) ); ! $template->assign_block_vars('faq_block_link', array( 'BLOCK_TITLE' => $faq_block_titles[$i]) ); --- 161,165 ---- 'BLOCK_TITLE' => $faq_block_titles[$i]) ); ! $template->assign_block_vars('faq_block_link', array( 'BLOCK_TITLE' => $faq_block_titles[$i]) ); *************** *** 173,178 **** 'ROW_COLOR' => '#' . $row_color, 'ROW_CLASS' => $row_class, ! 'FAQ_QUESTION' => $faq_block[$i][$j]['question'], ! 'FAQ_ANSWER' => $faq_block[$i][$j]['answer'], 'U_FAQ_ID' => $faq_block[$i][$j]['id']) --- 173,178 ---- 'ROW_COLOR' => '#' . $row_color, 'ROW_CLASS' => $row_class, ! 'FAQ_QUESTION' => $faq_block[$i][$j]['question'], ! 'FAQ_ANSWER' => $faq_block[$i][$j]['answer'], 'U_FAQ_ID' => $faq_block[$i][$j]['id']) *************** *** 182,186 **** 'ROW_COLOR' => '#' . $row_color, 'ROW_CLASS' => $row_class, ! 'FAQ_LINK' => $faq_block[$i][$j]['question'], 'U_FAQ_LINK' => '#' . $faq_block[$i][$j]['id']) --- 182,186 ---- 'ROW_COLOR' => '#' . $row_color, 'ROW_CLASS' => $row_class, ! 'FAQ_LINK' => $faq_block[$i][$j]['question'], 'U_FAQ_LINK' => '#' . $faq_block[$i][$j]['id']) Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_faq/db_install.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** db_install.php 1 Feb 2008 04:21:24 -0000 1.3 --- db_install.php 9 Feb 2008 00:00:45 -0000 1.4 *************** *** 51,53 **** echo "</table><br />"; ! ?> --- 51,53 ---- echo "</table><br />"; ! ?> \ No newline at end of file Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_faq/db_upgrade.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** db_upgrade.php 1 Feb 2008 04:21:24 -0000 1.3 --- db_upgrade.php 9 Feb 2008 00:00:45 -0000 1.4 *************** *** 51,53 **** echo "</table><br />"; ! ?> --- 51,53 ---- echo "</table><br />"; ! ?> \ No newline at end of file |
|
From: Jon O. <jon...@us...> - 2008-02-09 00:00:50
|
Update of /cvsroot/mxbb/mx_faq/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23231/admin Modified Files: admin_faq_editor.php Log Message: updated... Index: admin_faq_editor.php =================================================================== RCS file: /cvsroot/mxbb/mx_faq/admin/admin_faq_editor.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** admin_faq_editor.php 1 Feb 2008 04:21:24 -0000 1.3 --- admin_faq_editor.php 9 Feb 2008 00:00:45 -0000 1.4 *************** *** 20,33 **** ***************************************************************************/ ! if( !empty($setmodules) ) ! { ! $file = basename(__FILE__); ! $module['Faq_&_Rules']['Portal_Faq'] = 'modules/mx_faq/admin/'."$file?file=portal_faq"; ! $module['Faq_&_Rules']['Board_faq'] = 'modules/mx_faq/admin/'."$file?file=faq"; ! $module['Faq_&_Rules']['BBcode_faq'] = 'modules/mx_faq/admin/' ."$file?file=bbcode"; $module['Faq_&_Rules']['Rules'] = 'modules/mx_faq/admin/' ."$file?file=rules"; ! if(file_exists($phpbb_root_path . 'attach_mod/attachment_mod.'.$phpEx)) ! { ! $module['Faq_manager']['attachment_faq'] = "$file?file=faq_attach"; } return; --- 20,33 ---- ***************************************************************************/ ! if( !empty($setmodules) ) ! { ! $file = basename(__FILE__); ! $module['Faq_&_Rules']['Portal_Faq'] = 'modules/mx_faq/admin/'."$file?file=portal_faq"; ! $module['Faq_&_Rules']['Board_faq'] = 'modules/mx_faq/admin/'."$file?file=faq"; ! $module['Faq_&_Rules']['BBcode_faq'] = 'modules/mx_faq/admin/' ."$file?file=bbcode"; $module['Faq_&_Rules']['Rules'] = 'modules/mx_faq/admin/' ."$file?file=rules"; ! if(file_exists($phpbb_root_path . 'attach_mod/attachment_mod.'.$phpEx)) ! { ! $module['Faq_manager']['attachment_faq'] = "$file?file=faq_attach"; } return; *************** *** 135,140 **** * ***************************************************************************/ ! ! // // To add an entry to your FAQ simply add a line to this file in this format: // ".'$'."faq[] = array(\"question\", \"answer\"); --- 135,140 ---- * ***************************************************************************/ ! ! // // To add an entry to your FAQ simply add a line to this file in this format: // ".'$'."faq[] = array(\"question\", \"answer\"); *************** *** 161,165 **** $file_root_path = "$phpbb_root_path"; } ! if( !isset($HTTP_GET_VARS['language']) && !isset($HTTP_POST_VARS['language']) ) { --- 161,165 ---- $file_root_path = "$phpbb_root_path"; } ! if( !isset($HTTP_GET_VARS['language']) && !isset($HTTP_POST_VARS['language']) ) { *************** *** 171,175 **** 'L_LANGUAGE' => $lang['select_language'], 'LANGUAGE_SELECT' => language_select($board_config['default_lang'], 'language', $phpbb_realpath.'language'), ! 'S_ACTION' => append_sid("admin_faq_editor.$phpEx?file=$file"), 'L_SUBMIT' => $lang['retrieve'], 'L_TITLE' => $lang['editor'], --- 171,175 ---- 'L_LANGUAGE' => $lang['select_language'], 'LANGUAGE_SELECT' => language_select($board_config['default_lang'], 'language', $phpbb_realpath.'language'), ! 'S_ACTION' => mx_append_sid("admin_faq_editor.$phpEx?file=$file"), 'L_SUBMIT' => $lang['retrieve'], 'L_TITLE' => $lang['editor'], *************** *** 184,191 **** // get the language we want to edit $language = isset($HTTP_GET_VARS['language']) ? $HTTP_GET_VARS['language'] : $HTTP_POST_VARS['language']; ! $language = phpbb_ltrim(basename(phpbb_rtrim($language)), "'"); if(!is_writable($file_root_path . 'language/lang_' . $language . '/lang_' . $file . '.' . $phpEx)) ! { message_die(GENERAL_ERROR, $lang['write_file_explain'], $lang['write_file'], __LINE__, __FILE__); } --- 184,191 ---- // get the language we want to edit $language = isset($HTTP_GET_VARS['language']) ? $HTTP_GET_VARS['language'] : $HTTP_POST_VARS['language']; ! $language = phpBB2::phpbb_ltrim(basename(phpBB2::phpbb_rtrim($language)), "'"); if(!is_writable($file_root_path . 'language/lang_' . $language . '/lang_' . $file . '.' . $phpEx)) ! { message_die(GENERAL_ERROR, $lang['write_file_explain'], $lang['write_file'], __LINE__, __FILE__); } *************** *** 196,200 **** // change into our array list($blocks, $quests) = faq_to_array($faq); ! // if we have a mode set this means we have to do something if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode'])) --- 196,200 ---- // change into our array list($blocks, $quests) = faq_to_array($faq); ! // if we have a mode set this means we have to do something if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode'])) *************** *** 229,233 **** "L_NO" => $lang['No'], ! "S_CONFIRM_ACTION" => append_sid("admin_faq_editor.$phpEx?file=$file&language=$language"), "S_HIDDEN_FIELDS" => $s_hidden_fields )); --- 229,233 ---- "L_NO" => $lang['No'], ! "S_CONFIRM_ACTION" => mx_append_sid("admin_faq_editor.$phpEx?file=$file&language=$language"), "S_HIDDEN_FIELDS" => $s_hidden_fields )); *************** *** 238,242 **** exit; ! // result of pressing YES on the block delete confirmation case 'block_del_confirm': if(isset($HTTP_GET_VARS['confirm']) || isset($HTTP_POST_VARS['confirm'])) --- 238,242 ---- exit; ! // result of pressing YES on the block delete confirmation case 'block_del_confirm': if(isset($HTTP_GET_VARS['confirm']) || isset($HTTP_POST_VARS['confirm'])) *************** *** 271,275 **** 'S_HIDDEN_FIELDS' => '<input type="hidden" name="mode" value="block_do_edit"><input type="hidden" name="block" value="'.$block_no.'">', ! 'S_ACTION' => append_sid("admin_faq_editor.$phpEx?file=$file&language=$language") )); --- 271,275 ---- 'S_HIDDEN_FIELDS' => '<input type="hidden" name="mode" value="block_do_edit"><input type="hidden" name="block" value="'.$block_no.'">', ! 'S_ACTION' => mx_append_sid("admin_faq_editor.$phpEx?file=$file&language=$language") )); *************** *** 336,340 **** $s_block_list .= '<option value="'.$i.'"'.$is_selected.'>' . $blocks[$i] . '</option>'; } ! $template->assign_vars(array( 'L_TITLE' => $lang['quest_create'], --- 336,340 ---- $s_block_list .= '<option value="'.$i.'"'.$is_selected.'>' . $blocks[$i] . '</option>'; } ! $template->assign_vars(array( 'L_TITLE' => $lang['quest_create'], *************** *** 349,353 **** 'S_BLOCK_LIST' => $s_block_list, ! 'S_ACTION' => append_sid("admin_faq_editor.$phpEx?file=$file&language=$language"), 'S_HIDDEN_FIELDS' => '<input name="mode" type="hidden" value="quest_create"/>' )); --- 349,353 ---- 'S_BLOCK_LIST' => $s_block_list, ! 'S_ACTION' => mx_append_sid("admin_faq_editor.$phpEx?file=$file&language=$language"), 'S_HIDDEN_FIELDS' => '<input name="mode" type="hidden" value="quest_create"/>' )); *************** *** 397,401 **** 'S_BLOCK_LIST' => $s_block_list, ! 'S_ACTION' => append_sid("admin_faq_editor.$phpEx?file=$file&language=$language"), 'S_HIDDEN_FIELDS' => '<input name="quest" type="hidden" value="'.$quest_no.'"><input name="old_block" type="hidden" value="'.$block_no.'"><input name="mode" type="hidden" value="quest_do_edit">' )); --- 397,401 ---- 'S_BLOCK_LIST' => $s_block_list, ! 'S_ACTION' => mx_append_sid("admin_faq_editor.$phpEx?file=$file&language=$language"), 'S_HIDDEN_FIELDS' => '<input name="quest" type="hidden" value="'.$quest_no.'"><input name="old_block" type="hidden" value="'.$block_no.'"><input name="mode" type="hidden" value="quest_do_edit">' )); *************** *** 455,459 **** "L_NO" => $lang['No'], ! "S_CONFIRM_ACTION" => append_sid("admin_faq_editor.$phpEx?file=$file&language=$language"), "S_HIDDEN_FIELDS" => $s_hidden_fields )); --- 455,459 ---- "L_NO" => $lang['No'], ! "S_CONFIRM_ACTION" => mx_append_sid("admin_faq_editor.$phpEx?file=$file&language=$language"), "S_HIDDEN_FIELDS" => $s_hidden_fields )); *************** *** 505,509 **** // write these changes back to the FAQ file $fp = fopen($file_root_path . 'language/lang_' . $language . '/lang_' . $file . '.' . $phpEx, 'w'); ! if($fp) { --- 505,509 ---- // write these changes back to the FAQ file $fp = fopen($file_root_path . 'language/lang_' . $language . '/lang_' . $file . '.' . $phpEx, 'w'); ! if($fp) { *************** *** 535,547 **** 'L_EXPLAIN' => $lang['editor_explain'], ! 'S_ACTION' => append_sid("admin_faq_editor.$phpEx?file=$file&language=$language"), 'L_ADD_BLOCK' => $lang['block_add'], 'L_ADD_QUESTION' => $lang['quest_add'], ! 'L_EDIT' => $lang['Edit'], ! 'L_DELETE' => $lang['Delete'], ! 'L_MOVE_UP' => $lang['Move_up'], ! 'L_MOVE_DOWN' => $lang['Move_down'], 'L_NO_QUESTIONS' => $lang['no_quests'], --- 535,547 ---- 'L_EXPLAIN' => $lang['editor_explain'], ! 'S_ACTION' => mx_append_sid("admin_faq_editor.$phpEx?file=$file&language=$language"), 'L_ADD_BLOCK' => $lang['block_add'], 'L_ADD_QUESTION' => $lang['quest_add'], ! 'L_EDIT' => $lang['Edit'], ! 'L_DELETE' => $lang['Delete'], ! 'L_MOVE_UP' => $lang['Move_up'], ! 'L_MOVE_DOWN' => $lang['Move_down'], 'L_NO_QUESTIONS' => $lang['no_quests'], *************** *** 555,567 **** for($i = 0; $i < count($blocks); $i++) { ! $template->assign_block_vars("blockrow", array( 'BLOCK_TITLE' => $blocks[$i], 'BLOCK_NUMBER' => "$i", 'BLOCK_ANCHOR' => $anchor_code, ! 'U_BLOCK_EDIT' => append_sid("admin_faq_editor.$phpEx?mode=block_edit&block=$i&file=$file&language=$language"), ! 'U_BLOCK_MOVE_UP' => append_sid("admin_faq_editor.$phpEx?mode=block_up&block=$i&file=$file&language=$language"), ! 'U_BLOCK_MOVE_DOWN' => append_sid("admin_faq_editor.$phpEx?mode=block_dn&block=$i&file=$file&language=$language"), ! 'U_BLOCK_DELETE' => append_sid("admin_faq_editor.$phpEx?mode=block_del&block=$i&file=$file&language=$language") )); --- 555,567 ---- for($i = 0; $i < count($blocks); $i++) { ! $template->assign_block_vars("blockrow", array( 'BLOCK_TITLE' => $blocks[$i], 'BLOCK_NUMBER' => "$i", 'BLOCK_ANCHOR' => $anchor_code, ! 'U_BLOCK_EDIT' => mx_append_sid("admin_faq_editor.$phpEx?mode=block_edit&block=$i&file=$file&language=$language"), ! 'U_BLOCK_MOVE_UP' => mx_append_sid("admin_faq_editor.$phpEx?mode=block_up&block=$i&file=$file&language=$language"), ! 'U_BLOCK_MOVE_DOWN' => mx_append_sid("admin_faq_editor.$phpEx?mode=block_dn&block=$i&file=$file&language=$language"), ! 'U_BLOCK_DELETE' => mx_append_sid("admin_faq_editor.$phpEx?mode=block_del&block=$i&file=$file&language=$language") )); *************** *** 570,580 **** for($j = 0; $j < count($quests[$i]); $j++) { ! $template->assign_block_vars("blockrow.questrow", array( 'QUEST_TITLE' => $quests[$i][$j][Q], ! 'U_QUEST' => append_sid("admin_faq_editor.$phpEx?mode=quest_edit&block=$i&quest=$j&file=$file&language=$language"), ! 'U_QUEST_EDIT' => append_sid("admin_faq_editor.$phpEx?mode=quest_edit&block=$i&quest=$j&file=$file&language=$language"), ! 'U_QUEST_MOVE_UP' => append_sid("admin_faq_editor.$phpEx?mode=quest_up&block=$i&quest=$j&file=$file&language=$language"), ! 'U_QUEST_MOVE_DOWN' => append_sid("admin_faq_editor.$phpEx?mode=quest_dn&block=$i&quest=$j&file=$file&language=$language"), ! 'U_QUEST_DELETE' => append_sid("admin_faq_editor.$phpEx?mode=quest_del&block=$i&quest=$j&file=$file&language=$language") )); --- 570,580 ---- for($j = 0; $j < count($quests[$i]); $j++) { ! $template->assign_block_vars("blockrow.questrow", array( 'QUEST_TITLE' => $quests[$i][$j][Q], ! 'U_QUEST' => mx_append_sid("admin_faq_editor.$phpEx?mode=quest_edit&block=$i&quest=$j&file=$file&language=$language"), ! 'U_QUEST_EDIT' => mx_append_sid("admin_faq_editor.$phpEx?mode=quest_edit&block=$i&quest=$j&file=$file&language=$language"), ! 'U_QUEST_MOVE_UP' => mx_append_sid("admin_faq_editor.$phpEx?mode=quest_up&block=$i&quest=$j&file=$file&language=$language"), ! 'U_QUEST_MOVE_DOWN' => mx_append_sid("admin_faq_editor.$phpEx?mode=quest_dn&block=$i&quest=$j&file=$file&language=$language"), ! 'U_QUEST_DELETE' => mx_append_sid("admin_faq_editor.$phpEx?mode=quest_del&block=$i&quest=$j&file=$file&language=$language") )); *************** *** 599,601 **** include($module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin_faq_editor.' . $phpEx); ! ?> --- 599,601 ---- include($module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin_faq_editor.' . $phpEx); ! ?> \ No newline at end of file |
|
From: Jon O. <jon...@us...> - 2008-02-08 23:59:55
|
Update of /cvsroot/mxbb/mx_faq/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22763 Removed Files: faq_body.tpl faq_dhtml.tpl index.htm rules_body.tpl rules_dhtml.tpl Log Message: updated... --- rules_body.tpl DELETED --- --- rules_dhtml.tpl DELETED --- --- faq_dhtml.tpl DELETED --- --- index.htm DELETED --- --- faq_body.tpl DELETED --- |
|
From: Jon O. <jon...@us...> - 2008-02-08 23:59:54
|
Update of /cvsroot/mxbb/mx_faq/templates/subSilver/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22763/admin Removed Files: faq_block_body.tpl faq_editor_body.tpl faq_quest_body.tpl faq_select_lang_body.tpl index.htm Log Message: updated... --- faq_block_body.tpl DELETED --- --- faq_editor_body.tpl DELETED --- --- faq_select_lang_body.tpl DELETED --- --- faq_quest_body.tpl DELETED --- --- index.htm DELETED --- |
|
From: Jon O. <jon...@us...> - 2008-02-08 23:59:42
|
Update of /cvsroot/mxbb/mx_faq/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22733 Added Files: faq_body.tpl faq_dhtml.tpl index.htm rules_body.tpl rules_dhtml.tpl Log Message: updated... --- NEW FILE: rules_body.tpl --- <table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0" align="center" style="border-top:none;"> <tr> <td class="row1"> <!-- BEGIN faq_block_link --> <span class="gen"><b>{faq_block_link.BLOCK_TITLE}</b></span><br /> <!-- BEGIN faq_row_link --> <span class="gen"><a href="{faq_block_link.faq_row_link.U_FAQ_LINK}" class="postlink">{faq_block_link.faq_row_link.FAQ_LINK}</a></span><br /> <!-- END faq_row_link --> <br /> <!-- END faq_block_link --> </td> </tr> <tr> <td class="catBottom" height="28"> </td> </tr> <!-- BEGIN faq_block --> <tr> <td class="catHead" height="28" align="center"><span class="nav">{faq_block.BLOCK_TITLE}</span></td> </tr> <!-- BEGIN faq_row --> <tr> <td class="{faq_block.faq_row.ROW_CLASS}" align="left" valign="top"><span class="postbody"><a name="{faq_block.faq_row.U_FAQ_ID}"></a><b>{faq_block.faq_row.FAQ_QUESTION}</b></span><br /><span class="postbody">{faq_block.faq_row.FAQ_ANSWER}<br /><a class="postlink" href="#Top">{L_BACK_TO_TOP}</a></span></td> </tr> <tr> <td class="spaceRow" height="1"><img src="templates/subSilver/images/spacer.gif" alt="" width="1" height="1" /></td> </tr> <!-- END faq_row --> <!-- END faq_block --> </table> --- NEW FILE: rules_dhtml.tpl --- <script language="javascript" type="text/javascript" src="{U_CFAQ_JSLIB}"></script> <noscript> <table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0" align="center" style="border-top:none;"> <tr> <td class="row1" align="center"><span class="gen"><br />{L_CFAQ_NOSCRIPT}<br /> </span></td> </tr> </table> </noscript> <table class="forumline" width="100%" cellspacing="0" cellpadding="3" border="0" align="center" style="border-top:none;"> <!-- BEGIN faq_block --> <tr> <td class="catHead" height="28" align="center"><span class="nav">{faq_block.BLOCK_TITLE}</span></td> </tr> <!-- BEGIN faq_row --> <tr> <td class="{faq_block.faq_row.ROW_CLASS}" align="left" valign="top"> <div onclick="return CFAQ.display('faq_a_{faq_block.faq_row.U_FAQ_ID}', false);" style="width:100%;cursor:pointer;cursor:hand;"> <span class="genmed"><a class="genmed" href="javascript:void(0)" onclick="return CFAQ.display('faq_a_{faq_block.faq_row.U_FAQ_ID}', true);" onfocus="this.blur();"><b>{faq_block.faq_row.FAQ_QUESTION}</b></span></a> </div> <div id="faq_a_{faq_block.faq_row.U_FAQ_ID}" style="display:none;"> <table class="bodyline" width="100%" cellspacing="1" cellpadding="3" border="0" align="center"> <tr> <td class="spaceRow"><img src="templates/subSilver/images/spacer.gif" alt="" width="0" height="0" /></td> </tr> <tr><td align="left" valign="top"><span class="postbody">{faq_block.faq_row.FAQ_ANSWER}<br /></span></td></tr> <tr> <td class="spaceRow"><img src="templates/subSilver/images/spacer.gif" alt="" width="0" height="0" /></td> </tr> </table> </div> </td> </tr> <!-- END faq_row --> <!-- END faq_block --> </table> --- NEW FILE: faq_dhtml.tpl --- <script language="javascript" type="text/javascript" src="{U_CFAQ_JSLIB}"></script> <noscript> <table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0" align="center" style="border-top:none;"> <tr> <td class="row1" align="center"><span class="gen"><br />{L_CFAQ_NOSCRIPT}<br /> </span></td> </tr> </table> </noscript> <table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0" align="center" style="border-top:none;"> <tr> <td class="catHead" height="28" align="center"><a href="{U_PORTAL_FAQ}" class="nav">{L_PORTAL_FAQ}</a></td> <td class="catHead" height="28" align="center"><a href="{U_MODULE_FAQ}" class="nav">{L_MODULE_FAQ}</a></td> <td class="catHead" height="28" align="center"><a href="{U_FORUM_FAQ}" class="nav">{L_FORUM_FAQ}</a></td> <td class="catHead" height="28" align="center"><a href="{U_BBCODE_FAQ}" class="nav">{L_BBCODE_FAQ}</a></td> </tr> <!-- BEGIN faq_block --> <tr> <td colspan="4" class="catHead" height="28" align="center"><span class="nav">{faq_block.BLOCK_TITLE}</span></td> </tr> <!-- BEGIN faq_row --> <tr> <td colspan="4" class="{faq_block.faq_row.ROW_CLASS}" align="left" valign="top"> <div onclick="return CFAQ.display('faq_a_{faq_block.faq_row.U_FAQ_ID}', false);" style="width:100%;cursor:pointer;cursor:hand;"> <span class="genmed"><a class="genmed" href="javascript:void(0)" onclick="return CFAQ.display('faq_a_{faq_block.faq_row.U_FAQ_ID}', true);" onfocus="this.blur();"><b>{faq_block.faq_row.FAQ_QUESTION}</b></span></a> </div> <div id="faq_a_{faq_block.faq_row.U_FAQ_ID}" style="display:none;"> <table class="bodyline" width="100%" cellspacing="1" cellpadding="3" border="0" align="center"> <tr> <td class="spaceRow"><img src="templates/subSilver/images/spacer.gif" alt="" width="0" height="0" /></td> </tr> <tr><td align="left" valign="top"><span class="postbody">{faq_block.faq_row.FAQ_ANSWER}<br /></span></td></tr> <tr> <td class="spaceRow"><img src="templates/subSilver/images/spacer.gif" alt="" width="0" height="0" /></td> </tr> </table> </div> </td> </tr> <!-- END faq_row --> <!-- END faq_block --> </table> --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> --- NEW FILE: faq_body.tpl --- <table class="forumline" cellspacing="1" cellpadding="3" width="100%" style="border-top:none;"> <tr> <td class="catHead" height="28" align="center"><a href="{U_PORTAL_FAQ}" class="nav">{L_PORTAL_FAQ}</a>d</td> <td class="catHead" height="28" align="center"><a href="{U_MODULE_FAQ}" class="nav">{L_MODULE_FAQ}</a></td> <td class="catHead" height="28" align="center"><a href="{U_FORUM_FAQ}" class="nav">{L_FORUM_FAQ}</a></td> <td class="catHead" height="28" align="center"><a href="{U_BBCODE_FAQ}" class="nav">{L_BBCODE_FAQ}</a></td> </tr> <tr> <td colspan="4" class="row1"> <!-- BEGIN faq_block_link --> <span class="gen"><b>{faq_block_link.BLOCK_TITLE}</b></span><br /> <!-- BEGIN faq_row_link --> <span class="gen"><a href="{faq_block_link.faq_row_link.U_FAQ_LINK}" class="postlink">{faq_block_link.faq_row_link.FAQ_LINK}</a></span><br /> <!-- END faq_row_link --> <br /> <!-- END faq_block_link --> </td> </tr> <tr> <td colspan="4" class="catBottom" height="28"> </td> </tr> <!-- BEGIN faq_block --> <tr> <td colspan="4" class="catHead" height="28" align="center"><span class="nav">{faq_block.BLOCK_TITLE}</span></td> </tr> <!-- BEGIN faq_row --> <tr> <td colspan="4" class="{faq_block.faq_row.ROW_CLASS}" align="left" valign="top"><span class="genmed"><a name="{faq_block.faq_row.U_FAQ_ID}"></a><b>{faq_block.faq_row.FAQ_QUESTION}</b></span><br /><span class="postbody">{faq_block.faq_row.FAQ_ANSWER}<br /><a class="postlink" href="#Top">{L_BACK_TO_TOP}</a></span></td> </tr> <tr> <td colspan="4" class="spaceRow" height="1"><img src="templates/subSilver/images/spacer.gif" alt="" width="1" height="1" /></td> </tr> <!-- END faq_row --> <!-- END faq_block --> </table> |
|
From: Jon O. <jon...@us...> - 2008-02-08 23:59:42
|
Update of /cvsroot/mxbb/mx_faq/templates/_core/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22733/admin Added Files: faq_block_body.tpl faq_editor_body.tpl faq_quest_body.tpl faq_select_lang_body.tpl index.htm Log Message: updated... --- NEW FILE: faq_block_body.tpl --- <h1>{L_TITLE}</h1> <p>{L_EXPLAIN}</p> <form action="{S_ACTION}" method="post"> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <th class="thHead" colspan="2">{L_TITLE}</th> </tr> <tr> <td class="row1">{L_BLOCK_NAME}</td> <td class="row2"><input name="block_title" value="{BLOCK_TITLE}" type="text" style="width:350px; "></td> </tr> <tr> <td class="catBottom" colspan="2" align="center"> {S_HIDDEN_FIELDS} <input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /> </td> </tr> </table> </form> <br clear="all" /> --- NEW FILE: faq_editor_body.tpl --- <h1>{L_TITLE}</h1> <p>{L_EXPLAIN}</p> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <th class="thHead" colspan="5">{L_TITLE}</th> </tr> <!-- BEGIN blockrow --> <tr> <td class="catLeft" width="100%"><span class="cattitle"><a name="{blockrow.BLOCK_ANCHOR}">{blockrow.BLOCK_TITLE}</a></span></td> <td class="cat" align="center" valign="middle" nowrap="nowrap"><span class="gen"><a href="{blockrow.U_BLOCK_EDIT}">{L_EDIT}</a></span></td> <td class="cat" align="center" valign="middle" nowrap="nowrap"><span class="gen"><a href="{blockrow.U_BLOCK_DELETE}">{L_DELETE}</a></span></td> <td class="cat" align="center" valign="middle" nowrap="nowrap"><span class="gen"><a href="{blockrow.U_BLOCK_MOVE_UP}">{L_MOVE_UP}</a></span></td> <td class="catRight" align="center" valign="middle" nowrap="nowrap"><span class="gen"><a href="{blockrow.U_BLOCK_MOVE_DOWN}">{L_MOVE_DOWN}</a></span></td> </tr> <!-- BEGIN questrow --> <tr> <td class="row1" valign="top" width="100%"><span class="gen">{blockrow.questrow.QUEST_TITLE}</span></td> <td class="row2" align="center" valign="middle" nowrap="nowrap"><span class="gen"><a href="{blockrow.questrow.U_QUEST_EDIT}">{L_EDIT}</a></span></td> <td class="row2" align="center" valign="middle" nowrap="nowrap"><span class="gen"><a href="{blockrow.questrow.U_QUEST_DELETE}">{L_DELETE}</a></span></td> <td class="row2" align="center" valign="middle" nowrap="nowrap"><span class="gen"><a href="{blockrow.questrow.U_QUEST_MOVE_UP}">{L_MOVE_UP}</a></span></td> <td class="row2" align="center" valign="middle" nowrap="nowrap"><span class="gen"><a href="{blockrow.questrow.U_QUEST_MOVE_DOWN}">{L_MOVE_DOWN}</span></td> </tr> <!-- END questrow --> <!-- BEGIN no_questions --> <tr> <td class="row1" align="center" colspan="5"><span class="gen">{L_NO_QUESTIONS}</span></td> </tr> <!-- END no_questions --> <tr> <td class="row2" valign="top" colspan="5"> <form method="post" action="{S_ACTION}" style="margin:0px;"> <span class="gen"> <input class="post" name="quest_title" type="text" value="" size="40"> <input name="mode" type="hidden" value="quest_new"> <input name="block" type="hidden" value="{blockrow.BLOCK_NUMBER}"> <input class="liteoption" type="submit" value="{L_ADD_QUESTION}" name="submit"> </span> </form> </td> </tr> <tr> <td colspan="5" height="1" class="spaceRow"><img src="../templates/subSilver/images/spacer.gif" alt="" width="1" height="1" /></td> </tr> <!-- END blockrow --> <!-- BEGIN no_blocks --> <tr> <td class="catLeft" colspan="5"><span class="cattitle">{L_NO_BLOCKS}</span></td> </tr> <!-- END no_blocks --> <tr> <td class="catLeft" colspan="5"> <form method="post" action="{S_ACTION}" style="margin:0px;"> <span class="gen"> <input class="post" name="block_title" type="text" value="" size="60"> <input name="mode" type="hidden" value="block_new"> <input class="liteoption" type="submit" value="{L_ADD_BLOCK}" name="submit"> </span> </form> </td> </tr> </table> <br clear="all" /> --- NEW FILE: faq_select_lang_body.tpl --- <h1>{L_TITLE}</h1> <p>{L_EXPLAIN}</p> <form action="{S_ACTION}" method="post"> <table cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <th class="thHead" colspan="2">{L_TITLE}</th> </tr> <tr> <td class="row1">{L_LANGUAGE}</td> <td class="row2">{LANGUAGE_SELECT}</td> </tr> <tr> <td class="catBottom" colspan="2" align="center"><input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /></td> </tr> </table> </form> <br clear="all" /> --- NEW FILE: faq_quest_body.tpl --- <h1>{L_TITLE}</h1> <p>{L_EXPLAIN}</p> <!-- BEGIN tinyMCE --> <script language="javascript" type="text/javascript" src="{tinyMCE.SCRIPT}"></script> <script language="javascript" type="text/javascript"> tinyMCE.init( { mode : "textareas", theme : "advanced", language : "{tinyMCE.LANG}", docs_language : "{tinyMCE.LANG}", plugins : "table,advhr,advimage,advlink,emotions,insertdatetime,preview,zoom,flash,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable", theme_advanced_buttons1_add_before : "newdocument,separator", theme_advanced_buttons1_add : "fontselect,fontsizeselect", theme_advanced_buttons2_add : "separator,insertdate,inserttime,preview,separator,forecolor,backcolor", theme_advanced_buttons2_add_before: "cut,copy,paste,pastetext,pasteword,separator,search,replace,separator", theme_advanced_buttons3_add_before : "tablecontrols,separator", theme_advanced_buttons3_add : "emotions,flash,advhr,separator,print,separator,ltr,rtl,separator,fullscreen", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", theme_advanced_path_location : "bottom", content_css : "{tinyMCE.TEMPLATE}", relative_urls : false, extended_valid_elements : "td[*],div[*],form[*],input[*]" }); </script> <!-- END tinyMCE --> <form action="{S_ACTION}" method="post"> <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <th class="thHead" colspan="2">{L_TITLE}</th> </tr> <tr> <td class="row1">{L_BLOCK}</td> <td class="row2"><select name="block" style="width:350px; ">{S_BLOCK_LIST}</select></td> </tr> <tr> <td class="row1">{L_QUESTION}</td> <td class="row2"><input type="text" size="50" style="width:350px; " name="quest_title" value="{QUESTION}" class="post" /></td> </tr> <tr> <td class="row1">{L_ANSWER}</td> <td class="row2"><textarea name="answer" rows="15" cols="35" class="post" style="width:550px;" rows="8">{ANSWER}</textarea></td> </tr> <tr> <td class="catBottom" colspan="2" align="center"> {S_HIDDEN_FIELDS} <input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /> </td> </tr> </table> </form> <br clear="all" /> --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |
|
From: Jon O. <jon...@us...> - 2008-02-08 23:58:31
|
Update of /cvsroot/mxbb/mx_faq/templates/_core/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22310/admin Log Message: Directory /cvsroot/mxbb/mx_faq/templates/_core/admin added to the repository |
|
From: Jon O. <jon...@us...> - 2008-02-08 23:58:24
|
Update of /cvsroot/mxbb/mx_faq/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22296/_core Log Message: Directory /cvsroot/mxbb/mx_faq/templates/_core added to the repository |
|
From: Jon O. <jon...@us...> - 2008-02-08 23:45:37
|
Update of /cvsroot/mxbb/mx_slash/includes/models In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv16613 Modified Files: NewsModels.php Log Message: Removing trailing newlines... Index: NewsModels.php =================================================================== RCS file: /cvsroot/mxbb/mx_slash/includes/models/NewsModels.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NewsModels.php 30 Jan 2004 20:40:24 -0000 1.1 --- NewsModels.php 8 Feb 2008 23:45:33 -0000 1.2 *************** *** 14,29 **** $this->number_news = 0; $this->getNewsPosts($id, $start); ! ! } // end constructor ! function getNewsPosts($news_id = null, $start = null) { global $db, $board_config, $userdata; ! if (is_null($start)) { $start = 0; } ! $sql = 'SELECT t.*, p.*, pt.*, x.*, u.username, n.* --- 14,29 ---- $this->number_news = 0; $this->getNewsPosts($id, $start); ! ! } // end constructor ! function getNewsPosts($news_id = null, $start = null) { global $db, $board_config, $userdata; ! if (is_null($start)) { $start = 0; } ! $sql = 'SELECT t.*, p.*, pt.*, x.*, u.username, n.* *************** *** 55,63 **** message_die(GENERAL_ERROR, 'Could not query forum news information', '', __LINE__, __FILE__, $sql); } ! while ($row = $db->sql_fetchrow($result)) { $this->news_items[$this->number_news] = new NewsPost(); ! $this->news_items[$this->number_news]->news_image = $row['news_image']; $this->news_items[$this->number_news]->post_text = $row['post_text']; --- 55,63 ---- message_die(GENERAL_ERROR, 'Could not query forum news information', '', __LINE__, __FILE__, $sql); } ! while ($row = $db->sql_fetchrow($result)) { $this->news_items[$this->number_news] = new NewsPost(); ! $this->news_items[$this->number_news]->news_image = $row['news_image']; $this->news_items[$this->number_news]->post_text = $row['post_text']; *************** *** 77,83 **** $this->number_news++; } // end row loop ! } // end getNewsPost ! // this function initializes the objects with the news configuration // information --- 77,83 ---- $this->number_news++; } // end row loop ! } // end getNewsPost ! // this function initializes the objects with the news configuration // information *************** *** 85,89 **** { global $db; ! $sql = "SELECT * FROM " . NEWS_CONFIG_TABLE; --- 85,89 ---- { global $db; ! $sql = "SELECT * FROM " . NEWS_CONFIG_TABLE; *************** *** 92,96 **** message_die(CRITICAL_ERROR, "Could not query config information in news_config", "", __LINE__, __FILE__, $sql); } ! while( $row = $db->sql_fetchrow($result) ) { --- 92,96 ---- message_die(CRITICAL_ERROR, "Could not query config information in news_config", "", __LINE__, __FILE__, $sql); } ! while( $row = $db->sql_fetchrow($result) ) { *************** *** 99,106 **** $this->$news_config[$config_name] = $config_value; } ! } // end initConfig ! ! } --- 99,106 ---- $this->$news_config[$config_name] = $config_value; } ! } // end initConfig ! ! } *************** *** 108,116 **** { ! function TopicsModel() { ! } // end constructor ! function getTopics() { --- 108,116 ---- { ! function TopicsModel() { ! } // end constructor ! function getTopics() { *************** *** 178,184 **** return $cats; } ! ! } ! ?> --- 178,184 ---- return $cats; } ! ! } ! ?> \ No newline at end of file |
|
From: Jon O. <jon...@us...> - 2008-02-08 23:45:30
|
Update of /cvsroot/mxbb/mx_shoutbox/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv16571/includes Modified Files: constants.php functions.php Log Message: Removing trailing newlines... Index: functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_shoutbox/includes/functions.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** functions.php 21 Jun 2007 18:21:14 -0000 1.1 --- functions.php 8 Feb 2008 23:45:25 -0000 1.2 *************** *** 6,12 **** // COPYRIGHT : © 2002, 2003 apegaming.net // WWW : http://www.blame-the-french.com.com/ ! // LICENCE : GPL vs2.0 [ see /docs/COPYING ] ! // ! // ------------------------------------------------------------- if ( !defined('IN_PORTAL') ) --- 6,12 ---- // COPYRIGHT : © 2002, 2003 apegaming.net // WWW : http://www.blame-the-french.com.com/ ! // LICENCE : GPL vs2.0 [ see /docs/COPYING ] ! // ! // ------------------------------------------------------------- if ( !defined('IN_PORTAL') ) *************** *** 21,33 **** 'body' => 'mx_shout_msg.tpl') ); ! $template->assign_vars(array( 'SHOUT_MSG' => $message ) ); ! ! $template->pparse('body'); ! } ! ?> --- 21,33 ---- 'body' => 'mx_shout_msg.tpl') ); ! $template->assign_vars(array( 'SHOUT_MSG' => $message ) ); ! ! $template->pparse('body'); ! } ! ?> \ No newline at end of file Index: constants.php =================================================================== RCS file: /cvsroot/mxbb/mx_shoutbox/includes/constants.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** constants.php 21 Jun 2007 18:21:13 -0000 1.1 --- constants.php 8 Feb 2008 23:45:25 -0000 1.2 *************** *** 6,12 **** // COPYRIGHT : © 2002, 2003 apegaming.net // WWW : http://www.blame-the-french.com.com/ ! // LICENCE : GPL vs2.0 [ see /docs/COPYING ] ! // ! // ------------------------------------------------------------- if ( !defined('IN_PORTAL') ) --- 6,12 ---- // COPYRIGHT : © 2002, 2003 apegaming.net // WWW : http://www.blame-the-french.com.com/ ! // LICENCE : GPL vs2.0 [ see /docs/COPYING ] ! // ! // ------------------------------------------------------------- if ( !defined('IN_PORTAL') ) *************** *** 19,21 **** define('SHOUTBOX_CONFIG_TABLE', $mx_table_prefix.'shoutbox_config'); define('SH_VERSION','2.2.4'); ! ?> --- 19,21 ---- define('SHOUTBOX_CONFIG_TABLE', $mx_table_prefix.'shoutbox_config'); define('SH_VERSION','2.2.4'); ! ?> \ No newline at end of file |
|
From: Jon O. <jon...@us...> - 2008-02-08 23:45:28
|
Update of /cvsroot/mxbb/mx_shoutbox/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv16571/admin Modified Files: admin_mx_shoutbox.php Log Message: Removing trailing newlines... Index: admin_mx_shoutbox.php =================================================================== RCS file: /cvsroot/mxbb/mx_shoutbox/admin/admin_mx_shoutbox.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** admin_mx_shoutbox.php 21 Jun 2007 18:21:05 -0000 1.1 --- admin_mx_shoutbox.php 8 Feb 2008 23:45:24 -0000 1.2 *************** *** 6,12 **** // COPYRIGHT : © 2002, 2003 apegaming.net // WWW : http://www.blame-the-french.com.com/ ! // LICENCE : GPL vs2.0 [ see /docs/COPYING ] ! // ! // ------------------------------------------------------------- if( !empty($setmodules) ) --- 6,12 ---- // COPYRIGHT : © 2002, 2003 apegaming.net // WWW : http://www.blame-the-french.com.com/ ! // LICENCE : GPL vs2.0 [ see /docs/COPYING ] ! // ! // ------------------------------------------------------------- if( !empty($setmodules) ) *************** *** 35,39 **** { include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.'.$phpEx ); ! } // --- 35,39 ---- { include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.'.$phpEx ); ! } // *************** *** 53,57 **** $config_value = $row['config_value']; $default_config[$config_name] = $config_value; ! $new[$config_name] = ( isset($HTTP_POST_VARS[$config_name]) ) ? $HTTP_POST_VARS[$config_name] : $default_config[$config_name]; --- 53,57 ---- $config_value = $row['config_value']; $default_config[$config_name] = $config_value; ! $new[$config_name] = ( isset($HTTP_POST_VARS[$config_name]) ) ? $HTTP_POST_VARS[$config_name] : $default_config[$config_name]; *************** *** 148,150 **** include_once( $mx_root_path . 'admin/page_footer_admin.'.$phpEx); ! ?> --- 148,150 ---- include_once( $mx_root_path . 'admin/page_footer_admin.'.$phpEx); ! ?> \ No newline at end of file |
|
From: Jon O. <jon...@us...> - 2008-02-08 23:45:26
|
Update of /cvsroot/mxbb/mx_slash/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv15972/admin Modified Files: admin_slash.php admin_slash_cats.php admin_slash_import.php admin_slash_mods.php admin_slash_news.php Log Message: Removing trailing newlines... Index: admin_slash_cats.php =================================================================== RCS file: /cvsroot/mxbb/mx_slash/admin/admin_slash_cats.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** admin_slash_cats.php 30 Jan 2004 20:38:19 -0000 1.3 --- admin_slash_cats.php 8 Feb 2008 23:44:49 -0000 1.4 *************** *** 350,352 **** include($mx_root_path . 'admin/' . 'page_footer_admin.'.$phpEx); ! ?> --- 350,352 ---- include($mx_root_path . 'admin/' . 'page_footer_admin.'.$phpEx); ! ?> \ No newline at end of file Index: admin_slash_import.php =================================================================== RCS file: /cvsroot/mxbb/mx_slash/admin/admin_slash_import.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** admin_slash_import.php 30 Jan 2004 20:38:19 -0000 1.6 --- admin_slash_import.php 8 Feb 2008 23:44:49 -0000 1.7 *************** *** 74,90 **** { global $db, $board_config; ! $sql = 'SELECT ! count('.TOPICS_TABLE.'.topic_id) from '.TOPICS_TABLE.' left join '.NEWS_PUBLISH_TABLE.' on '.TOPICS_TABLE.'.topic_id = '.NEWS_PUBLISH_TABLE.'.topic_id where '.NEWS_PUBLISH_TABLE.'.topic_id IS NULL'; ! if (!$result = $db->sql_query($sql)) { message_die(GENERAL_ERROR, "Died in fetch number nonnews"); } ! $row = $db->sql_fetchrow($result); ! return $row[0]; } --- 74,90 ---- { global $db, $board_config; ! $sql = 'SELECT ! count('.TOPICS_TABLE.'.topic_id) from '.TOPICS_TABLE.' left join '.NEWS_PUBLISH_TABLE.' on '.TOPICS_TABLE.'.topic_id = '.NEWS_PUBLISH_TABLE.'.topic_id where '.NEWS_PUBLISH_TABLE.'.topic_id IS NULL'; ! if (!$result = $db->sql_query($sql)) { message_die(GENERAL_ERROR, "Died in fetch number nonnews"); } ! $row = $db->sql_fetchrow($result); ! return $row[0]; } *************** *** 114,134 **** message_die(GENERAL_MESSAGE, $message); break; ! case 'add': $sql = 'SELECT topic_title from '.TOPICS_TABLE.' where topic_id='.$topic_id; ! if (!$result = $db->sql_query($sql)) { message_die(GENERAL_MESSAGE, "Error getting topic title"); } ! $row = $db->sql_fetchrow($result); ! $topic_title = $row['topic_title']; ! $template->set_filenames(array("body" => "admin/news_import_add.tpl")); ! $newsCategories = new NewsCategoryCollection(); ! $newsCategories->init(); if( $newsCategories->getNumberCategories() > 0 ) --- 114,134 ---- message_die(GENERAL_MESSAGE, $message); break; ! case 'add': $sql = 'SELECT topic_title from '.TOPICS_TABLE.' where topic_id='.$topic_id; ! if (!$result = $db->sql_query($sql)) { message_die(GENERAL_MESSAGE, "Error getting topic title"); } ! $row = $db->sql_fetchrow($result); ! $topic_title = $row['topic_title']; ! $template->set_filenames(array("body" => "admin/news_import_add.tpl")); ! $newsCategories = new NewsCategoryCollection(); ! $newsCategories->init(); if( $newsCategories->getNumberCategories() > 0 ) *************** *** 143,153 **** } } ! ! ! $hidden_form_fields = '<input type="hidden" name="sid" value="' . $userdata['session_id'] . '" /><input type="hidden" name="mode" value="savenew">'; $hidden_form_fields .= '<input type="hidden" name="topic_id" value="'.$topic_id.'">'; $hidden_form_fields .= '<input type="hidden" name="post_id" value="'.$post_id.'">'; ! $template->assign_vars(array( 'S_NEWS_ACTION' => append_sid("admin_slash_import.php"), --- 143,153 ---- } } ! ! ! $hidden_form_fields = '<input type="hidden" name="sid" value="' . $userdata['session_id'] . '" /><input type="hidden" name="mode" value="savenew">'; $hidden_form_fields .= '<input type="hidden" name="topic_id" value="'.$topic_id.'">'; $hidden_form_fields .= '<input type="hidden" name="post_id" value="'.$post_id.'">'; ! $template->assign_vars(array( 'S_NEWS_ACTION' => append_sid("admin_slash_import.php"), *************** *** 159,180 **** 'S_HIDDEN_FIELDS' => $hidden_form_fields ) ! ); ! ! $template->pparse("body"); ! break; ! case 'savenew': $tmp_news = new TempNewsPost(); ! $news_post = new NewsPost(); $news_post->init($tmp_news, '', ''); $news_post->setNewsCategory($news_category); $news_post->setPostId($post_id); ! $news_post->setTopicId($topic_id); ! $news_post->addNews(); ! ! $message = $lang['Import_Updated'] . "<br /><br />" . sprintf( $lang['Click_return_newsimport'], "<a href=\"" . append_sid("admin_slash_import.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>"); message_die(GENERAL_MESSAGE, $message); break; --- 159,180 ---- 'S_HIDDEN_FIELDS' => $hidden_form_fields ) ! ); ! ! $template->pparse("body"); ! break; ! case 'savenew': $tmp_news = new TempNewsPost(); ! $news_post = new NewsPost(); $news_post->init($tmp_news, '', ''); $news_post->setNewsCategory($news_category); $news_post->setPostId($post_id); ! $news_post->setTopicId($topic_id); ! $news_post->addNews(); ! ! $message = $lang['Import_Updated'] . "<br /><br />" . sprintf( $lang['Click_return_newsimport'], "<a href=\"" . append_sid("admin_slash_import.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>"); message_die(GENERAL_MESSAGE, $message); break; *************** *** 184,188 **** else { ! $sql = 'SELECT '.TOPICS_TABLE.'.topic_id, '.TOPICS_TABLE.'.topic_title, '.TOPICS_TABLE.'.topic_last_post_id, '.POSTS_TABLE.'.post_id --- 184,188 ---- else { ! $sql = 'SELECT '.TOPICS_TABLE.'.topic_id, '.TOPICS_TABLE.'.topic_title, '.TOPICS_TABLE.'.topic_last_post_id, '.POSTS_TABLE.'.post_id *************** *** 194,209 **** '.TOPICS_TABLE.'.topic_first_post_id = '.POSTS_TABLE.'.post_id AND '.NEWS_PUBLISH_TABLE.'.topic_id IS NULL'; ! $num_items = 10; $sql .= ' ORDER BY '.TOPICS_TABLE.'.topic_time DESC LIMIT ' . $start . ', ' . $num_items; ! $result = $db->sql_query($sql); ! $template->set_filenames(array( "body" => "admin/news_import.tpl") ); ! while ($row = $db->sql_fetchrow($result)) { --- 194,209 ---- '.TOPICS_TABLE.'.topic_first_post_id = '.POSTS_TABLE.'.post_id AND '.NEWS_PUBLISH_TABLE.'.topic_id IS NULL'; ! $num_items = 10; $sql .= ' ORDER BY '.TOPICS_TABLE.'.topic_time DESC LIMIT ' . $start . ', ' . $num_items; ! $result = $db->sql_query($sql); ! $template->set_filenames(array( "body" => "admin/news_import.tpl") ); ! while ($row = $db->sql_fetchrow($result)) { *************** *** 213,217 **** ) ); ! } $topics_count = get_number_nonnews(); --- 213,217 ---- ) ); ! } $topics_count = get_number_nonnews(); *************** *** 231,238 **** "S_NEWS_ACTION" => append_sid("admin_slash_import.$phpEx")) ); ! $template->pparse('body'); } ! ?> --- 231,238 ---- "S_NEWS_ACTION" => append_sid("admin_slash_import.$phpEx")) ); ! $template->pparse('body'); } ! ?> \ No newline at end of file Index: admin_slash.php =================================================================== RCS file: /cvsroot/mxbb/mx_slash/admin/admin_slash.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** admin_slash.php 3 Nov 2003 22:11:53 -0000 1.4 --- admin_slash.php 8 Feb 2008 23:44:48 -0000 1.5 *************** *** 191,193 **** include('./page_footer_admin.'.$phpEx); ! ?> --- 191,193 ---- include('./page_footer_admin.'.$phpEx); ! ?> \ No newline at end of file Index: admin_slash_news.php =================================================================== RCS file: /cvsroot/mxbb/mx_slash/admin/admin_slash_news.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** admin_slash_news.php 30 Jan 2004 20:38:19 -0000 1.6 --- admin_slash_news.php 8 Feb 2008 23:44:50 -0000 1.7 *************** *** 76,81 **** $start ); ! ! $num_items = count($news_items); $topics_count = fetch_news_count( $news_id ); --- 76,81 ---- $start ); ! ! $num_items = count($news_items); $topics_count = fetch_news_count( $news_id ); *************** *** 105,114 **** case 'edit': $template->set_filenames(array("body" => "admin/news_manage_edit.tpl")); ! //$newsObj = new NewsPost($_GET['news_id']); ! $newsCategories = new NewsCategoryCollection(); $newsCategories->init(); ! if( $newsCategories->getNumberCategories() > 0 ) { --- 105,114 ---- case 'edit': $template->set_filenames(array("body" => "admin/news_manage_edit.tpl")); ! //$newsObj = new NewsPost($_GET['news_id']); ! $newsCategories = new NewsCategoryCollection(); $newsCategories->init(); ! if( $newsCategories->getNumberCategories() > 0 ) { *************** *** 121,125 **** $news_select = $newsCategories->getSelectList(); } ! $template->assign_vars(array( 'L_NEWS_CATEGORY' => $lang['Select_News_Category'], --- 121,125 ---- $news_select = $newsCategories->getSelectList(); } ! $template->assign_vars(array( 'L_NEWS_CATEGORY' => $lang['Select_News_Category'], *************** *** 128,135 **** )); } ! $hidden_form_fields = '<input type="hidden" name="sid" value="' . $userdata['session_id'] . '" />'; $hidden_form_fields .= '<input type="hidden" name="mode" value="save"><input type="hidden" name="news_id" value="'.$_GET['news_id'].'">'; ! $template->assign_vars(array( 'S_HIDDEN_FIELDS' => $hidden_form_fields, --- 128,135 ---- )); } ! $hidden_form_fields = '<input type="hidden" name="sid" value="' . $userdata['session_id'] . '" />'; $hidden_form_fields .= '<input type="hidden" name="mode" value="save"><input type="hidden" name="news_id" value="'.$_GET['news_id'].'">'; ! $template->assign_vars(array( 'S_HIDDEN_FIELDS' => $hidden_form_fields, *************** *** 140,144 **** ) ); ! $template->pparse("body"); break; --- 140,144 ---- ) ); ! $template->pparse("body"); break; *************** *** 146,158 **** $new_category = $_GET['news_category']; $story = $_GET['news_id']; ! $newsStory = new NewsPost($story); $newsStory->setNewsCategory($new_category); $newsStory->updateCategory(); ! $return_message = $lang['News_Update'] . "<br /><br />" . sprintf($lang['Click_return_newsadmin'], "<a href=\"" . append_sid("admin_slash_news.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>"); ! message_die(GENERAL_MESSAGE, $return_message); ! break; --- 146,158 ---- $new_category = $_GET['news_category']; $story = $_GET['news_id']; ! $newsStory = new NewsPost($story); $newsStory->setNewsCategory($new_category); $newsStory->updateCategory(); ! $return_message = $lang['News_Update'] . "<br /><br />" . sprintf($lang['Click_return_newsadmin'], "<a href=\"" . append_sid("admin_slash_news.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>"); ! message_die(GENERAL_MESSAGE, $return_message); ! break; *************** *** 164,168 **** "body" => "admin/news_manage.tpl") ); ! for ($i = 0; $i < $num_items; $i++) { --- 164,168 ---- "body" => "admin/news_manage.tpl") ); ! for ($i = 0; $i < $num_items; $i++) { *************** *** 174,178 **** ) ); ! } --- 174,178 ---- ) ); ! } *************** *** 192,199 **** "S_NEWS_ACTION" => append_sid("admin_slash_news.$phpEx")) ); ! $template->pparse('body'); } ! ?> --- 192,199 ---- "S_NEWS_ACTION" => append_sid("admin_slash_news.$phpEx")) ); ! $template->pparse('body'); } ! ?> \ No newline at end of file Index: admin_slash_mods.php =================================================================== RCS file: /cvsroot/mxbb/mx_slash/admin/admin_slash_mods.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** admin_slash_mods.php 30 Jan 2004 20:38:19 -0000 1.5 --- admin_slash_mods.php 8 Feb 2008 23:44:49 -0000 1.6 *************** *** 75,81 **** { case 'delete': ! NewsModerator::deleteModerator($mod_id); ! $message = $lang['News_Deleted'] . "<br /><br />" . sprintf($lang['Click_return_newsadmin'], "<a href=\"" . append_sid("admin_slash_news.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>"); --- 75,81 ---- { case 'delete': ! NewsModerator::deleteModerator($mod_id); ! $message = $lang['News_Deleted'] . "<br /><br />" . sprintf($lang['Click_return_newsadmin'], "<a href=\"" . append_sid("admin_slash_news.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>"); *************** *** 86,90 **** "body" => "admin/news_mods_add.tpl") ); ! $s_hidden_fields = '<input type="hidden" name="mode" value="savenew">'; $template->assign_vars(array( 'S_ACTION' => append_sid("admin_slash_mods.php"), --- 86,90 ---- "body" => "admin/news_mods_add.tpl") ); ! $s_hidden_fields = '<input type="hidden" name="mode" value="savenew">'; $template->assign_vars(array( 'S_ACTION' => append_sid("admin_slash_mods.php"), *************** *** 94,111 **** ) ); ! $template->pparse("body"); break; case 'savenew': $username = $_POST['username']; ! $mod = new NewsModerator(); $mod->NewsModeratorName($username); $mod->addModerator(); ! $message = $lang['Mod_Added'] . "<br /><br />" . sprintf($lang['Click_return_newsmod'], "<a href=\"" . append_sid("admin_slash_mods.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>"); message_die(GENERAL_MESSAGE, $message); ! default: break; --- 94,111 ---- ) ); ! $template->pparse("body"); break; case 'savenew': $username = $_POST['username']; ! $mod = new NewsModerator(); $mod->NewsModeratorName($username); $mod->addModerator(); ! $message = $lang['Mod_Added'] . "<br /><br />" . sprintf($lang['Click_return_newsmod'], "<a href=\"" . append_sid("admin_slash_mods.$phpEx") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_admin_index'], "<a href=\"" . append_sid("index.$phpEx?pane=right") . "\">", "</a>"); message_die(GENERAL_MESSAGE, $message); ! default: break; *************** *** 118,140 **** "body" => "admin/news_mods.tpl") ); ! $sql = 'select count(user_id) from '.NEWS_MODS_TABLE; $result = $db->sql_query($sql); $row = $db->sql_fetchrow($result); $num_mods = $row[0]; ! ! if ($num_mods < 1) { ! echo "No Mods added."; } ! else { $sql = 'select * from '.NEWS_MODS_TABLE; $result = $db->sql_query($sql); ! $mod_arr = array(); while ($row = $db->sql_fetchrow($result)) { ! $template->assign_block_vars('news_mods', array( 'MOD' => NewsModerator::get_username($row['user_id']), --- 118,140 ---- "body" => "admin/news_mods.tpl") ); ! $sql = 'select count(user_id) from '.NEWS_MODS_TABLE; $result = $db->sql_query($sql); $row = $db->sql_fetchrow($result); $num_mods = $row[0]; ! ! if ($num_mods < 1) { ! echo "No Mods added."; } ! else { $sql = 'select * from '.NEWS_MODS_TABLE; $result = $db->sql_query($sql); ! $mod_arr = array(); while ($row = $db->sql_fetchrow($result)) { ! $template->assign_block_vars('news_mods', array( 'MOD' => NewsModerator::get_username($row['user_id']), *************** *** 144,149 **** } } ! ! $template->assign_vars(array( --- 144,149 ---- } } ! ! $template->assign_vars(array( *************** *** 159,166 **** "S_NEWS_ACTION" => append_sid("admin_slash_mods.php?mode=add")) ); ! $template->pparse('body'); } ! ?> --- 159,166 ---- "S_NEWS_ACTION" => append_sid("admin_slash_mods.php?mode=add")) ); ! $template->pparse('body'); } ! ?> \ No newline at end of file |