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...> - 2007-07-15 20:03:18
|
Update of /cvsroot/mxbb/mx_smartor In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv9441 Modified Files: album.php album_lists.php Log Message: Index: album_lists.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_lists.php,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** album_lists.php 5 Jul 2007 06:00:21 -0000 1.19 --- album_lists.php 15 Jul 2007 20:03:11 -0000 1.20 *************** *** 15,18 **** --- 15,20 ---- else { + define( 'MXBB_MODULE', true ); + $is_block = TRUE; } Index: album.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** album.php 12 Jun 2007 21:58:22 -0000 1.15 --- album.php 15 Jul 2007 20:03:10 -0000 1.16 *************** *** 34,37 **** --- 34,38 ---- if( !defined('IN_PORTAL') || !is_object($mx_block)) { + define( 'MXBB_MODULE', true ); define('IN_PORTAL', true); $mx_root_path = '../../'; *************** *** 65,72 **** else { // // Read block Configuration - // $title = $mx_block->block_info['block_title']; $block_size = ( isset($block_size) && !empty($block_size) ? $block_size : '100%' ); --- 66,73 ---- else { + define( 'MXBB_MODULE', true ); // // Read block Configuration $title = $mx_block->block_info['block_title']; $block_size = ( isset($block_size) && !empty($block_size) ? $block_size : '100%' ); |
|
From: Jon O. <jon...@us...> - 2007-07-13 21:24:36
|
Update of /cvsroot/mxbb/mx_phpbb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv7780/includes Modified Files: forum_hack.php Log Message: Fix for phpBB MOD XS and Simple Subforum Index: forum_hack.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/includes/forum_hack.php,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** forum_hack.php 4 May 2007 19:01:28 -0000 1.22 --- forum_hack.php 13 Jul 2007 21:23:59 -0000 1.23 *************** *** 1367,1370 **** --- 1367,1372 ---- $code = str_replace('$is_auth_ary[$forum_data[$i][\'forum_id\']][\'auth_view\']', '$is_auth_ary[$forum_data[$i][\'forum_id\']][\'auth_view\'] && $mx_forum->phpbb2_auth_cat($forum_data[$i][\'forum_id\'])', $code); // For phpBB 2.0.21 and later $code = str_replace('$is_auth_ary[$forum_id][\'auth_view\']', '$is_auth_ary[$forum_id][\'auth_view\'] && $mx_forum->phpbb2_auth_cat($forum_data[$i][\'forum_id\'])', $code); // For phpBB 2.0.21 and later + // Hack for XS/Simple SubForum + $code = str_replace('$images = unserialize($item[\'FORUM_FOLDERS\'])', '$mx_forum->images = unserialize($item[\'FORUM_FOLDERS\'])', $code); break; |
|
From: Jon O. <jon...@us...> - 2007-07-13 18:23:11
|
Update of /cvsroot/mxbb/core/install/schemas In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2410 Modified Files: mysql_schema_install.sql Log Message: updated some errors Index: mysql_schema_install.sql =================================================================== RCS file: /cvsroot/mxbb/core/install/schemas/mysql_schema_install.sql,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** mysql_schema_install.sql 9 Jul 2007 21:57:25 -0000 1.37 --- mysql_schema_install.sql 13 Jul 2007 18:09:29 -0000 1.38 *************** *** 357,375 **** # Dumping data for table 'mx_table_menu_nav' # ! INSERT INTO mx_table_menu_nav VALUES("7", "4", "Split Block", "Split block Demo", "", "0", "10", "043673560e", "icon_dot.gif", "0", "2", "0", "0", "0"); ! INSERT INTO mx_table_menu_nav VALUES("8", "4", "Google Block", "Google Block Demo", "", "0", "20", "795e2489d7", "icon_dot.gif", "0", "21", "0", "0", "0"); ! INSERT INTO mx_table_menu_nav VALUES("9", "4", "phpBB Announcements (if any)", "phpBB Announcements Demo", "", "0", "30", "29add66982", "icon_dot.gif", "0", "18", "0", "0", "0"); ! INSERT INTO mx_table_menu_nav VALUES("10", "4", "IncludeX", "IncludeX Demo", "", "0", "40", "f7adaf1201", "icon_dot.gif", "0", "27", "0", "0", "0"); ! INSERT INTO mx_table_menu_nav VALUES("11", "4", "phpBB Polls (if any)", "phpBB Polls Demo", "", "0", "50", "a80fe73aee", "icon_dot.gif", "0", "6", "0", "0", "0"); ! INSERT INTO mx_table_menu_nav VALUES("12", "5", "phpBB TextBlock", "phpBB TextBlock Demo", "", "0", "10", "85d178caa8", "icon_dot.gif", "0", "1", "3", "0", "0"); ! INSERT INTO mx_table_menu_nav VALUES("13", "5", "WYSIWYG TextBlock", "WYSIWYG TextBlock Demo", "", "0", "20", "51e2ddb3a7", "icon_dot.gif", "0", "10", "3", "0", "0"); ! INSERT INTO mx_table_menu_nav VALUES("14", "5", "Custom TextBlock", "Custom TextBlock Demo", "", "0", "30", "22cb7a4f9f", "icon_dot.gif", "0", "9", "3", "0", "0"); ! INSERT INTO mx_table_menu_nav VALUES("15", "6", "Modules Info", "Information", "", "0", "10", "630ce0e7f0", "icon_dot.gif", "0", "30", "3", "0", "0"); ! INSERT INTO mx_table_menu_nav VALUES("5", "1", "phpBB Home", "", "http://www.phpbb.com", "0", "20", "a9ff189bf5", "icon_info.gif", "0", "0", "0", "0", "1"); ! INSERT INTO mx_table_menu_nav VALUES("3", "3", "Statistics", "Site Statistics", "", "0", "30", "98b16ec029", "icon_stats.gif", "0", "0", "4", "0", "0"); ! INSERT INTO mx_table_menu_nav VALUES("4", "1", "mxBB Portal Home", "", "http://www.mxbb.net", "0", "10", "1f171544ea", "icon_info.gif", "0", "0", "0", "0", "1"); ! INSERT INTO mx_table_menu_nav VALUES("6", "1", "Demo Pages", "On this page are several demo blocks located", "", "0", "30", "fb028ba583", "icon_dot.gif", "0", "0", "3", "0", "0"); ! INSERT INTO mx_table_menu_nav VALUES("1", "3", "Home", "Back to home", "", "0", "10", "bb51181967", "icon_home.gif", "0", "0", "1", "0", "0"); ! INSERT INTO mx_table_menu_nav VALUES("2", "3", "Forum", "phpBB Forum Index", "", "0", "20", "a33e401abc", "icon_forum.gif", "0", "0", "2", "0", "0"); --- 357,375 ---- # Dumping data for table 'mx_table_menu_nav' # ! INSERT INTO mx_table_menu_nav VALUES("7", "4", "Split Block", "Split block Demo", "", "0", "10", "043673560e", "icon_dot.gif", "", "", "0", "2", "0", "0", "0"); ! INSERT INTO mx_table_menu_nav VALUES("8", "4", "Google Block", "Google Block Demo", "", "0", "20", "795e2489d7", "icon_dot.gif", "", "", "0", "21", "0", "0", "0"); ! INSERT INTO mx_table_menu_nav VALUES("9", "4", "phpBB Announcements (if any)", "phpBB Announcements Demo", "", "0", "30", "29add66982", "icon_dot.gif", "", "", "0", "18", "0", "0", "0"); ! INSERT INTO mx_table_menu_nav VALUES("10", "4", "IncludeX", "IncludeX Demo", "", "0", "40", "f7adaf1201", "icon_dot.gif", "", "", "0", "27", "0", "0", "0"); ! INSERT INTO mx_table_menu_nav VALUES("11", "4", "phpBB Polls (if any)", "phpBB Polls Demo", "", "0", "50", "a80fe73aee", "icon_dot.gif", "", "", "0", "6", "0", "0", "0"); ! INSERT INTO mx_table_menu_nav VALUES("12", "5", "phpBB TextBlock", "phpBB TextBlock Demo", "", "0", "10", "85d178caa8", "icon_dot.gif", "", "", "0", "1", "3", "0", "0"); ! INSERT INTO mx_table_menu_nav VALUES("13", "5", "WYSIWYG TextBlock", "WYSIWYG TextBlock Demo", "", "0", "20", "51e2ddb3a7", "icon_dot.gif", "", "", "0", "10", "3", "0", "0"); ! INSERT INTO mx_table_menu_nav VALUES("14", "5", "Custom TextBlock", "Custom TextBlock Demo", "", "0", "30", "22cb7a4f9f", "icon_dot.gif", "", "", "0", "9", "3", "0", "0"); ! INSERT INTO mx_table_menu_nav VALUES("15", "6", "Modules Info", "Information", "", "0", "10", "630ce0e7f0", "icon_dot.gif", "", "", "0", "30", "3", "0", "0"); ! INSERT INTO mx_table_menu_nav VALUES("5", "1", "phpBB Home", "", "http://www.phpbb.com", "0", "20", "a9ff189bf5", "icon_info.gif", "", "", "0", "0", "0", "0", "1"); ! INSERT INTO mx_table_menu_nav VALUES("3", "3", "Statistics", "Site Statistics", "", "0", "30", "98b16ec029", "icon_stats.gif", "", "", "0", "0", "4", "0", "0"); ! INSERT INTO mx_table_menu_nav VALUES("4", "1", "mxBB Portal Home", "", "http://www.mxbb.net", "0", "10", "1f171544ea", "icon_info.gif", "", "", "0", "0", "0", "0", "1"); ! INSERT INTO mx_table_menu_nav VALUES("6", "1", "Demo Pages", "On this page are several demo blocks located", "", "0", "30", "fb028ba583", "icon_dot.gif", "", "", "0", "0", "3", "0", "0"); ! INSERT INTO mx_table_menu_nav VALUES("1", "3", "Home", "Back to home", "", "0", "10", "bb51181967", "icon_home.gif", "", "", "0", "0", "1", "0", "0"); ! INSERT INTO mx_table_menu_nav VALUES("2", "3", "Forum", "phpBB Forum Index", "", "0", "20", "a33e401abc", "icon_forum.gif", "", "", "0", "0", "2", "0", "0"); *************** *** 430,438 **** # Dumping data for table 'mx_table_page' # ! INSERT INTO mx_table_page VALUES("1", "Home", "This is the startpage", "icon_home.gif", "0", "0", "0", "-1", "-1", "", "", "", "0", "a:1:{i:0;s:0:\"\";}", "-1"); ! INSERT INTO mx_table_page VALUES("2", "Forum", "This is the phpBB Forum startpage", "icon_forum.gif", "0", "0", "0", "-1", "-1", "", "", "", "0", "a:1:{i:0;s:0:\"\";}", "1"); ! INSERT INTO mx_table_page VALUES("3", "Demo Page", "Block Demos", "icon_scate.gif", "0", "0", "0", "-1", "-1", "", "", "", "0", "a:1:{i:0;s:0:\"\";}", "-1"); ! INSERT INTO mx_table_page VALUES("4", "Sitestats", "Sitestats page", "icon_stats.gif", "0", "0", "0", "-1", "-1", "", "", "", "0", "a:1:{i:0;s:0:\"\";}", "-1"); ! INSERT INTO mx_table_page VALUES("5", "Site Search", "Site Search page", "icon_search.gif", "0", "0", "0", "-1", "-1", "", "", "", "0", "a:1:{i:0;s:0:\"\";}", "-1"); --- 430,438 ---- # Dumping data for table 'mx_table_page' # ! INSERT INTO mx_table_page VALUES("1", "Home", "This is the startpage", "icon_home.gif", "", "0", "0", "0", "-1", "-1", "", "", "", "0", "a:1:{i:0;s:0:\"\";}", "-1"); ! INSERT INTO mx_table_page VALUES("2", "Forum", "This is the phpBB Forum startpage", "icon_forum.gif", "", "0", "0", "0", "-1", "-1", "", "", "", "0", "a:1:{i:0;s:0:\"\";}", "1"); ! INSERT INTO mx_table_page VALUES("3", "Demo Page", "Block Demos", "icon_scate.gif", "", "0", "0", "0", "-1", "-1", "", "", "", "0", "a:1:{i:0;s:0:\"\";}", "-1"); ! INSERT INTO mx_table_page VALUES("4", "Sitestats", "Sitestats page", "icon_stats.gif", "", "0", "0", "0", "-1", "-1", "", "", "", "0", "a:1:{i:0;s:0:\"\";}", "-1"); ! INSERT INTO mx_table_page VALUES("5", "Site Search", "Site Search page", "icon_search.gif", "", "0", "0", "0", "-1", "-1", "", "", "", "0", "a:1:{i:0;s:0:\"\";}", "-1"); |
|
From: Jon O. <jon...@us...> - 2007-07-13 17:18:25
|
Update of /cvsroot/mxbb/core/install/schemas In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv20557 Added Files: mysql_schema_upgrade_to_2.8.1.sql postgres_schema_install.sql Log Message: added 2.8.1 schema added postgreSQL schema --- NEW FILE: postgres_schema_install.sql --- -- -- mxBB-Portal - PostgreSQL Schema - version 2.8.0 -- -- $Id: postgres_schema_install.sql,v 1.1 2007/07/13 17:18:19 jonohlsson Exp $ -- -- -------------------------------------------------------- -- -- Table structure for table `mx_block` -- DROP TABLE IF EXISTS mx_table_block CASCADE; CREATE TABLE "mx_table_block" ( "block_id" SERIAL, "block_title" VARCHAR(150) NULL DEFAULT NULL, "block_desc" TEXT NULL DEFAULT NULL, "function_id" INTEGER NULL DEFAULT NULL, "auth_view" SMALLINT NOT NULL DEFAULT '0', "auth_edit" SMALLINT NOT NULL DEFAULT '0', "auth_delete" SMALLINT NOT NULL DEFAULT '0', "auth_view_group" VARCHAR(255) NOT NULL DEFAULT '0', "auth_edit_group" VARCHAR(255) NOT NULL DEFAULT '0', "auth_delete_group" VARCHAR(255) NOT NULL DEFAULT '0', "auth_moderator_group" VARCHAR(255) NOT NULL DEFAULT '0', "show_title" SMALLINT NOT NULL DEFAULT '1', "show_block" SMALLINT NOT NULL DEFAULT '1', "show_stats" SMALLINT NOT NULL DEFAULT '0', "block_time" VARCHAR(255) NOT NULL DEFAULT '', "block_editor_id" INTEGER NOT NULL DEFAULT '0', CONSTRAINT mx_table_block_pkey PRIMARY KEY ("block_id") ); -- -- Dumping data for table 'mx_table_block' -- INSERT INTO "mx_table_block" VALUES (1,'phpBB TextBlock','This is a Demo Block',24,0,5,0,'0','0','0','0',1,1,1,'1125865999',2); INSERT INTO "mx_table_block" VALUES (2,'Split Block','This is a Demo Block',11,0,5,0,'0','0','0','0',1,1,0,'1144407740',2); INSERT INTO "mx_table_block" VALUES (3,'Site Log','This is a Demo Block',10,0,5,0,'0','0','0','0',1,1,0,'1125841954',2); INSERT INTO "mx_table_block" VALUES (4,'Dynamic Block','This is a Demo Block',3,0,5,0,'0','0','0','0',1,1,0,'1125841802',2); INSERT INTO "mx_table_block" VALUES (6,'Poll','This is a Demo Block',14,0,5,0,'0','0','0','0',1,1,0,'1125841942',2); INSERT INTO "mx_table_block" VALUES (7,'Language Select','This is a Demo Block',6,0,5,0,'0','0','0','0',1,1,0,'1125841887',2); INSERT INTO "mx_table_block" VALUES (8,'Navigation Menu','This is a vertical Navigation Menu Demo Block',51,0,5,0,'0','0','0','0',1,1,0,'1126034018',2); INSERT INTO "mx_table_block" VALUES (9,'mxBB TextBlock','This is a Demo Block',22,0,5,0,'0','0','0','0',1,1,1,'1144408393',2); INSERT INTO "mx_table_block" VALUES (10,'WYSIWYG TextBlock','This is a Demo Block',23,0,5,0,'0','0','0','0',1,1,1,'1144408349',2); INSERT INTO "mx_table_block" VALUES (13,'Login','This is a Demo Block',7,9,5,0,'0','0','0','0',1,1,0,'1125867452',2); INSERT INTO "mx_table_block" VALUES (14,'Theme Select','This is a Demo Block',12,0,5,0,'0','0','0','0',1,1,0,'1125841964',2); INSERT INTO "mx_table_block" VALUES (15,'Site Search','Site Search',15,0,5,0,'0','0','0','0',1,1,0,'1125841954',2); INSERT INTO "mx_table_block" VALUES (16,'Last Message Post','This is a Demo Block',31,0,5,0,'0','0','0','0',1,1,0,'1125842159',2); INSERT INTO "mx_table_block" VALUES (18,'Announcements','This is a Demo Block',2,0,5,0,'0','0','0','0',1,1,0,'1125868467',2); INSERT INTO "mx_table_block" VALUES (19,'Who is Online?','This is a Demo Block',13,0,5,0,'0','0','0','0',1,1,0,'1125841983',2); INSERT INTO "mx_table_block" VALUES (21,'Google','This is a Demo Block',4,0,5,0,'0','0','0','0',1,1,0,'1126033253',2); INSERT INTO "mx_table_block" VALUES (24,'Forum','This is a Demo Block',8,0,5,0,'0','0','0','0',1,1,0,'1125841817',2); INSERT INTO "mx_table_block" VALUES (25,'Navigation Menu','This is a horizontal Navigation Menu Demo Block',51,0,5,0,'0','0','0','0',1,1,0,'1144406422',2); INSERT INTO "mx_table_block" VALUES (26,'Statistics','This is a Demo Block',41,0,5,0,'0','0','0','0',1,1,0,'1125842177',2); INSERT INTO "mx_table_block" VALUES (27,'IncludeX','This is a Demo Block',5,0,5,0,'0','0','0','0',1,1,0,'1125841878',2); INSERT INTO "mx_table_block" VALUES (28,'Welcome','This is the firstpage welcome block',24,0,5,0,'0','0','0','0',1,1,1,'1144408417',2); INSERT INTO "mx_table_block" VALUES (29,'Demo Pages','Introduction',24,0,5,0,'0','0','0','0',1,1,1,'1144407996',2); INSERT INTO "mx_table_block" VALUES (30,'Modules Info','Introduction',24,0,5,0,'0','0','0','0',1,1,1,'1144407795',2); -- -- Table structure for table 'mx_table_block_system_parameter' -- DROP TABLE IF EXISTS mx_table_block_system_parameter CASCADE; CREATE TABLE "mx_block_system_parameter" ( "block_id" INTEGER NOT NULL DEFAULT '0', "parameter_id" INTEGER NOT NULL DEFAULT '0', "parameter_value" TEXT NULL DEFAULT NULL, "parameter_opt" TEXT NULL DEFAULT NULL, "sub_id" BIGINT NOT NULL DEFAULT '0', CONSTRAINT mx_table_block_system_parameter_pkey PRIMARY KEY ("block_id", "parameter_id", "sub_id") ); CREATE INDEX "mx_table_block_system_parameter_sub_id" ON "mx_table_block_system_parameter" ("sub_id"); CREATE INDEX "mx_table_block_system_parameter_parameter_id" ON "mx_table_block_system_parameter" ("parameter_id"); CREATE INDEX "mx_table_block_system_parameter_block_id" ON "mx_table_block_system_parameter" ("block_id"); INSERT INTO "mx_table_block_system_parameter" VALUES (1,15,'This is a [i:d4ee1ca70a]standard [/i:d4ee1ca70a]TextBlock, featuring BBCode, HTML, and smilies, as defined by the phpBB config settings. Try it out! (to edit use the top right edit button)','d4ee1ca70a',0); INSERT INTO "mx_table_block_system_parameter" VALUES (2,60,'16,13,9','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (2,61,'33%, 33%,*','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (2,62,'4','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (3,91,'3 months','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (3,92,'5','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (4,80,'29','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (6,36,'',NULL,0); INSERT INTO "mx_table_block_system_parameter" VALUES (6,13,'0',NULL,0); INSERT INTO "mx_table_block_system_parameter" VALUES (8,66,'','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (8,93,'Classic','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (8,63,'vertical','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (8,64,'TRUE','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (25,66,'','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (25,93,'Classic','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (25,63,'horizontal','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (25,64,'TRUE','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (9,50,'This is basically a [i:021a122fa6]standard[/i:021a122fa6] TextBlock, but you may configure settings for bbcodes, html and smilies for [i:021a122fa6]this[/i:021a122fa6] block. Try it out! (to edit use the top right edit button)','021a122fa6',0); INSERT INTO "mx_table_block_system_parameter" VALUES (9,51,'none','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (9,52,'TRUE','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (9,53,'TRUE','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (9,56,'TRUE','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (9,54,'TRUE','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (9,57,'TRUE','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (9,55,'b,i,u,img','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (10,16,'<table width="100%" cellpadding="2" border="0"><tbody><tr><td valign="top" align="left" class="row2"><span class="genmed"><strong>Mon</strong></span></td><td class="row2"><span class="gensmall"><!-- MANDAG -->Busy with <em>this and that</em></span></td></tr><tr><td valign="top" align="left" class="row1"><span class="genmed"><strong>Tue</strong></span></td><td class="row1"><span class="gensmall"><!-- TISDAG-->Not so busy</span></td></tr><tr><td valign="top" align="left" class="row2"><span class="genmed"><strong>Wen</strong></span></td><td class="row2"><span class="gensmall"><!-- ONSDAG-->Very busy</span></td></tr><tr><td valign="top" align="left" class="row1"><span class="genmed"><strong>Thu</strong></span></td><td class="row1"><span class="gensmall"><!-- TORSDAG-->Lazy</span></td></tr><tr><td valign="top" align="left" class="row2"><span class="genmed"><strong>Fri</strong></span></td><td class="row2"><span class="gensmall"><!-- FREDAG-->Resting...</span></td></tr></tbody></table><p>This basic table structure is a nice demonstration in which the wysiwyg editor comes in handy!</p><p>Try it out! <br />(to edit use the top right edit button)</p><p>Note: The wysiwyg editor is a 3rd party product (tinyMCE), and must be installed separately. Visit <a target="_blank" href="http://www.moxiecode.com">Moxiecode Systems AB</a> to get the software and place the \'tinymce\' folder in the root/modules/mx_shared directory. </p>','0',0); INSERT INTO "mx_table_block_system_parameter" VALUES (16,17,'5',NULL,0); INSERT INTO "mx_table_block_system_parameter" VALUES (16,18,'TRUE',NULL,0); INSERT INTO "mx_table_block_system_parameter" VALUES (16,19,'30',NULL,0); INSERT INTO "mx_table_block_system_parameter" VALUES (16,20,'_self',NULL,0); INSERT INTO "mx_table_block_system_parameter" VALUES (16,21,'left',NULL,0); INSERT INTO "mx_table_block_system_parameter" VALUES (16,22,'TRUE',NULL,0); INSERT INTO "mx_table_block_system_parameter" VALUES (16,37,'',NULL,0); INSERT INTO "mx_table_block_system_parameter" VALUES (16,38,'FALSE',NULL,0); INSERT INTO "mx_table_block_system_parameter" VALUES (16,39,'FALSE',NULL,0); INSERT INTO "mx_table_block_system_parameter" VALUES (16,40,'TRUE',NULL,0); INSERT INTO "mx_table_block_system_parameter" VALUES (16,95,'5',NULL,0); INSERT INTO "mx_table_block_system_parameter" VALUES (18,1,'3','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (18,2,'10','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (18,3,'TRUE','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (18,4,'TRUE','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (18,5,'FALSE','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (18,7,'thumb_news.gif','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (18,8,'thumb_globe.gif','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (18,9,'thumb_globe.gif','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (18,6,'TRUE','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (18,10,'thumb_globe.gif','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (18,11,'','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (27,70,'x_iframe','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (27,71,'/docs','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (27,72,'325','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (27,73,'','',0); INSERT INTO "mx_table_block_system_parameter" VALUES (28,15,'[b:31f05e4fa3]mxBB-Portal[/b:31f05e4fa3] is a fully modular portal and CMS for phpBB, featuring dynamic pages, blocks, themes, and more by means of a powerful yet flexible AdminCP. It works without touching phpBB by using integrated features and functions. mxBB-Portal requires phpBB to run, and currently supports the mySQL and postgreSQL databases, with planned support for MS-SQL and other DBMSs. mxBB-Portal is the classical phpBB portal add-on, improved and enhanced for every phpBB version released since 2001.\r\n\r\n[i:31f05e4fa3]Welcome, and thanks for using the mxBB-Portal![/i:31f05e4fa3] \r\n\r\n :lol:','31f05e4fa3',0); INSERT INTO "mx_table_block_system_parameter" VALUES (29,15,'On this page we [i:621ded23c6]demonstrate [/i:621ded23c6]a few basic portal blocks (not already present on this or other pages) - to get you started. Please, try out the top links.','621ded23c6',0); INSERT INTO "mx_table_block_system_parameter" VALUES (30,15,'You may enrich your portal with addon modules - for specific functionality:\r\n\r\n- Download manager\r\n- Picture Album\r\n- Calendar Tools\r\n- Knowledge Base\r\n- Links Gallery\r\n- Games\r\n\r\nand many more. Be sure to visit www.mxbb.net for latest available modules!','eacbc1f61a',0); -- -- Table structure for table 'mx_table_column' -- DROP TABLE IF EXISTS mx_table_column CASCADE; CREATE TABLE "mx_table_column" ( "column_id" SERIAL, "column_title" VARCHAR(100) NULL DEFAULT NULL, "column_order" INTEGER NOT NULL DEFAULT '0', "bbcode_uid" VARCHAR(10) NULL DEFAULT NULL, "column_size" VARCHAR(5) NULL DEFAULT '100%', "page_id" SMALLINT NOT NULL DEFAULT '0', CONSTRAINT mx_table_column_pkey PRIMARY KEY ("column_id") ); CREATE INDEX "mx_table_column_cat_order" ON "mx_table_column" ("column_order"); -- -- Dumping data for table 'mx_table_column' -- INSERT INTO "mx_table_column" VALUES (8,'Main',50,NULL,'100%',4); INSERT INTO "mx_table_column" VALUES (2,'Main',35,NULL,'100%',1); INSERT INTO "mx_table_column" VALUES (7,'Left',40,NULL,'200',4); INSERT INTO "mx_table_column" VALUES (6,'Main',50,NULL,'100%',3); INSERT INTO "mx_table_column" VALUES (5,'Left',40,NULL,'200',3); INSERT INTO "mx_table_column" VALUES (4,'Main',50,NULL,'100%',2); INSERT INTO "mx_table_column" VALUES (1,'Left',25,NULL,'200',1); INSERT INTO "mx_table_column" VALUES (3,'Left',40,NULL,'200',2); INSERT INTO "mx_table_column" VALUES (10,'Main',50,NULL,'100%',5); INSERT INTO "mx_table_column" VALUES (9,'Left',40,NULL,'200',5); -- -- Table structure for table 'mx_table_column_block' -- DROP TABLE IF EXISTS mx_table_column_block CASCADE; CREATE TABLE "mx_table_column_block" ( "column_id" SMALLINT NOT NULL DEFAULT '0', "block_id" SMALLINT NOT NULL DEFAULT '0', "block_order" SMALLINT NOT NULL DEFAULT '0', CONSTRAINT mx_table_column_block_pkey PRIMARY KEY ("column_id", "block_id") ); -- -- Dumping data for table 'mx_table_column_block' -- INSERT INTO "mx_table_column_block" VALUES (5, 14, 40); INSERT INTO "mx_table_column_block" VALUES (4, 19, 20); INSERT INTO "mx_table_column_block" VALUES (8, 19, 20); INSERT INTO "mx_table_column_block" VALUES (4, 24, 10); INSERT INTO "mx_table_column_block" VALUES (1, 13, 30); INSERT INTO "mx_table_column_block" VALUES (3, 16, 20); INSERT INTO "mx_table_column_block" VALUES (5, 3, 30); INSERT INTO "mx_table_column_block" VALUES (2, 19, 20); INSERT INTO "mx_table_column_block" VALUES (2, 28, 10); INSERT INTO "mx_table_column_block" VALUES (1, 8, 10); INSERT INTO "mx_table_column_block" VALUES (6, 25, 10); INSERT INTO "mx_table_column_block" VALUES (8, 26, 10); INSERT INTO "mx_table_column_block" VALUES (7, 8, 10); INSERT INTO "mx_table_column_block" VALUES (6, 4, 20); INSERT INTO "mx_table_column_block" VALUES (5, 8, 10); INSERT INTO "mx_table_column_block" VALUES (6, 19, 30); INSERT INTO "mx_table_column_block" VALUES (5, 7, 20); INSERT INTO "mx_table_column_block" VALUES (3, 13, 30); INSERT INTO "mx_table_column_block" VALUES (3, 8, 10); INSERT INTO "mx_table_column_block" VALUES (10, 15, 10); INSERT INTO "mx_table_column_block" VALUES (9, 8, 10); -- -- Table structure for table 'mx_table_column_templates' -- DROP TABLE IF EXISTS mx_table_column_templates CASCADE; CREATE TABLE "mx_table_column_templates" ( "column_template_id" INTEGER NOT NULL , "column_title" VARCHAR(100) NULL DEFAULT '0', "column_order" INTEGER NOT NULL DEFAULT '0', "column_size" VARCHAR(5) NULL DEFAULT '0', "page_template_id" SMALLINT NOT NULL DEFAULT '0', CONSTRAINT mx_table_column_templates_pkey PRIMARY KEY (column_template_id) ); CREATE INDEX "mx_table_column_templates_cat_order" ON "mx_table_column_templates" ("column_order"); -- -- Dumping data for table 'mx_table_column_templates' -- INSERT INTO "mx_table_column_templates" VALUES (1,'Left',40,'200',2); INSERT INTO "mx_table_column_templates" VALUES (2,'Main',50,'100%',2); INSERT INTO "mx_table_column_templates" VALUES (3,'Main',10,'100%',3); INSERT INTO "mx_table_column_templates" VALUES (4,'Right',20,'200',3); INSERT INTO "mx_table_column_templates" VALUES (5,'Left',10,'180',4); INSERT INTO "mx_table_column_templates" VALUES (6,'Middle',20,'100%',4); INSERT INTO "mx_table_column_templates" VALUES (7,'Right',30,'180',4); -- -- Table structure for table 'mx_table_function' -- DROP TABLE IF EXISTS mx_table_function CASCADE; CREATE TABLE "mx_table_function" ( "function_id" SERIAL, "module_id" INTEGER NOT NULL DEFAULT '0', "function_name" VARCHAR(150) NULL DEFAULT NULL, "function_desc" TEXT NULL DEFAULT NULL, "function_file" VARCHAR(255) NULL DEFAULT NULL, "function_admin" VARCHAR(255) NULL DEFAULT NULL, CONSTRAINT mx_table_function_pkey PRIMARY KEY ("function_id") ); CREATE INDEX "mx_table_function_module_id" ON "mx_table_function" ("module_id"); -- -- Dumping data for table 'mx_table_function' -- INSERT INTO "mx_table_function" VALUES (8, 30,'phpBB Index','phpBB Index Block','mx_forum.php',''); INSERT INTO "mx_table_function" VALUES (51, 50,'Navigation Menu','Site Navigation Menu Blocks','mx_menu_nav.php',''); INSERT INTO "mx_table_function" VALUES (14, 30,'mxBB Polls','mxBB Polls','mx_poll.php',''); INSERT INTO "mx_table_function" VALUES (6, 10,'Language Select','Language Select Block','mx_language.php',''); INSERT INTO "mx_table_function" VALUES (7, 10,'Login','Login Block','mx_login.php',''); INSERT INTO "mx_table_function" VALUES (12, 10,'Theme Select','Theme Select Block','mx_theme.php',''); INSERT INTO "mx_table_function" VALUES (4, 10,'Google Search','Google Search Block','mx_google.php',''); INSERT INTO "mx_table_function" VALUES (2, 30,'phpBB Announcements','phpBB Announcements Block','mx_announce.php',''); INSERT INTO "mx_table_function" VALUES (13, 10,'Who is Online','Who is Online Block','mx_online.php',''); INSERT INTO "mx_table_function" VALUES (11, 10,'Split Block','Split Block Function - a block that puts subblocks side by side','mx_multiple_blocks.php',''); INSERT INTO "mx_table_function" VALUES (24, 20,'TextBlock (phpBB)','BBcodes, html and smilies - defined by phpBB config','mx_textblock_bbcode.php',''); INSERT INTO "mx_table_function" VALUES (23, 20,'TextBlock (Html/wysiwyg)','Plain html textblock, or featuring a wysiwyg editor','mx_textblock_html.php',''); INSERT INTO "mx_table_function" VALUES (22, 20,'TextBlock (Customized)','Textblock, featuring block defined settings','mx_textblock_multi.php',''); INSERT INTO "mx_table_function" VALUES (31, 30,'Last Posts','phpBB Last Posts Function','mx_last_msg.php',''); INSERT INTO "mx_table_function" VALUES (41, 30,'Statistics','Site Statistics Function','mx_statistics.php',''); INSERT INTO "mx_table_function" VALUES (5, 10,'IncludeX','Include a iframe, site, multimedia or file','mx_includex.php',''); INSERT INTO "mx_table_function" VALUES (3, 10,'DynamicBlock','Dynamic block, defined by its block_id','mx_dynamic.php',''); INSERT INTO "mx_table_function" VALUES (10, 10,'Site Log','Site Log monitor','mx_site_log.php',''); INSERT INTO "mx_table_function" VALUES (15, 10,'Site Search','Site Search Block','mx_search.php',''); -- -- Table structure for table 'mx_table_menu_categories' -- DROP TABLE IF EXISTS mx_table_menu_categories CASCADE; CREATE TABLE "mx_table_menu_categories" ( "block_id" INTEGER NOT NULL DEFAULT '1', "cat_id" SERIAL, "cat_title" VARCHAR(100) NULL DEFAULT NULL, "cat_order" INTEGER NOT NULL DEFAULT '0', "bbcode_uid" VARCHAR(10) NULL DEFAULT NULL, "cat_desc" TEXT NULL DEFAULT NULL, "cat_show" INTEGER NOT NULL DEFAULT '0', "cat_url" INTEGER NULL DEFAULT '0', "cat_target" SMALLINT NOT NULL DEFAULT '0', CONSTRAINT mx_table_menu_categories_pkey PRIMARY KEY ("cat_id") ); CREATE INDEX "mx_table_menu_categories_cat_order" ON "mx_table_menu_categories" ("cat_order"); -- -- Dumping data for table 'mx_table_menu_categories' -- INSERT INTO "mx_table_menu_categories" VALUES (8,1,'Resources',20,'c1affc0aaa','',0,0,0); INSERT INTO "mx_table_menu_categories" VALUES (8,3,'Home',10,'eab7a16ce5','',1,1,0); INSERT INTO "mx_table_menu_categories" VALUES (25,4,'Core Blocks',40,'a5abf5b8c4','Demo Core blocks',1,0,0); INSERT INTO "mx_table_menu_categories" VALUES (25,5,'TextBlocks',50,'fa33545edc','Demo TextBlocks',0,0,0); INSERT INTO "mx_table_menu_categories" VALUES (25,6,'Modules',60,'7dafcede48','Modules Info',0,0,0); SELECT setval('public."mx_menu_categories_cat_id_seq"', max("cat_id") ) FROM "mx_table_menu_categories"; -- -- Table structure for table 'mx_table_menu_nav' -- DROP TABLE IF EXISTS mx_table_menu_nav CASCADE; CREATE TABLE "mx_table_menu_nav" ( "menu_id" SERIAL, "cat_id" INTEGER NOT NULL DEFAULT '0', "menu_name" VARCHAR(150) NULL DEFAULT NULL, "menu_desc" TEXT NULL DEFAULT NULL, "menu_links" VARCHAR(255) NULL DEFAULT NULL, "auth_view" SMALLINT NOT NULL DEFAULT '0', "menu_order" INTEGER NULL DEFAULT '0', "bbcode_uid" VARCHAR(10) NULL DEFAULT NULL, "menu_icon" VARCHAR(255) NULL DEFAULT NULL, "menu_alt_icon" VARCHAR(255) NULL DEFAULT NULL, "menu_alt_icon_hot" VARCHAR(255) NULL DEFAULT NULL, "function_id" INTEGER NULL DEFAULT '0', "block_id" SMALLINT NOT NULL DEFAULT '0', "page_id" INTEGER NULL DEFAULT '0', "auth_view_group" SMALLINT NOT NULL DEFAULT '0', "link_target" SMALLINT NOT NULL DEFAULT '0', CONSTRAINT mx_table_menu_nav_pkey PRIMARY KEY ("menu_id") ); CREATE INDEX "mx_table_menu_nav_cat_id" ON "mx_table_menu_nav" ("cat_id"); -- -- Dumping data for table 'mx_table_menu_nav' -- INSERT INTO "mx_table_menu_nav" VALUES (7,4,'Split Block','Split block Demo','',0,10,'043673560e','icon_dot.gif',0,2,0,0,0); INSERT INTO "mx_table_menu_nav" VALUES (8,4,'Google Block','Google Block Demo','',0,20,'795e2489d7','icon_dot.gif',0,21,0,0,0); INSERT INTO "mx_table_menu_nav" VALUES (9,4,'phpBB Announcements (if any)','phpBB Announcements Demo','',0,30,'29add66982','icon_dot.gif',0,18,0,0,0); INSERT INTO "mx_table_menu_nav" VALUES (10,4,'IncludeX','IncludeX Demo','',0,40,'f7adaf1201','icon_dot.gif',0,27,0,0,0); INSERT INTO "mx_table_menu_nav" VALUES (11,4,'phpBB Polls (if any)','phpBB Polls Demo','',0,50,'a80fe73aee','icon_dot.gif',0,6,0,0,0); INSERT INTO "mx_table_menu_nav" VALUES (12,5,'phpBB TextBlock','phpBB TextBlock Demo','',0,10,'85d178caa8','icon_dot.gif',0,1,3,0,0); INSERT INTO "mx_table_menu_nav" VALUES (13,5,'WYSIWYG TextBlock','WYSIWYG TextBlock Demo','',0,20,'51e2ddb3a7','icon_dot.gif',0,10,3,0,0); INSERT INTO "mx_table_menu_nav" VALUES (14,5,'Custom TextBlock','Custom TextBlock Demo','',0,30,'22cb7a4f9f','icon_dot.gif',0,9,3,0,0); INSERT INTO "mx_table_menu_nav" VALUES (15,6,'Modules Info','Information','',0,10,'630ce0e7f0','icon_dot.gif',0,30,3,0,0); INSERT INTO "mx_table_menu_nav" VALUES (5,1,'phpBB Home','','http://www.phpbb.com',0,20,'a9ff189bf5','icon_info.gif',0,0,0,0,1); INSERT INTO "mx_table_menu_nav" VALUES (3,3,'Statistics','Site Statistics','',0,30,'98b16ec029','icon_stats.gif',0,0,4,0,0); INSERT INTO "mx_table_menu_nav" VALUES (4,1,'mxBB Portal Home','','http://www.mxbb.net',0,10,'1f171544ea','icon_info.gif',0,0,0,0,1); INSERT INTO "mx_table_menu_nav" VALUES (6,1,'Demo Pages','On this page are several demo blocks located','',0,30,'fb028ba583','icon_dot.gif',0,0,3,0,0); INSERT INTO "mx_table_menu_nav" VALUES (1,3,'Home','Back to home','',0,10,'bb51181967','icon_home.gif',0,0,1,0,0); INSERT INTO "mx_table_menu_nav" VALUES (2,3,'Forum','phpBB Forum Index','',0,20,'a33e401abc','icon_forum.gif',0,0,2,0,0); -- -- Table structure for table 'mx_table_module' -- DROP TABLE IF EXISTS mx_table_module CASCADE; CREATE TABLE "mx_table_module" ( "module_id" SERIAL, "module_name" VARCHAR(150) NULL DEFAULT NULL, "module_path" VARCHAR(255) NULL DEFAULT NULL, "module_desc" TEXT NULL DEFAULT NULL, "module_include_admin" CHAR(1) NULL DEFAULT '0', "module_version" VARCHAR(255) NULL DEFAULT NULL, "module_copy" TEXT NULL DEFAULT NULL, CONSTRAINT mx_table_module_pkey PRIMARY KEY ("module_id") ); -- -- Dumping data for table 'mx_table_module' -- INSERT INTO "mx_table_module" VALUES (10,'Core Blocks','modules/mx_coreblocks/','mxBB Portal Core Blocks','','mxBB Core Module','Original mxBB <i>Core Blocks</i> module by <a href="http://www.mxbb.net" target="_blank">The mxBB Development Team</a>'); INSERT INTO "mx_table_module" VALUES (20,'Textblocks','modules/mx_textblocks/','mxBB Portal Textblocks','','mxBB Core Module','Original mxBB <i>Textblocks</i> module by <a href="http://www.mxbb.net" target="_blank">Jon</a>'); INSERT INTO "mx_table_module" VALUES (30,'phpBB2 Blocks','modules/mx_phpbb2blocks/','mxBB Portal phpBB2 blocks','','mxBB Core Module','Original mxBB <i>phpBB2 Blocks</i> module by <a href="http://www.mxbb.net" target="_blank"> The mxBB Development Team</a>'); INSERT INTO "mx_table_module" VALUES (50,'Navigation Menu','modules/mx_navmenu/','mxBB Portal Site Navigation','','mxBB Core Module','Original mxBB <i>Navigation Menu</i> module by <a href="http://www.mxbb.net" target="_blank">Jon</a>'); -- -- Table structure for table 'mx_table_page' -- DROP TABLE IF EXISTS mx_table_page CASCADE; CREATE TABLE "mx_table_page" ( "page_id" SERIAL, "page_name" VARCHAR(255) NULL DEFAULT NULL, "page_desc" VARCHAR(255) NULL DEFAULT NULL, "page_icon" VARCHAR(255) NULL DEFAULT NULL, "page_alt_icon" VARCHAR(255) NULL DEFAULT NULL, "auth_view" SMALLINT NOT NULL DEFAULT '0', "auth_view_group" VARCHAR(255) NOT NULL DEFAULT '0', "auth_moderator_group" VARCHAR(255) NOT NULL DEFAULT '0', "default_style" SMALLINT NOT NULL DEFAULT '-1', "override_user_style" SMALLINT NOT NULL DEFAULT '-1', "page_header" VARCHAR(255) NULL DEFAULT '', "page_footer" VARCHAR(255) NULL DEFAULT '', "page_main_layout" VARCHAR(255) NULL DEFAULT '', "navigation_block" INTEGER NOT NULL DEFAULT '0', "ip_filter" VARCHAR(255) NOT NULL DEFAULT '', "phpbb_stats" SMALLINT NOT NULL DEFAULT '-1', CONSTRAINT mx_table_page_pkey PRIMARY KEY ("page_id") ); -- -- Dumping data for table 'mx_table_page' -- INSERT INTO "mx_table_page" VALUES (1,'Home','This is the startpage','icon_home.gif',0,'0','0',-1,-1,'','','',0,'a:1:{i:0;s:0:"";}',-1); INSERT INTO "mx_table_page" VALUES (2,'Forum','This is the phpBB Forum startpage','icon_forum.gif',0,'0','0',-1,-1,'','','',0,'a:1:{i:0;s:0:"";}',1); INSERT INTO "mx_table_page" VALUES (3,'Demo Page','Block Demos','icon_settings.gif',0,'0','0',-1,-1,'','','',0,'a:1:{i:0;s:0:"";}',-1); INSERT INTO "mx_table_page" VALUES (4,'Sitestats','Sitestats page','icon_statistics.gif',0,'0','0',-1,-1,'','','',0,'a:1:{i:0;s:0:"";}',-1); INSERT INTO "mx_table_page" VALUES (5,'Site Search','Site Search page','icon_search.gif',0,'0','0',-1,-1,'','','',0,'a:1:{i:0;s:0:"";}',-1); -- -- Table structure for table 'mx_table_page_templates' -- DROP TABLE IF EXISTS mx_table_page_templates CASCADE; CREATE TABLE "mx_table_page_templates" ( "page_template_id" INTEGER NOT NULL , "template_name" VARCHAR(255) NOT NULL DEFAULT '', CONSTRAINT mx_table_page_templates_pkey PRIMARY KEY ("page_template_id") ); -- -- Dumping data for table 'mx_table_page_templates' -- INSERT INTO "mx_table_page_templates" VALUES (1,'NONE'); INSERT INTO "mx_table_page_templates" VALUES (2,'Two-Columns left'); INSERT INTO "mx_table_page_templates" VALUES (3,'Two-Columns right'); INSERT INTO "mx_table_page_templates" VALUES (4,'Three-Columns'); -- -- Table structure for table 'mx_table_parameter' -- DROP TABLE IF EXISTS mx_table_parameter CASCADE; CREATE TABLE "mx_table_parameter" ( "parameter_id" SERIAL, "function_id" INTEGER NOT NULL DEFAULT '0', "parameter_name" VARCHAR(150) NULL DEFAULT NULL, "parameter_type" VARCHAR(30) NULL DEFAULT NULL, "parameter_default" VARCHAR(150) NULL DEFAULT NULL, "parameter_function" VARCHAR(255) NULL DEFAULT NULL, "parameter_auth" SMALLINT NOT NULL DEFAULT '0', "parameter_order" INTEGER NOT NULL DEFAULT '0', CONSTRAINT mx_table_parameter_pkey PRIMARY KEY ("parameter_id") ); -- -- Dumping data for table 'mx_table_parameter' -- INSERT INTO "mx_table_parameter" VALUES (1,2,'announce_nbr_display','Number','1','',0,0); INSERT INTO "mx_table_parameter" VALUES (2,2,'announce_nbr_days','Number','14','',0,0); INSERT INTO "mx_table_parameter" VALUES (3,2,'announce_display','Boolean','TRUE','',0,0); INSERT INTO "mx_table_parameter" VALUES (4,2,'announce_display_sticky','Boolean','TRUE','',0,0); INSERT INTO "mx_table_parameter" VALUES (5,2,'announce_display_normal','Boolean','FALSE','',0,0); INSERT INTO "mx_table_parameter" VALUES (7,2,'announce_img','Text','thumb_globe.gif','',0,0); INSERT INTO "mx_table_parameter" VALUES (8,2,'announce_img_sticky','Text','thumb_globe.gif','',0,0); INSERT INTO "mx_table_parameter" VALUES (9,2,'announce_img_normal','Text','thumb_globe.gif','',0,0); INSERT INTO "mx_table_parameter" VALUES (6,2,'announce_display_global','Boolean','TRUE','',0,0); INSERT INTO "mx_table_parameter" VALUES (10,2,'announce_img_global','Text','thumb_globe.gif','',0,0); INSERT INTO "mx_table_parameter" VALUES (11,2,'announce_forum','Function','','get_list_multiple("{parameter_id}[]", FORUMS_TABLE, \'forum_id\', \'forum_name\', "{parameter_value}", TRUE)',0,0); INSERT INTO "mx_table_parameter" VALUES (13,14,'Poll_Display','Function','0','poll_select( {parameter_value}, "{parameter_id}" )',0,0); INSERT INTO "mx_table_parameter" VALUES (36,14,'poll_forum','Function','','get_list_multiple("{parameter_id}[]", FORUMS_TABLE, \'forum_id\', \'forum_name\', "{parameter_value}", TRUE)',0,0); INSERT INTO "mx_table_parameter" VALUES (15,24,'Text','phpBBTextBlock','Insert your text here','',0,0); INSERT INTO "mx_table_parameter" VALUES (16,23,'Html','WysiwygTextBlock','Entre your Html code here','',0,0); INSERT INTO "mx_table_parameter" VALUES (17,31,'Last_Msg_Number_Title','Number','15','',0,0); INSERT INTO "mx_table_parameter" VALUES (18,31,'Last_Msg_Display_Date','Boolean','TRUE','',0,0); INSERT INTO "mx_table_parameter" VALUES (19,31,'Last_Msg_Title_Length','Number','30','',0,0); INSERT INTO "mx_table_parameter" VALUES (20,31,'Last_Msg_Target','Values','_blank','',0,0); INSERT INTO "mx_table_parameter" VALUES (21,31,'Last_Msg_Align','Values','left','',0,0); INSERT INTO "mx_table_parameter" VALUES (22,31,'Last_Msg_Display_Forum','Boolean','TRUE','',0,0); INSERT INTO "mx_table_parameter" VALUES (37,31,'Last_Msg_forum','Function','','get_list_multiple("{parameter_id}[]", FORUMS_TABLE, \'forum_id\', \'forum_name\', "{parameter_value}", TRUE)',0,0); INSERT INTO "mx_table_parameter" VALUES (38,31,'Last_Msg_Display_Last_Author','Boolean','TRUE','',0,0); INSERT INTO "mx_table_parameter" VALUES (39,31,'Last_Msg_Display_Author','Boolean','FALSE','',0,0); INSERT INTO "mx_table_parameter" VALUES (40,31,'Last_Msg_Display_Icon_View','Boolean','TRUE','',0,0); INSERT INTO "mx_table_parameter" VALUES (50,22,'Text','CustomizedTextBlock','Enter your block text here','',0,0); INSERT INTO "mx_table_parameter" VALUES (51,22,'text_style','Text','none','',0,0); INSERT INTO "mx_table_parameter" VALUES (52,22,'block_style','Boolean','TRUE','',0,0); INSERT INTO "mx_table_parameter" VALUES (53,22,'title_style','Boolean','TRUE','',0,0); INSERT INTO "mx_table_parameter" VALUES (91,10,'log_filter_date','Menu_single_select','1 month','a:12:{i:0;s:8:"no limit";i:1;s:5:"1 day";i:2;s:6:"2 days";i:3;s:6:"3 days";i:4;s:6:"1 week";i:5;s:7:"2 weeks";i:6;s:7:"3 weeks";i:7;s:7:"1 month";i:8;s:8:"2 months";i:9;s:8:"3 months";i:10;s:8:"6 months";i:11;s:6:"1 year";}',0,0); INSERT INTO "mx_table_parameter" VALUES (60,11,'block_ids','Function','1,2,3','get_list_multiple( "{parameter_id}[]", BLOCK_TABLE, \'block_id\', \'block_title\', "{parameter_value}", TRUE, \'block_desc\')',0,0); INSERT INTO "mx_table_parameter" VALUES (61,11,'block_sizes','Text','20%,30%,*','',0,0); INSERT INTO "mx_table_parameter" VALUES (62,11,'space_between','Number','4','',0,0); INSERT INTO "mx_table_parameter" VALUES (80,3,'default_block_id','Function','0','get_list_formatted("block_list","{parameter_value}","{parameter_id}[]")',0,0); INSERT INTO "mx_table_parameter" VALUES (70,5,'x_mode','Menu_single_select','x_iframe','a:6:{i:0;s:8:"x_listen";i:1;s:8:"x_iframe";i:2;s:10:"x_textfile";i:3;s:12:"x_multimedia";i:4;s:5:"x_pic";i:5;s:8:"x_format";}',0,0); INSERT INTO "mx_table_parameter" VALUES (71,5,'x_1','Text','/docs','',0,0); INSERT INTO "mx_table_parameter" VALUES (72,5,'x_2','Text','325','',0,0); INSERT INTO "mx_table_parameter" VALUES (73,5,'x_3','Text','','',0,0); INSERT INTO "mx_table_parameter" VALUES (66,51,'Nav menu','nav_menu','','',0,10); INSERT INTO "mx_table_parameter" VALUES (93,51,'menu_display_style','Radio_single_select','Classic','a:5:{i:0;s:7:"Classic";i:1;s:8:"Advanced";i:2;s:15:"Simple_CSS_menu";i:3;s:17:"Advanced_CSS_menu";i:4;s:18:"Overall_navigation";}',0,20); INSERT INTO "mx_table_parameter" VALUES (63,51,'menu_display_mode','Radio_single_select','vertical','a:2:{i:0;s:8:"vertical";i:1;s:10:"horizontal";}',0,30); INSERT INTO "mx_table_parameter" VALUES (64,51,'menu_page_sync','Boolean','0','',0,40); INSERT INTO "mx_table_parameter" VALUES (92,10,'numOfEvents','Number','5','',0,0); INSERT INTO "mx_table_parameter" VALUES (57,22,'allow_smilies','Boolean','TRUE','',1,0); INSERT INTO "mx_table_parameter" VALUES (54,22,'allow_html','Boolean','TRUE','',1,0); INSERT INTO "mx_table_parameter" VALUES (56,22,'allow_bbcode','Boolean','TRUE','',1,0); INSERT INTO "mx_table_parameter" VALUES (55,22,'html_tags','Text','b,i,u','',1,0); INSERT INTO "mx_table_parameter" VALUES (95,31,'msg_filter_date','Function','5','get_list_static("{parameter_id}[]",array("no limit", "1 day", "2 days", "3 days", "1 week", "2 weeks", "3 weeks", "1 month", "2 months", "3 months", "6 months", "1 year"),"{parameter_value}")',0,0); -- -- Table structure for table 'mx_table_portal' -- DROP TABLE IF EXISTS mx_table_portal CASCADE; CREATE TABLE "mx_table_portal" ( "portal_id" INTEGER NOT NULL , "portal_name" VARCHAR(150) NULL DEFAULT NULL, "portal_phpbb_url" VARCHAR(255) NULL DEFAULT 'http://www.phpbb.com/phpBB/', "portal_url" VARCHAR(255) NULL DEFAULT NULL, "portal_version" VARCHAR(255) NULL DEFAULT NULL, "default_admin_style" SMALLINT NOT NULL DEFAULT '-1', "default_style" SMALLINT NOT NULL DEFAULT '-1', "override_user_style" SMALLINT NOT NULL DEFAULT '1', "overall_header" VARCHAR(255) NULL DEFAULT 'overall_header.tpl', "overall_footer" VARCHAR(255) NULL DEFAULT 'overall_footer.tpl', "main_layout" VARCHAR(255) NULL DEFAULT 'mx_main_layout.tpl', "navigation_block" INTEGER NOT NULL DEFAULT '0', "top_phpbb_links" INTEGER NOT NULL DEFAULT '0', "mx_use_cache" INTEGER NOT NULL DEFAULT '1', "portal_recached" VARCHAR(255) NOT NULL DEFAULT '', "mod_rewrite" SMALLINT NOT NULL DEFAULT '0', "portal_backend" VARCHAR(255) NULL DEFAULT 'phpBB2', CONSTRAINT mx_table_portal_pkey PRIMARY KEY ("portal_id") ); -- -- Dumping data for table `mx_portal` -- -- INSERT INTO "mx_table_portal" VALUES (1,'mxBB-Portal','http://yoursite.com/forum/','http://yoursite.com/','2.8.0',-1,-1,1,'overall_header.tpl','overall_footer.tpl','mx_main_layout.tpl',0,0,1,'1182515561',0,'phpBB2'); -- -- Table structure for table 'mx_table_search_results' -- DROP TABLE IF EXISTS mx_table_search_results CASCADE; CREATE TABLE "mx_search_results" ( "search_id" BIGINT NOT NULL DEFAULT '0', "session_id" VARCHAR(32) NOT NULL DEFAULT '', "search_array" TEXT NOT NULL DEFAULT '', CONSTRAINT mx_table_search_results_pkey PRIMARY KEY ("search_id") ); CREATE INDEX "mx_table_search_results_session_id" ON "mx_table_search_results" ("session_id"); -- -- Table structure for table 'mx_table_wordlist' -- DROP TABLE IF EXISTS mx_table_wordlist CASCADE; CREATE TABLE "mx_table_wordlist" ( "word_text" VARCHAR(50) NOT NULL DEFAULT '', "word_id" SERIAL NOT NULL , "word_common" BOOLEAN NOT NULL DEFAULT '0', CONSTRAINT mx_table_wordlist_pkey PRIMARY KEY ("word_text") ); CREATE INDEX "mx_table_wordlist_word_id" ON "mx_table_wordlist" ("word_id"); -- -- Table structure for table 'mx_table_wordmatch' -- DROP TABLE IF EXISTS mx_table_wordmatch CASCADE; CREATE TABLE "mx_table_wordmatch" ( "block_id" INTEGER NOT NULL DEFAULT '0', "word_id" INTEGER NOT NULL DEFAULT '0', "title_match" BOOLEAN NOT NULL DEFAULT '0' ); CREATE INDEX "mx_table_wordmatch_block_id" ON "mx_table_wordmatch" ("block_id"); CREATE INDEX "mx_table_wordmatch_word_id" ON "mx_table_wordmatch" ("word_id") --- NEW FILE: mysql_schema_upgrade_to_2.8.1.sql --- # # mxBB-Portal - MySQL Schema - Upgrade "2.8.0" # # $Id: mysql_schema_upgrade_to_2.8.1.sql,v 1.1 2007/07/13 17:18:19 jonohlsson Exp $ # # ------------------------------------------------------------ # # New Fields in Table `mx_table_menu_nav` ALTER TABLE mx_table_menu_nav ADD menu_alt_icon varchar(255) default '' AFTER menu_icon; ALTER TABLE mx_table_menu_nav ADD menu_alt_icon_hot varchar(255) default '' AFTER menu_alt_icon; # ------------------------------------------------------------ # # New Fields in Table `mx_table_page` ALTER TABLE mx_table_page ADD page_alt_icon varchar(255) default '' AFTER page_icon; |
|
From: Jon O. <jon...@us...> - 2007-07-12 22:51:27
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4881 Modified Files: functions_comment.php Log Message: Commenting fix Index: functions_comment.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/functions_comment.php,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** functions_comment.php 4 Aug 2006 16:32:19 -0000 1.24 --- functions_comment.php 12 Jul 2007 22:51:22 -0000 1.25 *************** *** 873,877 **** if ( $mode == 'newtopic' || ($mode == 'editpost' && $is_first_post) ) { ! $mode = 'newtopic'; if ( $mode == 'newtopic' ) --- 873,877 ---- if ( $mode == 'newtopic' || ($mode == 'editpost' && $is_first_post) ) { ! //$mode = 'newtopic'; if ( $mode == 'newtopic' ) |
|
From: Jon O. <jon...@us...> - 2007-07-12 22:51:00
|
Update of /cvsroot/mxbb/mx_linkdb/linkdb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4193 Modified Files: functions_comment.php Log Message: Commenting fix Index: functions_comment.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/includes/functions_comment.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** functions_comment.php 4 Aug 2006 16:31:34 -0000 1.4 --- functions_comment.php 12 Jul 2007 22:50:56 -0000 1.5 *************** *** 871,875 **** if ( $mode == 'newtopic' || ($mode == 'editpost' && $is_first_post) ) { ! $mode = 'newtopic'; if ( $mode == 'newtopic' ) --- 871,875 ---- if ( $mode == 'newtopic' || ($mode == 'editpost' && $is_first_post) ) { ! //$mode = 'newtopic'; if ( $mode == 'newtopic' ) |
|
From: Jon O. <jon...@us...> - 2007-07-12 22:50:33
|
Update of /cvsroot/mxbb/mx_kb/kb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3812 Modified Files: functions_comment.php Log Message: commenting fix Index: functions_comment.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/includes/functions_comment.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** functions_comment.php 4 Aug 2006 16:30:30 -0000 1.10 --- functions_comment.php 12 Jul 2007 22:50:27 -0000 1.11 *************** *** 878,882 **** if ( $mode == 'newtopic' || ($mode == 'editpost' && $is_first_post) ) { ! $mode = 'newtopic'; if ( $mode == 'newtopic' ) --- 878,882 ---- if ( $mode == 'newtopic' || ($mode == 'editpost' && $is_first_post) ) { ! //$mode = 'newtopic'; if ( $mode == 'newtopic' ) |
|
From: Jon O. <jon...@us...> - 2007-07-12 22:49:56
|
Update of /cvsroot/mxbb/mx_bugsbt/templates/subSilver/images/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2819/images/lang_english Added Files: icon_bugsbt_post_comment.gif Log Message: doh, forgot to add new files --- NEW FILE: icon_bugsbt_post_comment.gif --- (This appears to be a binary file; contents omitted.) |
|
From: Jon O. <jon...@us...> - 2007-07-12 22:49:51
|
Update of /cvsroot/mxbb/mx_bugsbt/templates/subSilver/images In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2819/images Added Files: icon_approve.gif icon_unapprove.gif Log Message: doh, forgot to add new files --- NEW FILE: icon_unapprove.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: icon_approve.gif --- (This appears to be a binary file; contents omitted.) |
|
From: Jon O. <jon...@us...> - 2007-07-12 22:49:51
|
Update of /cvsroot/mxbb/mx_bugsbt/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2819 Added Files: bugsbt_comment_posting.tpl Log Message: doh, forgot to add new files --- NEW FILE: bugsbt_comment_posting.tpl --- <form method="post" action="{S_POST_ACTION}" onsubmit="saveComment(this); this.blur(); return false;" name="post"> <!-- BEGIN preview --> <br /> <table border="0" cellpadding="4" cellspacing="0" width="100%" class="forumline"> <tr> <th class="thHead" colspan="2" height="25">{L_PREVIEW}</th> </tr> <tr> <td class="row1" valign="top"><span class="postbody">{PRE_COMMENT}</span></td> </tr> </table> <br /> <!-- END preview --> <table border="0" cellpadding="4" cellspacing="1" width="100%"> <tr> <td class="row1" width="200"><span class="gen"><b>{L_COMMENT_TITLE}</b></span></td> <td class="row2" width="100%"><input type="text" name="subject" size="45" maxlength="60" style="width:450px" tabindex="2" class="post" value="{TITLE}" /></span></td> </tr> <tr> <td class="row1" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="1"> <tr> <td><span class="gen"><b>{L_COMMENT}</b></span></td> </tr> <tr> <td valign="middle" align="center"> <br /> <table width="100" border="0" cellspacing="0" cellpadding="5"> <tr align="center"> <td colspan="{S_SMILIES_COLSPAN}" class="nav"><a href="{U_MORE_SMILIES}" onclick="window.open('{U_MORE_SMILIES}', '_phpbbsmilies', 'HEIGHT=300,resizable=yes,scrollbars=yes,WIDTH=250');return false;" target="_phpbbsmilies" class="nav">{L_EMOTICONS}</a></td> </tr> <!-- BEGIN smilies_row --> <tr align="center" valign="middle"> <!-- BEGIN smilies_col --> <td><a href="javascript:emoticon('{smilies_row.smilies_col.SMILEY_CODE}')"><img src="{smilies_row.smilies_col.SMILEY_IMG}" border="0" alt="{smilies_row.smilies_col.SMILEY_DESC}" title="{smilies_row.smilies_col.SMILEY_DESC}" /></a></td> <!-- END smilies_col --> </tr> <!-- END smilies_row --> </table> </td> </tr> </table> </td> <td class="row2" valign="top"><span class="gen"> <span class="genmed"> </span> <table width="450" border="0" cellspacing="0" cellpadding="2"> <tr align="center" valign="middle"> <td width="10"><span class="genmed"> <input type="button" class="button" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px" onClick="bbstyle(0)" onMouseOver="helpline('b')" /> </span></td> <td width="10"><span class="genmed"> <input type="button" class="button" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 30px" onClick="bbstyle(2)" onMouseOver="helpline('i')" /> </span></td> <td width="10"><span class="genmed"> <input type="button" class="button" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width: 30px" onClick="bbstyle(4)" onMouseOver="helpline('u')" /> </span></td> <td width="10"><span class="genmed"> <input type="button" class="button" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onClick="bbstyle(6)" onMouseOver="helpline('q')" /> </span></td> <td width="10"><span class="genmed"> <input type="button" class="button" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onClick="bbstyle(8)" onMouseOver="helpline('c')" /> </span></td> <td width="10"><span class="genmed"> <input type="button" class="button" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onClick="bbstyle(10)" onMouseOver="helpline('l')" /> </span></td> <td width="10"><span class="genmed"> <input type="button" class="button" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onClick="bbstyle(12)" onMouseOver="helpline('o')" /> </span></td> <td width="10"><span class="genmed"> <input type="button" class="button" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onClick="bbstyle(14)" onMouseOver="helpline('p')" /> </span></td> <td width="10"><span class="genmed"> <input type="button" class="button" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onClick="bbstyle(16)" onMouseOver="helpline('w')" /> </span></td> </tr> <tr> <td colspan="9"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><span class="genmed"> {L_FONT_COLOR}: <select name="addbbcode18" onChange="bbfontstyle('[color=' + this.form.addbbcode18.options[this.form.addbbcode18.selectedIndex].value + ']', '[/color]')" onMouseOver="helpline('s')"> <option style="color:black; background-color: #FFFFFF " value="{T_FONTCOLOR1}" class="genmed">{L_COLOR_DEFAULT}</option> <option style="color:darkred; background-color: #DEE3E7" value="darkred" class="genmed">{L_COLOR_DARK_RED}</option> <option style="color:red; background-color: #DEE3E7" value="red" class="genmed">{L_COLOR_RED}</option> <option style="color:orange; background-color: #DEE3E7" value="orange" class="genmed">{L_COLOR_ORANGE}</option> <option style="color:brown; background-color: #DEE3E7" value="brown" class="genmed">{L_COLOR_BROWN}</option> <option style="color:yellow; background-color: #DEE3E7" value="yellow" class="genmed">{L_COLOR_YELLOW}</option> <option style="color:green; background-color: #DEE3E7" value="green" class="genmed">{L_COLOR_GREEN}</option> <option style="color:olive; background-color: #DEE3E7" value="olive" class="genmed">{L_COLOR_OLIVE}</option> <option style="color:cyan; background-color: #DEE3E7" value="cyan" class="genmed">{L_COLOR_CYAN}</option> <option style="color:blue; background-color: #DEE3E7" value="blue" class="genmed">{L_COLOR_BLUE}</option> <option style="color:darkblue; background-color: #DEE3E7" value="darkblue" class="genmed">{L_COLOR_DARK_BLUE}</option> <option style="color:indigo; background-color: #DEE3E7" value="indigo" class="genmed">{L_COLOR_INDIGO}</option> <option style="color:violet; background-color: #DEE3E7" value="violet" class="genmed">{L_COLOR_VIOLET}</option> <option style="color:white; background-color: #DEE3E7" value="white" class="genmed">{L_COLOR_WHITE}</option> <option style="color:black; background-color: #DEE3E7" value="black" class="genmed">{L_COLOR_BLACK}</option> </select> {L_FONT_SIZE}: <select name="addbbcode20" onChange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]')" onMouseOver="helpline('f')"> <option value="7" class="genmed">{L_FONT_TINY}</option> <option value="9" class="genmed">{L_FONT_SMALL}</option> <option value="12" selected class="genmed">{L_FONT_NORMAL}</option> <option value="18" class="genmed">{L_FONT_LARGE}</option> <option value="24" class="genmed">{L_FONT_HUGE}</option> </select> </span></td> <td nowrap="nowrap" align="right"><span class="gensmall"><a href="javascript:bbstyle(-1)" class="genmed" onMouseOver="helpline('a')">{L_BBCODE_CLOSE_TAGS}</a></span></td> </tr> </table> </td> </tr> <tr> <td colspan="9"> <span class="gensmall"> <input type="text" name="helpbox" size="45" maxlength="100" style="width:450px; font-size:10px" class="helpline" value="{L_STYLES_TIP}" /> </span></td> </tr> <tr> <td colspan="9" class="row2"><span class="gen"> <textarea name="message" rows="7" cols="25" wrap="virtual" style="width:450px" tabindex="3" class="post" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{COMMENT}</textarea> </td> </tr> </table> </td> </tr> <tr> <td class="row1"><span class="gen"><B>{L_OPTIONS}</b></span><br /><span class="gensmall">{HTML_STATUS}<br />{BBCODE_STATUS}<br />{SMILIES_STATUS}<br />{LINKS_STATUS}<br />{IMAGES_STATUS}</span></td> <td class="row2"></td> </tr> <tr> <td class="cat" colspan="2" align="center" height="28"> {S_HIDDEN_FORM_FIELDS} <p><input type="submit" name="submit" id="submit" value="{L_SUBMIT}"> (ctrl+s)</p> <input type="hidden" name="submit" value=""> <input type="hidden" id="body-tmp" name="body-tmp" value=""> </td> </form> </tr> </table> <span class="gen"><p id="saved"></p></span> |
|
From: Jon O. <jon...@us...> - 2007-07-12 22:49:34
|
Update of /cvsroot/mxbb/mx_bugsbt/bugsbt/shared In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2338/shared Added Files: .htaccess Log Message: doh, forgot to add new files --- NEW FILE: .htaccess --- allow from all |
|
From: Jon O. <jon...@us...> - 2007-07-12 22:49:34
|
Update of /cvsroot/mxbb/mx_bugsbt/bugsbt/modules In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2338/modules Added Files: bugsbt_post_comment.php Log Message: doh, forgot to add new files --- NEW FILE: bugsbt_post_comment.php --- <?php /** * * @package mxBB Portal Module - mx_bugsbt * @version $Id: bugsbt_post_comment.php,v 1.1 2007/07/12 22:49:28 jonohlsson Exp $ * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ if ( !defined( 'IN_PORTAL' ) ) { die( "Hacking attempt" ); } /** * Enter description here... * */ class mx_bugsbt_post_comment extends mx_bugsbt_public { /** * Enter description here... * * @param unknown_type $action */ function main( $action ) { global $template, $mx_bugsbt_functions, $lang, $board_config, $phpEx, $bugsbt_config, $db, $images, $userdata, $_POST; global $html_entities_match, $html_entities_replace, $unhtml_specialchars_match, $unhtml_specialchars_replace; global $mx_root_path, $module_root_path, $phpbb_root_path, $is_block, $phpEx, $mx_request_vars; global $page_id, $block_id; // // Request vars // $cid = $mx_request_vars->request('cid', MX_TYPE_INT, 0); if ( $mx_request_vars->is_request('item_id') && $mx_request_vars->is_request('cat_id') ) { $item_id = $mx_request_vars->request('item_id', MX_TYPE_INT, 0); $cat_id = $mx_request_vars->request('cat_id', MX_TYPE_INT, 0); } else { mx_message_die( GENERAL_MESSAGE, $lang['File_not_exist'] ); } $delete = $mx_request_vars->request('delete', MX_TYPE_NO_TAGS, ''); $submit = $mx_request_vars->is_request('submit'); $preview = $mx_request_vars->is_request('preview'); $sql = "SELECT * FROM " . BUGSBT_BUGS_TABLE . " WHERE bug_id = '" . $item_id . "'"; if ( !( $result = $db->sql_query( $sql ) ) ) { mx_message_die( GENERAL_ERROR, 'Couldnt select bug', '', __LINE__, __FILE__, $sql ); } if ( !$bug_data = $db->sql_fetchrow( $result ) ) { mx_message_die( GENERAL_MESSAGE, $lang['Bug_not_exsist'] ); } $db->sql_freeresult( $result ); if ( ( !$this->auth_user[$bug_data['bug_category_id']]['auth_post_comment'] ) ) { if ( !$userdata['session_logged_in'] ) { // mx_redirect(append_sid($mx_root_path . "login.$phpEx?redirect=".$this->this_mxurl("action=post_comment&item_id=" . $item_id), true)); } $message = $lang['Sorry_auth_comment']; mx_message_die( GENERAL_MESSAGE, $message ); } if ( $mx_request_vars->is_get('cid') ) { if ( $this->comments[$bug_data['bug_category_id']]['internal_comments'] ) { // // Query internal comment to edit // $sql = 'SELECT c.*, u.* FROM ' . BUGSBT_COMMENTS_TABLE . ' AS c LEFT JOIN ' . USERS_TABLE . " AS u ON c.poster_id = u.user_id WHERE c.bug_id = '" . $item_id . "' AND c.comments_id = '" . $mx_request_vars->request('cid', MX_TYPE_INT, '') . "'"; $comment_arg_title = 'comments_title'; $comment_arg_message = 'comments_text'; $comment_arg_bbcode_uid = 'comment_bbcode_uid'; } else { // // Query internal comment to edit // Note: cid = post_id // $sql = "SELECT u.username, u.user_id, u.user_posts, u.user_from, u.user_website, u.user_email, u.user_icq, u.user_aim, u.user_yim, u.user_regdate, u.user_msnm, u.user_viewemail, u.user_rank, u.user_sig, u.user_sig_bbcode_uid, u.user_avatar, u.user_avatar_type, u.user_allowavatar, u.user_allowsmile, p.*, pt.post_text, pt.post_subject, pt.bbcode_uid FROM " . POSTS_TABLE . " p, " . USERS_TABLE . " u, " . POSTS_TEXT_TABLE . " pt WHERE pt.post_id = p.post_id AND u.user_id = p.poster_id AND p.post_id = '" . $mx_request_vars->request('cid', MX_TYPE_INT, '') . "'"; $comment_arg_title = 'post_subject'; $comment_arg_message = 'post_text'; $comment_arg_bbcode_uid = 'bbcode_uid'; } if ( !( $result = $db->sql_query( $sql ) ) ) { mx_message_die( GENERAL_ERROR, 'Couldnt select comments', '', __LINE__, __FILE__, $sql ); } $comment_row = $db->sql_fetchrow( $result ); } $comment_title = $preview || isset($_POST['subject']) ? $_POST['subject'] : $comment_row[$comment_arg_title]; $comment_body = $preview || isset($_POST['message']) ? $_POST['message'] : $comment_row[$comment_arg_message]; $bbcode_uid = $preview ? '' : $comment_row[$comment_arg_bbcode_uid]; // // Toggles // $html_on = ( $bugsbt_config['allow_comment_html'] ) ? true : 0; $bbcode_on = ( $bugsbt_config['allow_comment_bbcode'] ) ? true : 0; $smilies_on = ( $bugsbt_config['allow_comment_smilies'] ) ? true : 0; $links_on = ( $bugsbt_config['allow_comment_links'] ) ? true : 0; $images_on = ( $bugsbt_config['allow_comment_images'] ) ? true : 0; // // Instantiate the mx_text and mx_text_formatting classes // $mx_text = new mx_text(); $mx_text->init($html_on, $bbcode_on, $smilies_on); $mx_text_formatting = new mx_text_formatting(); // // Allow all html tags // Fix: Setting 'emtpy' enables all // //$mx_text->allow_all_html_tags = $allow_wysiwyg; // Not yet implemented for comments // ======================================================= // Delete // ======================================================= if ( $delete == 'do' ) { $sql = 'SELECT * FROM ' . BUGSBT_BUGS_TABLE . " WHERE bug_id = $item_id"; if ( !( $result = $db->sql_query( $sql ) ) ) { mx_message_die( GENERAL_ERROR, 'Couldn\'t get bug info', '', __LINE__, __FILE__, $sql ); } $bug_info = $db->sql_fetchrow( $result ); if ( ( $this->auth_user[$bug_info['bug_category_id']]['auth_delete_comment'] && $bug_info['bug_author_id'] == $userdata['user_id'] ) || $this->auth_user[$bug_info['bug_category_id']]['auth_mod'] ) { if ( $this->comments[$bug_data['bug_category_id']]['internal_comments'] ) { $sql = 'DELETE FROM ' . BUGSBT_COMMENTS_TABLE . " WHERE comments_id = $cid"; if ( !( $db->sql_query( $sql ) ) ) { mx_message_die( GENERAL_ERROR, 'Couldnt delete comment', '', __LINE__, __FILE__, $sql ); } } else { include( $module_root_path . 'bugsbt/includes/functions_comment.' . $phpEx ); $mx_bugsbt_comments = new mx_bugsbt_comments(); $mx_bugsbt_comments->init( $bug_info, 'phpbb' ); $mx_bugsbt_comments->post('delete', $cid); } $this->_bugsbt(); $message = $lang['Comment_deleted'] . '<br /><br />' . sprintf( $lang['Click_return_bug'], '<a href="' . append_sid( $this->this_mxurl( "mode=bug&k=$item_id" ) ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } else { $message = sprintf( $lang['Sorry_auth_delete'], $this->auth_user[$cat_id]['auth_upload_type'] ); mx_message_die( GENERAL_MESSAGE, $message ); } } // ======================================================= // Submit // ======================================================= if ( $submit ) { $this->update_add_comment($bug_data, $item_id, $cid, '', '', $html_on, $bbcode_on, $smilies_on); $message = $lang['Comment_posted'] . '<br /><br />' . sprintf( $lang['Click_return_bug'], '<a href="' . append_sid( $this->this_mxurl( 'mode=bug&k=' . $item_id ) ) . '">', '</a>' ); mx_message_die( GENERAL_MESSAGE, $message ); } // ======================================================= // Main // ======================================================= // // Generate smilies listing for page output // $mx_bugsbt_functions->generate_smilies( 'inline', PAGE_POSTING ); $html_status = ( $html_on ) ? $lang['HTML_is_ON'] : $lang['HTML_is_OFF']; $bbcode_status = ( $bbcode_on ) ? $lang['BBCode_is_ON'] : $lang['BBCode_is_OFF']; $smilies_status = ( $smilies_on ) ? $lang['Smilies_are_ON'] : $lang['Smilies_are_OFF']; $links_status = ( $links_on ) ? $lang['Links_are_ON'] : $lang['Links_are_OFF']; $images_status = ( $images_on ) ? $lang['Images_are_ON'] : $lang['Images_are_OFF']; if ( $preview ) { // // Encode for preview // $preview_title = $mx_text->encode_preview_simple($comment_title); $preview_text = $mx_text->encode_preview($comment_body); if (!$bugsbt_config['allow_images'] || !$bugsbt_config['allow_links']) { $preview_text = $mx_text_formatting->remove_images_links( $preview_text, $bugsbt_config['allow_images'], $bugsbt_config['no_image_message'], $bugsbt_config['allow_links'], $bugsbt_config['no_link_message'] ); } $template->assign_block_vars( 'preview', array() ); $template->assign_vars( array( 'L_PREVIEW' => $lang['Preview'], 'PREVIEW' => true, 'SUBJECT' => $preview_title, 'PRE_COMMENT' => $preview_text ) ); // // Decode for form editing // $comment_title = $mx_text->decode_simple($comment_title, true); $comment_body = $mx_text->decode($comment_body, '', true); } else { // // Decode for form editing // $comment_title = $mx_text->decode_simple($comment_title); $comment_body = $mx_text->decode($comment_body, $bbcode_uid); } if ( $mx_request_vars->is_request('cid') ) { $hidden_form_fields = '<input type="hidden" name="mode" value="post_comment"> <input type="hidden" name="cat_id" value="' . $cat_id . '"> <input type="hidden" name="item_id" value="' . $item_id . '"> <input type="hidden" name="block_id" value="' . $block_id . '"> <input type="hidden" name="page_id" value="' . $page_id . '"> <input type="hidden" name="cid" value="' . $mx_request_vars->request('cid', MX_TYPE_INT, '') . '"> <input type="hidden" name="comment" value="post">'; } else { // // New comment // $comment_title = ''; $comment_body = ''; $hidden_form_fields = '<input type="hidden" name="mode" value="post_comment"> <input type="hidden" name="cat_id" value="' . $cat_id . '"> <input type="hidden" name="item_id" value="' . $item_id . '"> <input type="hidden" name="block_id" value="' . $block_id . '"> <input type="hidden" name="page_id" value="' . $page_id . '"> <input type="hidden" name="comment" value="post">'; } $template->set_filenames( array( 'body' => 'bugsbt_comment_posting.tpl' ) ); $bugsbt_action_url = $this->this_tab_mxurl(); // // Output the data to the template // $template->assign_vars( array( 'HTML_STATUS' => $html_status, 'BBCODE_STATUS' => sprintf($bbcode_status, '<a href="' . PHPBB_URL . append_sid("faq.$phpEx?mode=bbcode") . '" target="_phpbbcode">', '</a>'), 'SMILIES_STATUS' => $smilies_status, 'LINKS_STATUS' => $links_status, 'IMAGES_STATUS' => $images_status, 'FILE_NAME' => $bug_data['file_name'], 'DOWNLOAD' => $bugsbt_config['module_name'], 'MESSAGE_LENGTH' => $bugsbt_config['max_comment_chars'], 'TITLE' => $comment_title, 'COMMENT' => $comment_body, 'L_COMMENT_ADD' => $lang['Comment_add'], 'L_COMMENT' => $lang['Message_body'], 'L_COMMENT_TITLE' => $lang['Subject'], 'L_OPTIONS' => $lang['Options'], 'L_COMMENT_EXPLAIN' => sprintf( $lang['Comment_explain'], $bugsbt_config['max_comment_chars'] ), 'L_PREVIEW' => $lang['Preview'], 'L_SUBMIT' => $lang['Submit'], 'L_DOWNLOAD' => $lang['Download'], 'L_INDEX' => "<<", 'L_CHECK_MSG_LENGTH' => $lang['Check_message_length'], 'L_MSG_LENGTH_1' => $lang['Msg_length_1'], 'L_MSG_LENGTH_2' => $lang['Msg_length_2'], 'L_MSG_LENGTH_3' => $lang['Msg_length_3'], 'L_MSG_LENGTH_4' => $lang['Msg_length_4'], 'L_MSG_LENGTH_5' => $lang['Msg_length_5'], 'L_MSG_LENGTH_6' => $lang['Msg_length_6'], 'L_BBCODE_B_HELP' => $lang['bbcode_b_help'], 'L_BBCODE_I_HELP' => $lang['bbcode_i_help'], 'L_BBCODE_U_HELP' => $lang['bbcode_u_help'], 'L_BBCODE_Q_HELP' => $lang['bbcode_q_help'], 'L_BBCODE_C_HELP' => $lang['bbcode_c_help'], 'L_BBCODE_L_HELP' => $lang['bbcode_l_help'], 'L_BBCODE_O_HELP' => $lang['bbcode_o_help'], 'L_BBCODE_P_HELP' => $lang['bbcode_p_help'], 'L_BBCODE_W_HELP' => $lang['bbcode_w_help'], 'L_BBCODE_A_HELP' => $lang['bbcode_a_help'], 'L_BBCODE_S_HELP' => $lang['bbcode_s_help'], 'L_BBCODE_F_HELP' => $lang['bbcode_f_help'], 'L_EMPTY_MESSAGE' => $lang['Empty_message'], 'L_FONT_COLOR' => $lang['Font_color'], 'L_COLOR_DEFAULT' => $lang['color_default'], 'L_COLOR_DARK_RED' => $lang['color_dark_red'], 'L_COLOR_RED' => $lang['color_red'], 'L_COLOR_ORANGE' => $lang['color_orange'], 'L_COLOR_BROWN' => $lang['color_brown'], 'L_COLOR_YELLOW' => $lang['color_yellow'], 'L_COLOR_GREEN' => $lang['color_green'], 'L_COLOR_OLIVE' => $lang['color_olive'], 'L_COLOR_CYAN' => $lang['color_cyan'], 'L_COLOR_BLUE' => $lang['color_blue'], 'L_COLOR_DARK_BLUE' => $lang['color_dark_blue'], 'L_COLOR_INDIGO' => $lang['color_indigo'], 'L_COLOR_VIOLET' => $lang['color_violet'], 'L_COLOR_WHITE' => $lang['color_white'], 'L_COLOR_BLACK' => $lang['color_black'], 'L_FONT_SIZE' => $lang['Font_size'], 'L_FONT_TINY' => $lang['font_tiny'], 'L_FONT_SMALL' => $lang['font_small'], 'L_FONT_NORMAL' => $lang['font_normal'], 'L_FONT_LARGE' => $lang['font_large'], 'L_FONT_HUGE' => $lang['font_huge'], 'L_BBCODE_CLOSE_TAGS' => $lang['Close_Tags'], 'L_STYLES_TIP' => $lang['Styles_tip'], 'U_INDEX' => append_sid( $mx_root_path . 'index.' . $phpEx ), 'U_DOWNLOAD_HOME' => append_sid( $this->this_mxurl() ), 'U_FILE_NAME' => append_sid( $this->this_mxurl( 'mode=bug&item_id=' . $item_id ) ), 'S_POST_ACTION' => $bugsbt_action_url, 'CID' => $mx_request_vars->request('cid', MX_TYPE_INT, ''), 'ITEM_ID' => $item_id, 'S_HIDDEN_FORM_FIELDS' => $hidden_form_fields ) ); // =================================================== // assign var for navigation // =================================================== $this->generate_navigation( $bug_data['bug_category_id'] ); // // User authorisation levels output // $this->auth_can( $cat_id ); // // Get footer quick dropdown jumpbox // $this->generate_jumpbox( 0, 0, array( $cat_id => 1 )); $template->assign_block_vars( 'sub_tabs', array()); } } ?> |
|
From: Jon O. <jon...@us...> - 2007-07-12 22:49:33
|
Update of /cvsroot/mxbb/mx_bugsbt/bugsbt/modules/tabs In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2338/modules/tabs Added Files: .htaccess Log Message: doh, forgot to add new files --- NEW FILE: .htaccess --- allow from all |
|
From: Jon O. <jon...@us...> - 2007-07-12 22:49:31
|
Update of /cvsroot/mxbb/mx_bugsbt/bugsbt/includes/js In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2338/includes/js Added Files: .htaccess Log Message: doh, forgot to add new files --- NEW FILE: .htaccess --- allow from all |
|
From: Jon O. <jon...@us...> - 2007-07-12 22:49:30
|
Update of /cvsroot/mxbb/mx_bugsbt/bugsbt In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2338 Added Files: .htaccess Log Message: doh, forgot to add new files --- NEW FILE: .htaccess --- deny from all |
|
From: Jon O. <jon...@us...> - 2007-07-12 22:48:33
|
Update of /cvsroot/mxbb/mx_bugsbt/templates/subSilver/images/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv702/lang_english Log Message: Directory /cvsroot/mxbb/mx_bugsbt/templates/subSilver/images/lang_english added to the repository |
|
From: Jon O. <jon...@us...> - 2007-07-12 22:46:17
|
Update of /cvsroot/mxbb/mx_bugsbt/templates/subSilver/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29538/admin Modified Files: bugsbt_cat_admin_body.tpl Log Message: O yea, finally commenting is activated Also, a bunch of general updates/fixes Index: bugsbt_cat_admin_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/templates/subSilver/admin/bugsbt_cat_admin_body.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** bugsbt_cat_admin_body.tpl 15 Feb 2007 12:43:59 -0000 1.1 --- bugsbt_cat_admin_body.tpl 12 Jul 2007 22:45:41 -0000 1.2 *************** *** 6,10 **** <tr> <form action="{S_ACTION}" method="POST"> ! <td align="{S_CONTENT_DIR_RIGHT}" width="100%">{L_CREATE_CAT} <input type="text" name="new_product_name"> <input type="submit" value="{L_CREATE}" class="liteoption"></td> </form> </tr> --- 6,10 ---- <tr> <form action="{S_ACTION}" method="POST"> ! <td align="{S_CONTENT_DIR_RIGHT}" width="100%">{L_CREATE_PRODUCT} <input type="text" name="new_product_name"> <input type="submit" value="{L_CREATE}" class="liteoption"></td> </form> </tr> *************** *** 47,51 **** <td colspan="3"> <form action="{S_ACTION}" method="POST"> ! {L_CREATE_CAT} <input type="hidden" name="parent" value="{productrow.edition.CATEGORY_ID}"><input type="text" name="new_build_name"> <input type="submit" value="{L_CREATE}" class="liteoption"> </form> </td> --- 47,51 ---- <td colspan="3"> <form action="{S_ACTION}" method="POST"> ! {L_CREATE_EDITION} <input type="hidden" name="parent" value="{productrow.edition.CATEGORY_ID}"><input type="text" name="new_build_name"> <input type="submit" value="{L_CREATE}" class="liteoption"> </form> </td> *************** *** 59,63 **** <td colspan="3"> <form action="{S_ACTION}" method="POST"> ! {L_CREATE_CAT} <input type="hidden" name="parent" value="{productrow.CATEGORY_ID}"><input type="text" name="new_edition_name"> <input type="submit" value="{L_CREATE}" class="liteoption"> </form> </td> --- 59,63 ---- <td colspan="3"> <form action="{S_ACTION}" method="POST"> ! {L_CREATE_BUILD} <input type="hidden" name="parent" value="{productrow.CATEGORY_ID}"><input type="text" name="new_edition_name"> <input type="submit" value="{L_CREATE}" class="liteoption"> </form> </td> |
|
From: Jon O. <jon...@us...> - 2007-07-12 22:45:55
|
Update of /cvsroot/mxbb/mx_bugsbt/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29538 Modified Files: bugsbt_index.tpl bugsbt_post_body.tpl bugsbt_view_body.tpl subSilver.cfg Log Message: O yea, finally commenting is activated Also, a bunch of general updates/fixes Index: subSilver.cfg =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/templates/subSilver/subSilver.cfg,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** subSilver.cfg 15 Feb 2007 12:44:07 -0000 1.1 --- subSilver.cfg 12 Jul 2007 22:45:44 -0000 1.2 *************** *** 33,72 **** // Define images // ------------------------------------------------------------------------- ! $mx_images['kb_icon_approve'] = "$current_template_images/icon_approve.gif"; ! $mx_images['kb_icon_unapprove'] = "$current_template_images/icon_unapprove.gif"; ! $mx_images['kb_title'] = "$current_template_images/{LANG}/kb.gif"; ! $mx_images['kb_search'] = "$current_template_images/{LANG}/icon_kb_search.gif"; ! $mx_images['kb_stats'] = "$current_template_images/{LANG}/icon_kb_stats.gif"; ! $mx_images['kb_toplist'] = "$current_template_images/{LANG}/icon_kb_toplist.gif"; ! $mx_images['kb_upload'] = "$current_template_images/{LANG}/icon_kb_post.gif"; ! $mx_images['kb_rate'] = "$current_template_images/{LANG}/icon_kb_rate.gif"; ! $mx_images['kb_comment_post'] = "$current_template_images/{LANG}/icon_kb_post_comment.gif"; // // Article and Category lists // ! //$mx_images['kb_article'] = $images['icon_minipost']; // Article Row ! $mx_images['kb_article'] = $mx_root_path . $images['mx_graphics']['menu_icons'] . '/' ."icon_message.gif"; // Article Row ! //$mx_images['kb_article_new'] = $images['icon_minipost_new']; // Article Row ! $mx_images['kb_article_new'] = $mx_root_path . $images['mx_graphics']['menu_icons'] . '/' ."icon_message_hot.gif"; // Article Row ! $mx_images['kb_category'] = $images['folder']; // Category Row ! $mx_images['kb_category_new'] = $images['folder_new']; // Category Row // ------------------------------------------------------------------------- // Redefine phpBB images (Commenting) // ------------------------------------------------------------------------- ! $mx_images['kb_icon_minipost'] = $images['icon_minipost']; ! $mx_images['kb_icon_edit'] = $images['icon_edit']; ! $mx_images['kb_icon_delpost'] = $images['icon_delpost']; ! $mx_images['kb_icon_reply'] = $images['icon_reply']; ! $mx_images['kb_folder'] = $images['folder']; ! $mx_images['kb_folder_sticky'] = $images['folder_sticky']; ! $mx_images['kb_folder_announce'] = $images['folder_announce']; ! $mx_images['kb_icon_newest_reply'] = $images['icon_newest_reply']; - // - // Last Article block - // - $mx_images['kb_last_article_folder'] = $images['folder']; - $mx_images['kb_icon_latest_reply'] = $images['icon_latest_reply']; ?> \ No newline at end of file --- 33,61 ---- // Define images // ------------------------------------------------------------------------- ! $mx_images['bugsbt_icon_approve'] = "$current_template_images/icon_approve.gif"; ! $mx_images['bugsbt_icon_unapprove'] = "$current_template_images/icon_unapprove.gif"; ! $mx_images['bugsbt_comment_post'] = "$current_template_images/{LANG}/icon_bugsbt_post_comment.gif"; // // Article and Category lists // ! //$mx_images['bugsbt_bug'] = $images['icon_minipost']; // Article Row ! $mx_images['bugsbt_bug'] = $mx_root_path . $images['mx_graphics']['menu_icons'] . '/' ."icon_message.gif"; // Article Row ! //$mx_images['bugsbt_bug_new'] = $images['icon_minipost_new']; // Article Row ! $mx_images['bugsbt_bug_new'] = $mx_root_path . $images['mx_graphics']['menu_icons'] . '/' ."icon_message_hot.gif"; // Article Row ! $mx_images['bugsbt_product'] = $images['folder']; // Category Row ! $mx_images['bugsbt_product_new'] = $images['folder_new']; // Category Row // ------------------------------------------------------------------------- // Redefine phpBB images (Commenting) // ------------------------------------------------------------------------- ! $mx_images['bugsbt_icon_minipost'] = $images['icon_minipost']; ! $mx_images['bugsbt_icon_edit'] = $images['icon_edit']; ! $mx_images['bugsbt_icon_delpost'] = $images['icon_delpost']; ! $mx_images['bugsbt_icon_reply'] = $images['icon_reply']; ! $mx_images['bugsbt_folder'] = $images['folder']; ! $mx_images['bugsbt_folder_sticky'] = $images['folder_sticky']; ! $mx_images['bugsbt_folder_announce'] = $images['folder_announce']; ! $mx_images['bugsbt_icon_newest_reply'] = $images['icon_newest_reply']; ?> \ No newline at end of file Index: bugsbt_view_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/templates/subSilver/bugsbt_view_body.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** bugsbt_view_body.tpl 28 Apr 2007 19:45:43 -0000 1.2 --- bugsbt_view_body.tpl 12 Jul 2007 22:45:43 -0000 1.3 *************** *** 39,43 **** <span class="gen"><b>{BUG_PRODUCT}</b> ({L_BUG_PRODUCT})</span> » <span class="gen"><b>{BUG_EDITION}</b> ({L_BUG_EDITION})</span> » ! <span class="gen"><b>{BUG_BUILD}</b> ({L_BUG_BUILD})</span> <p><span class="maintitle">{BUG_TITLE}</span> --- 39,44 ---- <span class="gen"><b>{BUG_PRODUCT}</b> ({L_BUG_PRODUCT})</span> » <span class="gen"><b>{BUG_EDITION}</b> ({L_BUG_EDITION})</span> » ! <span class="gen"><b>{BUG_BUILD}</b> ({L_BUG_BUILD})</span> » ! <span class="gen"><b>{L_BUG_ID}</b> ({BUG_ID})</span> <p><span class="maintitle">{BUG_TITLE}</span> *************** *** 103,107 **** </tr> <tr> ! <td colspan="2"valign="top"><span class="postbody">{use_comments.text.TEXT}</span></td> </tr> </table> --- 104,108 ---- </tr> <tr> ! <td colspan="2"valign="top"><div id="tabs-data-comment-{use_comments.text.CID}"><span class="postbody">{use_comments.text.TEXT}</span></div></td> </tr> </table> *************** *** 123,132 **** <p> <!-- BEGIN auth_post --> ! <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center"> <tr> ! <td><a href="{use_comments.auth_post.U_COMMENT_POST}"><img src="{use_comments.auth_post.REPLY_IMG}" border="0" alt="{use_comments.auth_post.L_COMMENT_ADD}" align="middle" /></a></td> </tr> </table> - <br clear="all" /> <!-- END auth_post --> <!-- END use_comments --> --- 124,139 ---- <p> <!-- BEGIN auth_post --> ! <table width="100%" cellspacing="0" cellpadding="0" border="1" align="center"> <tr> ! <td align="left" class="row2"> ! <a href="javascript:void(0)" onclick="commentBug();"><img src="{use_comments.auth_post.REPLY_IMG}" vspace="4" border="0" alt="" align="middle" /></a> ! </td> </tr> + <tr> + <td align="left" class="row1"> + <div id="tabs-data-comment"></div> + </td> + </tr> </table> <!-- END auth_post --> <!-- END use_comments --> Index: bugsbt_index.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/templates/subSilver/bugsbt_index.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** bugsbt_index.tpl 28 Apr 2007 19:45:43 -0000 1.2 --- bugsbt_index.tpl 12 Jul 2007 22:45:42 -0000 1.3 *************** *** 135,138 **** --- 135,158 ---- } + function checkCommentForm() { + + formErrors = false; + if (document.post.subject.value.length < 2) { + formErrors = "{L_EMPTY_ARTICLE_NAME}\r"; + } + if (document.post.message.value.length < 2) { + formErrors = "{L_EMPTY_MESSAGE}\r"; + } + if (formErrors) { + alert(formErrors); + return false; + } else { + bbstyle(-1); + //formObj.preview.disabled = true; + //formObj.submit.disabled = true; + return true; + } + } + function emoticon(text) { var txtarea = document.post.message; Index: bugsbt_post_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/templates/subSilver/bugsbt_post_body.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** bugsbt_post_body.tpl 15 Feb 2007 12:44:06 -0000 1.1 --- bugsbt_post_body.tpl 12 Jul 2007 22:45:42 -0000 1.2 *************** *** 27,45 **** {KB_PREVIEW_BOX} <table border="0" cellpadding="4" cellspacing="1" align="center" width="100%"> - <!-- - <tr> - <th class="thHead" colspan="2" height="25"><b>{L_ADD_ARTICLE}</b></th> - </tr> - --> <!-- BEGIN switch_name --> <tr> <td class="row1"><span class="gen"><b><nobr>{L_NAME}</nobr></b></span></td> ! <td class="row2"> <span class="gen"> <input type="text" name="username" size="25" maxlength="100" style="width:300px" class="post" value="{USERNAME}" /></span></td> </tr> <!-- END switch_name --> <tr> ! <td class="row1"><span class="gen"><b><nobr>{L_ARTICLE_TITLE}</nobr></b></span></td> ! <td class="row2"> <span class="gen"> <input type="text" name="article_name" size="25" maxlength="100" style="width:300px" class="post" value="{ARTICLE_TITLE}" /></span></td> </tr> --- 27,40 ---- {KB_PREVIEW_BOX} <table border="0" cellpadding="4" cellspacing="1" align="center" width="100%"> <!-- BEGIN switch_name --> <tr> <td class="row1"><span class="gen"><b><nobr>{L_NAME}</nobr></b></span></td> ! <td class="row2"><span class="gen"> <input type="text" name="username" size="25" maxlength="100" style="width:300px" class="post" value="{USERNAME}" /></span></td> </tr> <!-- END switch_name --> <tr> ! <td class="row1" width="200"><span class="gen"><b><nobr>{L_ARTICLE_TITLE}</nobr></b></span></td> ! <td class="row2" width="100%"> <span class="gen"> <input type="text" name="article_name" size="25" maxlength="100" style="width:300px" class="post" value="{ARTICLE_TITLE}" /></span></td> </tr> *************** *** 71,102 **** </td> <td class="row2" valign="top"><span class="gen"> ! <table width="300" border="0" cellspacing="0" cellpadding="2"> <!-- BEGIN switch_bbcodes --> <tr align="center" valign="middle"> ! <td><span class="genmed"> <input type="button" class="button" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 20px" onClick="bbstyle(0)" onMouseOver="helpline('b')" /> </span></td> ! <td><span class="genmed"> <input type="button" class="button" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 20px" onClick="bbstyle(2)" onMouseOver="helpline('i')" /> </span></td> ! <td><span class="genmed"> <input type="button" class="button" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width: 20px" onClick="bbstyle(4)" onMouseOver="helpline('u')" /> </span></td> ! <td><span class="genmed"> <input type="button" class="button" accesskey="q" name="addbbcode6" value="Quote" style="width: 45px" onClick="bbstyle(6)" onMouseOver="helpline('q')" /> </span></td> ! <td><span class="genmed"> <input type="button" class="button" accesskey="c" name="addbbcode8" value="Code" style="width: 35px" onClick="bbstyle(8)" onMouseOver="helpline('c')" /> </span></td> ! <td><span class="genmed"> <input type="button" class="button" accesskey="l" name="addbbcode10" value="List" style="width: 35px" onClick="bbstyle(10)" onMouseOver="helpline('l')" /> </span></td> ! <td><span class="genmed"> <input type="button" class="button" accesskey="o" name="addbbcode12" value="List=" style="width: 35px" onClick="bbstyle(12)" onMouseOver="helpline('o')" /> </span></td> ! <td><span class="genmed"> <input type="button" class="button" accesskey="p" name="addbbcode14" value="Img" style="width: 35px" onClick="bbstyle(14)" onMouseOver="helpline('p')" /> </span></td> ! <td><span class="genmed"> <input type="button" class="button" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 35px" onClick="bbstyle(16)" onMouseOver="helpline('w')" /> </span></td> --- 66,97 ---- </td> <td class="row2" valign="top"><span class="gen"> ! <table width="450" border="0" cellspacing="0" cellpadding="2" align="left"> <!-- BEGIN switch_bbcodes --> <tr align="center" valign="middle"> ! <td width="10"><span class="genmed"> <input type="button" class="button" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 20px" onClick="bbstyle(0)" onMouseOver="helpline('b')" /> </span></td> ! <td width="10"><span class="genmed"> <input type="button" class="button" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 20px" onClick="bbstyle(2)" onMouseOver="helpline('i')" /> </span></td> ! <td width="10"><span class="genmed"> <input type="button" class="button" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width: 20px" onClick="bbstyle(4)" onMouseOver="helpline('u')" /> </span></td> ! <td width="10"><span class="genmed"> <input type="button" class="button" accesskey="q" name="addbbcode6" value="Quote" style="width: 45px" onClick="bbstyle(6)" onMouseOver="helpline('q')" /> </span></td> ! <td width="10"><span class="genmed"> <input type="button" class="button" accesskey="c" name="addbbcode8" value="Code" style="width: 35px" onClick="bbstyle(8)" onMouseOver="helpline('c')" /> </span></td> ! <td width="10"><span class="genmed"> <input type="button" class="button" accesskey="l" name="addbbcode10" value="List" style="width: 35px" onClick="bbstyle(10)" onMouseOver="helpline('l')" /> </span></td> ! <td width="10"><span class="genmed"> <input type="button" class="button" accesskey="o" name="addbbcode12" value="List=" style="width: 35px" onClick="bbstyle(12)" onMouseOver="helpline('o')" /> </span></td> ! <td width="10"><span class="genmed"> <input type="button" class="button" accesskey="p" name="addbbcode14" value="Img" style="width: 35px" onClick="bbstyle(14)" onMouseOver="helpline('p')" /> </span></td> ! <td width="10"><span class="genmed"> <input type="button" class="button" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 35px" onClick="bbstyle(16)" onMouseOver="helpline('w')" /> </span></td> |
|
From: Jon O. <jon...@us...> - 2007-07-12 22:45:30
|
Update of /cvsroot/mxbb/mx_bugsbt/language/lang_swedish In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29031/lang_swedish Modified Files: lang_admin.php lang_main.php Log Message: O yea, finally commenting is activated Also, a bunch of general updates/fixes Index: lang_main.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/language/lang_swedish/lang_main.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** lang_main.php 28 Apr 2007 19:45:29 -0000 1.2 --- lang_main.php 12 Jul 2007 22:45:24 -0000 1.3 *************** *** 215,219 **** $lang['bugsbt_Bug_closed'] = 'X'; $lang['bugsbt_Bug_name'] = 'Namn'; ! $lang['bugsbt_Bug_edition_build'] = 'Edition [Build]'; $lang['bugsbt_Bug_status'] = 'Status'; $lang['bugsbt_Bug_reported'] = 'Rapporterad'; --- 215,219 ---- $lang['bugsbt_Bug_closed'] = 'X'; $lang['bugsbt_Bug_name'] = 'Namn'; ! $lang['bugsbt_Bug_edition_build'] = 'Prod/Ver [Build]'; $lang['bugsbt_Bug_status'] = 'Status'; $lang['bugsbt_Bug_reported'] = 'Rapporterad'; Index: lang_admin.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/language/lang_swedish/lang_admin.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** lang_admin.php 15 Feb 2007 12:43:58 -0000 1.1 --- lang_admin.php 12 Jul 2007 22:45:23 -0000 1.2 *************** *** 216,219 **** --- 216,222 ---- $lang['Create_cat'] = 'Ny produkt:'; + $lang['Create_product'] = 'Ny produkt:'; + $lang['Create_edition'] = 'Ny version:'; + $lang['Create_build'] = 'Ny build:'; $lang['Create'] = 'Skapa'; $lang['Cat_settings'] = 'Produktinställningar'; |
|
From: Jon O. <jon...@us...> - 2007-07-12 22:45:30
|
Update of /cvsroot/mxbb/mx_bugsbt/language/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29031/lang_english Modified Files: lang_admin.php lang_main.php Log Message: O yea, finally commenting is activated Also, a bunch of general updates/fixes Index: lang_main.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/language/lang_english/lang_main.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** lang_main.php 5 May 2007 20:18:29 -0000 1.3 --- lang_main.php 12 Jul 2007 22:45:22 -0000 1.4 *************** *** 217,221 **** $lang['bugsbt_Bug_closed'] = 'X'; $lang['bugsbt_Bug_name'] = 'Name [desc]'; ! $lang['bugsbt_Bug_edition_build'] = 'Edition [Build]'; $lang['bugsbt_Bug_status'] = 'Status'; $lang['bugsbt_Bug_reported'] = 'Reported'; --- 217,221 ---- $lang['bugsbt_Bug_closed'] = 'X'; $lang['bugsbt_Bug_name'] = 'Name [desc]'; ! $lang['bugsbt_Bug_edition_build'] = 'Prod/Ed [Build]'; $lang['bugsbt_Bug_status'] = 'Status'; $lang['bugsbt_Bug_reported'] = 'Reported'; Index: lang_admin.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/language/lang_english/lang_admin.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** lang_admin.php 5 May 2007 20:18:29 -0000 1.2 --- lang_admin.php 12 Jul 2007 22:45:22 -0000 1.3 *************** *** 217,220 **** --- 217,223 ---- $lang['Create_cat'] = 'Create New Product:'; + $lang['Create_product'] = 'Create New Product:'; + $lang['Create_edition'] = 'Create New Edition:'; + $lang['Create_build'] = 'Create New Build:'; $lang['Create'] = 'Create'; $lang['Cat_settings'] = 'Product Settings'; |
|
From: Jon O. <jon...@us...> - 2007-07-12 22:45:12
|
Update of /cvsroot/mxbb/mx_bugsbt/bugsbt/modules/tabs In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28554 Modified Files: bugsbt__tab-index.php Log Message: O yea, finally commenting is activated Also, a bunch of general updates/fixes Index: bugsbt__tab-index.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/bugsbt/modules/tabs/bugsbt__tab-index.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** bugsbt__tab-index.php 5 May 2007 20:18:19 -0000 1.2 --- bugsbt__tab-index.php 12 Jul 2007 22:44:59 -0000 1.3 *************** *** 14,18 **** $phpEx = substr(strrchr(__FILE__, '.'), 1); - include($mx_root_path . 'common.' . $phpEx); --- 14,17 ---- *************** *** 118,121 **** --- 117,121 ---- 'product' => 'product', 'post' => 'post', + 'post_comment' => 'post_comment', 'add' => 'post', 'edit' => 'post', |
|
From: Jon O. <jon...@us...> - 2007-07-12 22:44:51
|
Update of /cvsroot/mxbb/mx_bugsbt/bugsbt/includes/js In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28218 Modified Files: management.js.php Log Message: O yea, finally commenting is activated Also, a bunch of general updates/fixes Index: management.js.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/bugsbt/includes/js/management.js.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** management.js.php 28 Apr 2007 19:45:17 -0000 1.2 --- management.js.php 12 Jul 2007 22:44:47 -0000 1.3 *************** *** 146,149 **** --- 146,201 ---- } + function editComment(bug_id, cid) { + + if ( !bug_id && (typeof current_bug_id == "undefined") ) { + alert("You have to select a Bug to perform this action."); + return; + } + + bug_id = (bug_id > 0) ? bug_id : current_bug_id; + current_bug_id = bug_id; + + checkContentSaved(); + + AjaxRequest.get( + { + 'url':'modules/mx_bugsbt/bugsbt/modules/tabs/bugsbt__tab-index.php' + ,'parameters':{ 'cid': cid, 'item_id': bug_id, 'mode':'post_comment', 'cat_id':escape(treeGetId().substr(treeGetId().lastIndexOf("/")+1)), 'block_id':mxBlock.block_id, 'page_id':mxBlock.page_id } + ,'onLoading':function() { clearTabs(); tabsLoadingOn(); } + ,'onComplete':function() { tabsLoadingOff(); } + ,'onSuccess':function(req){ el('tabs-data-comment-'+cid).innerHTML = req.responseText; updateTabs('tab_edit'); dhtmlHistory.add( treeGetId(), el(tree.active+"-text").innerHTML );} + ,'onError':function(req){ el('tabs-data-comment-'+cid).innerHTML = 'Error!\nStatusText='+req.statusText+'\nContents='+req.responseText;} + ,'timeout':5000 + ,'onTimeout':function(){ clearTabs(); tabsLoadingOff(); el('tabs-data-comment-'+cid).innerHTML = 'Timed out. Try again!'; } + } + ); + } + + function commentBug(bug_id) { + + if ( !bug_id && (typeof current_bug_id == "undefined") ) { + alert("You have to select a Bug to perform this action."); + return; + } + + bug_id = (bug_id > 0) ? bug_id : current_bug_id; + current_bug_id = bug_id; + + checkContentSaved(); + + AjaxRequest.get( + { + 'url':'modules/mx_bugsbt/bugsbt/modules/tabs/bugsbt__tab-index.php' + ,'parameters':{ 'item_id': bug_id, 'mode':'post_comment', 'cat_id':escape(treeGetId().substr(treeGetId().lastIndexOf("/")+1)), 'block_id':mxBlock.block_id, 'page_id':mxBlock.page_id } + ,'onLoading':function() { tabsLoadingOn(); } + ,'onComplete':function() { tabsLoadingOff(); } + ,'onSuccess':function(req){ el('tabs-data-comment').innerHTML = req.responseText;} + ,'onError':function(req){ el('tabs-data-comment').innerHTML = 'Error!\nStatusText='+req.statusText+'\nContents='+req.responseText;} + ,'timeout':5000 + ,'onTimeout':function(){ tabsLoadingOff(); el('tabs-data-comment').innerHTML = 'Timed out. Try again!'; } + } + ); + } + function viewBug(bug_id) { *************** *** 236,239 **** --- 288,334 ---- } + function saveComment(theform) { + + if (!checkCommentForm(theform)) + { + return; + } + + var return_data = ''; + var status = AjaxRequest.submit( + theform + ,{ + 'onLoading':function() { clearTabs(); el('tabs-data-comment').innerHTML = ''; tabsSavingOn(); el('submit').disabled = true; } + ,'onComplete':function() { tabsSavingOff(); el('submit').disabled = false; } + ,'onSuccess':function(req){ return_data = stripBodyHtml(req.responseText); } + ,'onError':function(req){ el('tabs-data-comment').innerHTML = 'Error!\nStatusText='+req.statusText+'\nContents='+req.responseText;} + ,'timeout':5000 + ,'onTimeout':function(){ tabsSavingOff(); el('tabs-data-comment').innerHTML = 'Timed out. Try again!'; } + } + ); + + //el('body-tmp').value = el('body').value; + + if ((typeof status == "boolean" && !status) || typeof status == "string") { + alert("Unknown error, cannot save document."); + } + else { + el('saved').innerHTML = "Saved successfuly on "+(new Date()+"<br>(this message will disappear in 1 second)"); + + if (return_data != "") + { + el('saved').innerHTML = return_data; + return; + } + + product_update = true; + + if (savedTimerID) clearTimeout(savedTimerID); + savedTimerID = setTimeout(function(){ clearTabs(); viewBug(); updateTabs('tab_bugs');}, 1000); + } + + return status; + } + function deleteBug(do_delete) { if ( typeof current_bug_id == "undefined" ) { *************** *** 274,278 **** if (savedTimerID) clearTimeout(savedTimerID); ! savedTimerID = setTimeout(function(){ clearTabs(); viewBugs(); updateTabs('tab_bugs');}, 1000); } --- 369,414 ---- if (savedTimerID) clearTimeout(savedTimerID); ! savedTimerID = setTimeout(function(){ clearTabs(); viewBugs(); updateTabs('tab_bugs');}, 500); ! } ! ! function deleteComment(cid) { ! if ( typeof current_bug_id == "undefined" ) { ! alert("You have to select a Bug to perform this action."); ! return; ! } ! ! bug_id = current_bug_id; ! current_bug_id = bug_id; ! ! if (!confirm("Really Delete this Comment?")) { ! return; ! } ! ! var return_data = ''; ! AjaxRequest.get( ! { ! 'url':'modules/mx_bugsbt/bugsbt/modules/tabs/bugsbt__tab-index.php' ! ,'parameters':{ 'cid': cid, 'item_id': bug_id, 'mode':'post_comment', 'delete':'do','cat_id':escape(treeGetId().substr(treeGetId().lastIndexOf("/")+1)), 'block_id':mxBlock.block_id, 'page_id':mxBlock.page_id } ! ,'onLoading':function() { tabsLoadingOn(); } ! ,'onComplete':function() { tabsLoadingOff(); } ! ,'onSuccess':function(req){ return_data = stripBodyHtml(req.responseText);} ! ,'onError':function(req){ el('tabs-data').innerHTML = 'Error!\nStatusText='+req.statusText+'\nContents='+req.responseText;} ! ,'timeout':5000 ! ,'onTimeout':function(){ clearTabs(); tabsLoadingOff(); el('tabs-data').innerHTML = 'Timed out. Try again!'; } ! } ! ); ! ! el('tabs-data-comment-'+cid).innerHTML = "Deleted successfuly on "+(new Date()+"<br>(this message will disappear in 1 second)"); ! ! if (return_data != "") ! { ! el('saved').innerHTML = return_data; ! return; ! } ! ! //product_update = true; ! ! if (savedTimerID) clearTimeout(savedTimerID); ! savedTimerID = setTimeout(function(){ clearTabs(); viewBug(); updateTabs('tab_bugs');}, 500); } |
|
From: Jon O. <jon...@us...> - 2007-07-12 22:44:38
|
Update of /cvsroot/mxbb/mx_bugsbt/bugsbt/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27179/bugsbt/includes Modified Files: functions.php functions_bugsbt.php functions_comment.php Log Message: O yea, finally commenting is activated Also, a bunch of general updates/fixes Index: functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/bugsbt/includes/functions.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** functions.php 16 May 2007 19:36:56 -0000 1.3 --- functions.php 12 Jul 2007 22:43:52 -0000 1.4 *************** *** 569,573 **** break; ! default:s $sql = "SELECT a.*, u.user_id, u.username, c.category_id, c.category_name FROM " . BUGSBT_BUGS_TABLE . " AS a --- 569,573 ---- break; ! default: $sql = "SELECT a.*, u.user_id, u.username, c.category_id, c.category_name FROM " . BUGSBT_BUGS_TABLE . " AS a *************** *** 621,625 **** $this->data['item_editor'] = ( $userdata['user_id'] != '-1' ) ? $userdata['username'] : $lang['Guest']; ! $this->temp_url = PORTAL_URL . $mx_kb->this_mxurl("mode=" . "article&k=" . $this->data['item_id'], false, true); } } --- 621,625 ---- $this->data['item_editor'] = ( $userdata['user_id'] != '-1' ) ? $userdata['username'] : $lang['Guest']; ! $this->temp_url = PORTAL_URL . $mx_bugsbt->this_mxurl("mode=" . "article&k=" . $this->data['item_id'], false, true); } } Index: functions_comment.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/bugsbt/includes/functions_comment.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** functions_comment.php 5 May 2007 20:18:04 -0000 1.2 --- functions_comment.php 12 Jul 2007 22:43:55 -0000 1.3 *************** *** 73,77 **** { $sql = 'SELECT * ! FROM ' . BUGSBT_TABLE . " WHERE bug_id = $item_data"; --- 73,77 ---- { $sql = 'SELECT * ! FROM ' . BUGSBT_BUGS_TABLE . " WHERE bug_id = $item_data"; *************** *** 278,281 **** --- 278,282 ---- $template->assign_block_vars( 'use_comments.text', array( + 'CID' => $this->comments_row['comments_id'], 'L_POSTED' => $lang['Posted'], 'L_COMMENT_SUBJECT' => $lang['Comment_subject'], *************** *** 296,300 **** $template->assign_block_vars( 'use_comments.text.auth_edit', array( 'L_COMMENT_EDIT' => $lang['Comment_edit'], ! 'U_COMMENT_EDIT' => append_sid( $mx_bugsbt->this_mxurl( 'mode=post_comment&item_id=' . $this->item_id . '&cat_id=' . $this->cat_id . '&cid='.$this->comments_row['comments_id'] ) ), 'EDIT_IMG' => $images['bugsbt_icon_edit'], )); --- 297,302 ---- $template->assign_block_vars( 'use_comments.text.auth_edit', array( 'L_COMMENT_EDIT' => $lang['Comment_edit'], ! //'U_COMMENT_EDIT' => append_sid( $mx_bugsbt->this_mxurl( 'mode=post_comment&item_id=' . $this->item_id . '&cat_id=' . $this->cat_id . '&cid='.$this->comments_row['comments_id'] ) ), ! 'U_COMMENT_EDIT' => 'javascript:void(0)" onclick="editComment('.$this->item_id.','.$this->comments_row['comments_id'].');', 'EDIT_IMG' => $images['bugsbt_icon_edit'], )); *************** *** 305,309 **** $template->assign_block_vars( 'use_comments.text.auth_delete', array( 'L_COMMENT_DELETE' => $lang['Comment_delete'], ! 'U_COMMENT_DELETE' => append_sid( $mx_bugsbt->this_mxurl( "mode=post_comment&cid=".$this->comments_row['comments_id']."&delete=do&item_id=".$this->item_id . '&cat_id=' . $this->cat_id )), 'DELETE_IMG' => $images['bugsbt_icon_delpost'], )); --- 307,312 ---- $template->assign_block_vars( 'use_comments.text.auth_delete', array( 'L_COMMENT_DELETE' => $lang['Comment_delete'], ! //'U_COMMENT_DELETE' => append_sid( $mx_bugsbt->this_mxurl( "mode=post_comment&cid=".$this->comments_row['comments_id']."&delete=do&item_id=".$this->item_id . '&cat_id=' . $this->cat_id )), ! 'U_COMMENT_DELETE' => 'javascript:void(0)" onclick="deleteComment('.$this->comments_row['comments_id'].');', 'DELETE_IMG' => $images['bugsbt_icon_delpost'], )); *************** *** 510,513 **** --- 513,517 ---- $template->assign_block_vars( 'use_comments.text', array( + 'CID' => $this->comments_row['post_id'], 'L_POSTED' => $lang['Posted'], 'L_COMMENT_SUBJECT' => $lang['Comment_subject'], *************** *** 528,532 **** $template->assign_block_vars( 'use_comments.text.auth_edit', array( 'L_COMMENT_EDIT' => $lang['Comment_edit'], ! 'U_COMMENT_EDIT' => append_sid( $mx_bugsbt->this_mxurl( 'mode=post_comment&item_id=' . $this->item_id . '&cat_id=' . $this->cat_id . '&cid='.$this->comments_row['post_id'] ) ), 'EDIT_IMG' => $images['bugsbt_icon_edit'], )); --- 532,537 ---- $template->assign_block_vars( 'use_comments.text.auth_edit', array( 'L_COMMENT_EDIT' => $lang['Comment_edit'], ! //'U_COMMENT_EDIT' => append_sid( $mx_bugsbt->this_mxurl( 'mode=post_comment&item_id=' . $this->item_id . '&cat_id=' . $this->cat_id . '&cid='.$this->comments_row['post_id'] ) ), ! 'U_COMMENT_EDIT' => 'javascript:void(0)" onclick="editComment('.$this->item_id.','.$this->comments_row['post_id'].');', 'EDIT_IMG' => $images['bugsbt_icon_edit'], )); *************** *** 537,541 **** $template->assign_block_vars( 'use_comments.text.auth_delete', array( 'L_COMMENT_DELETE' => $lang['Comment_delete'], ! 'U_COMMENT_DELETE' => append_sid( $mx_bugsbt->this_mxurl( "mode=post_comment&cid=".$this->comments_row['post_id']."&delete=do&item_id=".$this->item_id . '&cat_id=' . $this->cat_id )), 'DELETE_IMG' => $images['bugsbt_icon_delpost'], )); --- 542,547 ---- $template->assign_block_vars( 'use_comments.text.auth_delete', array( 'L_COMMENT_DELETE' => $lang['Comment_delete'], ! //'U_COMMENT_DELETE' => append_sid( $mx_bugsbt->this_mxurl( "mode=post_comment&cid=".$this->comments_row['post_id']."&delete=do&item_id=".$this->item_id . '&cat_id=' . $this->cat_id )), ! 'U_COMMENT_DELETE' => 'javascript:void(0)" onclick="deleteComment('.$this->comments_row['post_id'].');', 'DELETE_IMG' => $images['bugsbt_icon_delpost'], )); *************** *** 879,883 **** if ( $mode == 'newtopic' || ($mode == 'editpost' && $is_first_post) ) { ! $mode = 'newtopic'; if ( $mode == 'newtopic' ) --- 885,889 ---- if ( $mode == 'newtopic' || ($mode == 'editpost' && $is_first_post) ) { ! //$mode = 'newtopic'; if ( $mode == 'newtopic' ) Index: functions_bugsbt.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/bugsbt/includes/functions_bugsbt.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** functions_bugsbt.php 5 May 2007 20:18:04 -0000 1.3 --- functions_bugsbt.php 12 Jul 2007 22:43:55 -0000 1.4 *************** *** 148,155 **** // Note: some settings are category dependent, but may use default config settings // ! $this->comments[$cat_rowset[$i]['category_id']]['activated'] = $cat_rowset[$i]['cat_allow_comments'] == -1 ? ($kb_config['use_comments'] == 1 ? true : false ) : ( $cat_rowset[$i]['cat_allow_comments'] == 1 ? true : false ); ! $this->comments[$cat_rowset[$i]['category_id']]['internal_comments'] = $cat_rowset[$i]['internal_comments'] == -1 ? ($kb_config['internal_comments'] == 1 ? true : false ) : ( $cat_rowset[$i]['internal_comments'] == 1 ? true : false ); // phpBB or internal comments ! $this->comments[$cat_rowset[$i]['category_id']]['autogenerate_comments'] = $cat_rowset[$i]['autogenerate_comments'] == -1 ? ($kb_config['autogenerate_comments'] == 1 ? true : false ) : ( $cat_rowset[$i]['autogenerate_comments'] == 1 ? true : false ); // autocreate comments when updated ! $this->comments[$cat_rowset[$i]['category_id']]['comments_forum_id'] = $cat_rowset[$i]['comments_forum_id'] < 1 ? ( intval($kb_config['comments_forum_id']) ) : ( intval($cat_rowset[$i]['comments_forum_id']) ); // phpBB target forum (only used for phpBB comments) if ($this->comments[$cat_rowset[$i]['category_id']]['activated'] && !$this->comments[$cat_rowset[$i]['category_id']]['internal_comments'] && intval($this->comments[$cat_rowset[$i]['category_id']]['comments_forum_id']) < 1) --- 148,155 ---- // Note: some settings are category dependent, but may use default config settings // ! $this->comments[$cat_rowset[$i]['category_id']]['activated'] = $cat_rowset[$i]['cat_allow_comments'] == -1 ? ($bugsbt_config['use_comments'] == 1 ? true : false ) : ( $cat_rowset[$i]['cat_allow_comments'] == 1 ? true : false ); ! $this->comments[$cat_rowset[$i]['category_id']]['internal_comments'] = $cat_rowset[$i]['internal_comments'] == -1 ? ($bugsbt_config['internal_comments'] == 1 ? true : false ) : ( $cat_rowset[$i]['internal_comments'] == 1 ? true : false ); // phpBB or internal comments ! $this->comments[$cat_rowset[$i]['category_id']]['autogenerate_comments'] = $cat_rowset[$i]['autogenerate_comments'] == -1 ? ($bugsbt_config['autogenerate_comments'] == 1 ? true : false ) : ( $cat_rowset[$i]['autogenerate_comments'] == 1 ? true : false ); // autocreate comments when updated ! $this->comments[$cat_rowset[$i]['category_id']]['comments_forum_id'] = $cat_rowset[$i]['comments_forum_id'] < 1 ? ( intval($bugsbt_config['comments_forum_id']) ) : ( intval($cat_rowset[$i]['comments_forum_id']) ); // phpBB target forum (only used for phpBB comments) if ($this->comments[$cat_rowset[$i]['category_id']]['activated'] && !$this->comments[$cat_rowset[$i]['category_id']]['internal_comments'] && intval($this->comments[$cat_rowset[$i]['category_id']]['comments_forum_id']) < 1) *************** *** 161,171 **** // Information // ! $this->information[$cat_rowset[$i]['category_id']]['activated'] = $cat_rowset[$i]['show_pretext'] == -1 ? ($kb_config['show_pretext'] == 1 ? true : false ) : ( $cat_rowset[$i]['show_pretext'] == 1 ? true : false ); // phpBB or internal ratings // // Notification // ! $this->notification[$cat_rowset[$i]['category_id']]['activated'] = $cat_rowset[$i]['notify'] == -1 ? (intval($kb_config['notify'])) : ( intval($cat_rowset[$i]['notify']) ); // -1, 0, 1, 2 ! $this->notification[$cat_rowset[$i]['category_id']]['notify_group'] = $cat_rowset[$i]['notify_group'] == -1 || $cat_rowset[$i]['notify_group'] == 0 ? (intval($kb_config['notify_group'])) : ( intval($cat_rowset[$i]['notify_group']) ); // Group_id } } --- 161,171 ---- // Information // ! $this->information[$cat_rowset[$i]['category_id']]['activated'] = $cat_rowset[$i]['show_pretext'] == -1 ? ($bugsbt_config['show_pretext'] == 1 ? true : false ) : ( $cat_rowset[$i]['show_pretext'] == 1 ? true : false ); // phpBB or internal ratings // // Notification // ! $this->notification[$cat_rowset[$i]['category_id']]['activated'] = $cat_rowset[$i]['notify'] == -1 ? (intval($bugsbt_config['notify'])) : ( intval($cat_rowset[$i]['notify']) ); // -1, 0, 1, 2 ! $this->notification[$cat_rowset[$i]['category_id']]['notify_group'] = $cat_rowset[$i]['notify_group'] == -1 || $cat_rowset[$i]['notify_group'] == 0 ? (intval($bugsbt_config['notify_group'])) : ( intval($cat_rowset[$i]['notify_group']) ); // Group_id } } *************** *** 971,975 **** // Introduce a style switch for simple/standard category navigation // ! $cat_style = $kb_config['use_simple_navigation'] ? 'CAT_NAV_SIMPLE' : 'CAT_NAV_STANDARD'; $template->assign_block_vars( $cat_style, array() ); --- 971,975 ---- // Introduce a style switch for simple/standard category navigation // ! $cat_style = $bugsbt_config['use_simple_navigation'] ? 'CAT_NAV_SIMPLE' : 'CAT_NAV_STANDARD'; $template->assign_block_vars( $cat_style, array() ); *************** *** 992,996 **** // $catnum = count($this->subcat_rowset[$parent]); ! $catcol = $kb_config['cat_col'] > 0 ? $kb_config['cat_col'] : 1; $num_of_rows = intval( $catnum / $catcol ); --- 992,996 ---- // $catnum = count($this->subcat_rowset[$parent]); ! $catcol = $bugsbt_config['cat_col'] > 0 ? $bugsbt_config['cat_col'] : 1; $num_of_rows = intval( $catnum / $catcol ); *************** *** 1034,1038 **** $last_file_name = ( strlen( stripslashes( $last_file_info['article_title'] ) ) > 20 ) ? substr( stripslashes( $last_file_info['article_title'] ), 0, 20 ) . '...' : stripslashes( $last_file_info['article_title'] ); $last_file .= '<a href="' . append_sid( $this->this_mxurl( 'mode=article&k=' . $last_file_info['article_id'] ) ) . '" alt="' . stripslashes( $last_file_info['article_title'] ) . '" title="' . stripslashes( $last_file_info['article_title'] ) . '">' . $last_file_name . '</a> '; ! $last_file .= '<a href="' . append_sid( $this->this_mxurl( 'mode=article&k=' . $last_file_info['article_id'] ) ) . '"><img src="' . $images['kb_icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_file'] . '" title="' . $lang['View_latest_file'] . '" /></a>'; } else --- 1034,1038 ---- $last_file_name = ( strlen( stripslashes( $last_file_info['article_title'] ) ) > 20 ) ? substr( stripslashes( $last_file_info['article_title'] ), 0, 20 ) . '...' : stripslashes( $last_file_info['article_title'] ); $last_file .= '<a href="' . append_sid( $this->this_mxurl( 'mode=article&k=' . $last_file_info['article_id'] ) ) . '" alt="' . stripslashes( $last_file_info['article_title'] ) . '" title="' . stripslashes( $last_file_info['article_title'] ) . '">' . $last_file_name . '</a> '; ! $last_file .= '<a href="' . append_sid( $this->this_mxurl( 'mode=article&k=' . $last_file_info['article_id'] ) ) . '"><img src="' . $images['bugsbt_icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_file'] . '" title="' . $lang['View_latest_file'] . '" /></a>'; } else *************** *** 1054,1058 **** 'CAT_ARTICLES' => $category_articles, ! 'CAT_IMAGE' => $is_new ? $images['kb_category_new'] : $images['kb_category'], 'SUB_CAT' => ( !empty( $sub_cat ) ) ? " $sub_cat" : "", 'L_SUB_CAT' => $lang['Sub_categories'], --- 1054,1058 ---- 'CAT_ARTICLES' => $category_articles, ! 'CAT_IMAGE' => $is_new ? $images['bugsbt_product_new'] : $images['bugsbt_product'], 'SUB_CAT' => ( !empty( $sub_cat ) ) ? " $sub_cat" : "", 'L_SUB_CAT' => $lang['Sub_categories'], *************** *** 1196,1200 **** // $is_new = FALSE; ! if (time() - ($kb_config['settings_newdays'] * 24 * 60 * 60) < $file_rowset[$i]['article_date']) { $is_new = TRUE; --- 1196,1200 ---- // $is_new = FALSE; ! if (time() - ($bugsbt_config['settings_newdays'] * 24 * 60 * 60) < $file_rowset[$i]['article_date']) { $is_new = TRUE; *************** *** 1250,1254 **** 'U_ARTICLE' => $article_url, ! 'ARTICLE_IMAGE' => $is_new ? $images['kb_article_new'] : $images['kb_article'], 'COLOR' => ( ( $i % 2 ) ? "row2" : "row1" ), 'POSTER' => $file_poster, --- 1250,1254 ---- 'U_ARTICLE' => $article_url, ! 'ARTICLE_IMAGE' => $is_new ? $images['bugsbt_bug_new'] : $images['bugsbt_bug'], 'COLOR' => ( ( $i % 2 ) ? "row2" : "row1" ), 'POSTER' => $file_poster, *************** *** 1293,1298 **** $action = ( empty( $cat_id ) ) ? 'stats' : 'cat&cat=' . $cat_id; ! $sort_method = isset($_REQUEST['sort_method']) ? $_REQUEST['sort_method'] : $kb_config['sort_method']; ! $sort_order = isset($_REQUEST['sort_order']) ? $_REQUEST['sort_order'] : $kb_config['sort_order']; $template->assign_vars( array( --- 1293,1298 ---- $action = ( empty( $cat_id ) ) ? 'stats' : 'cat&cat=' . $cat_id; ! $sort_method = isset($_REQUEST['sort_method']) ? $_REQUEST['sort_method'] : $bugsbt_config['sort_method']; ! $sort_order = isset($_REQUEST['sort_order']) ? $_REQUEST['sort_order'] : $bugsbt_config['sort_order']; $template->assign_vars( array( *************** *** 1339,1344 **** 'SORT_DESC' => ( $sort_order == 'DESC' ) ? 'selected="selected"' : '', ! 'PAGINATION' => generate_pagination( append_sid( $this->this_mxurl( "mode=$action&sort_method=$sort_method&sort_order=$sort_order" ) ), $total_file, $kb_config['pagination'], $start ), ! 'PAGE_NUMBER' => sprintf( $lang['Page_of'], ( floor( $start / $kb_config['pagination'] ) + 1 ), ceil( $total_file / $kb_config['pagination'] ) ), 'ID' => $cat_id, 'START' => $start, --- 1339,1344 ---- 'SORT_DESC' => ( $sort_order == 'DESC' ) ? 'selected="selected"' : '', ! 'PAGINATION' => generate_pagination( append_sid( $this->this_mxurl( "mode=$action&sort_method=$sort_method&sort_order=$sort_order" ) ), $total_file, $bugsbt_config['pagination'], $start ), ! 'PAGE_NUMBER' => sprintf( $lang['Page_of'], ( floor( $start / $bugsbt_config['pagination'] ) + 1 ), ceil( $total_file / $bugsbt_config['pagination'] ) ), 'ID' => $cat_id, 'START' => $start, *************** *** 1514,1520 **** $comment_bbcode_uid = $mx_text->bbcode_uid; ! if ( $length > $kb_config['max_comment_chars'] ) { ! mx_message_die( GENERAL_ERROR, 'Your comment is too long!<br/>The maximum length allowed in characters is ' . $kb_config['max_comment_chars'] . '' ); } --- 1514,1520 ---- $comment_bbcode_uid = $mx_text->bbcode_uid; ! if ( $length > $bugsbt_config['max_comment_chars'] ) { ! mx_message_die( GENERAL_ERROR, 'Your comment is too long!<br/>The maximum length allowed in characters is ' . $bugsbt_config['max_comment_chars'] . '' ); } |
|
From: Jon O. <jon...@us...> - 2007-07-12 22:44:37
|
Update of /cvsroot/mxbb/mx_bugsbt/bugsbt/modules In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27179/bugsbt/modules Modified Files: bugsbt_index.php bugsbt_post.php bugsbt_view.php Log Message: O yea, finally commenting is activated Also, a bunch of general updates/fixes Index: bugsbt_index.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/bugsbt/modules/bugsbt_index.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** bugsbt_index.php 5 May 2007 20:18:04 -0000 1.3 --- bugsbt_index.php 12 Jul 2007 22:43:56 -0000 1.4 *************** *** 83,86 **** --- 83,95 ---- // + // Js Errors + // + 'L_EMPTY_MESSAGE' => $lang['Empty_message'], + 'L_EMPTY_ARTICLE_NAME' => $lang['Empty_bug_name'], + 'L_EMPTY_ARTICLE_DESC' => $lang['Empty_bug_desc'], + 'L_EMPTY_CAT' => $lang['Empty_category'], + 'L_EMPTY_TYPE' => $lang['Empty_type'], + + // // Tree // Index: bugsbt_view.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/bugsbt/modules/bugsbt_view.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** bugsbt_view.php 5 May 2007 20:18:04 -0000 1.3 --- bugsbt_view.php 12 Jul 2007 22:43:56 -0000 1.4 *************** *** 253,256 **** --- 253,257 ---- 'L_GOTO_PAGE' => $lang['Goto_page'], + 'L_BUG_ID' => $lang['bugsbt_Bug_id'], 'L_BUG_DESCRIPTION' => $lang['Bug_description'], 'L_BUG_DATE' => $lang['Date'], Index: bugsbt_post.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/bugsbt/modules/bugsbt_post.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** bugsbt_post.php 5 May 2007 20:18:04 -0000 1.3 --- bugsbt_post.php 12 Jul 2007 22:43:56 -0000 1.4 *************** *** 454,458 **** if ( $bugsbt_post_mode == 'edit' ) { ! $s_hidden_vars = '<input type="hidden" name="k" value="' . $article_id . '"><input type="hidden" name="bbcode_uid" value="' . $bbcode_uid . '"><input type="hidden" name="author_id" value="' . $author_id . '">'; $s_hidden_vars .= '<input type="hidden" name="block_id" value="' . $block_id . '">'; $s_hidden_vars .= '<input type="hidden" name="page_id" value="' . $page_id . '">'; --- 454,460 ---- if ( $bugsbt_post_mode == 'edit' ) { ! $s_hidden_vars = '<input type="hidden" name="k" value="' . $article_id . '">'; ! $s_hidden_vars .= '<input type="hidden" name="bbcode_uid" value="' . $bbcode_uid . '">'; ! $s_hidden_vars .= '<input type="hidden" name="author_id" value="' . $author_id . '">'; $s_hidden_vars .= '<input type="hidden" name="block_id" value="' . $block_id . '">'; $s_hidden_vars .= '<input type="hidden" name="page_id" value="' . $page_id . '">'; *************** *** 554,563 **** 'L_BBCODE_F_HELP' => $lang['bbcode_f_help'], - 'L_EMPTY_MESSAGE' => $lang['Empty_message'], - 'L_EMPTY_ARTICLE_NAME' => $lang['Empty_bug_name'], - 'L_EMPTY_ARTICLE_DESC' => $lang['Empty_bug_desc'], - 'L_EMPTY_CAT' => $lang['Empty_category'], - 'L_EMPTY_TYPE' => $lang['Empty_type'], - 'L_FONT_COLOR' => $lang['Font_color'], 'L_COLOR_DEFAULT' => $lang['color_default'], --- 556,559 ---- |
|
From: Jon O. <jon...@us...> - 2007-07-12 22:44:34
|
Update of /cvsroot/mxbb/mx_bugsbt In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27179 Modified Files: db_install.php db_uninstall.php db_upgrade.php Log Message: O yea, finally commenting is activated Also, a bunch of general updates/fixes Index: db_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/db_uninstall.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** db_uninstall.php 7 Jun 2007 19:58:33 -0000 1.1 --- db_uninstall.php 12 Jul 2007 22:43:58 -0000 1.2 *************** *** 39,63 **** $sql = array( - "DROP TABLE " . $mx_table_prefix . "kb_articles ", - - "DROP TABLE " . $mx_table_prefix . "kb_categories ", - - "DROP TABLE " . $mx_table_prefix . "kb_config ", - - "DROP TABLE " . $mx_table_prefix . "kb_types ", ! //"DROP TABLE " . $mx_table_prefix . "kb_wordlist ", ! ! //"DROP TABLE " . $mx_table_prefix . "kb_results ", ! ! //"DROP TABLE " . $mx_table_prefix . "kb_wordmatch ", ! ! "DROP TABLE " . $mx_table_prefix . "kb_votes ", ! ! "DROP TABLE " . $mx_table_prefix . "kb_custom ", ! ! "DROP TABLE " . $mx_table_prefix . "kb_comments ", ! ! "DROP TABLE " . $mx_table_prefix . "kb_customdata " ); --- 39,50 ---- $sql = array( ! "DROP TABLE IF EXISTS " . $mx_table_prefix . "bugsbt_bugs ", ! "DROP TABLE IF EXISTS " . $mx_table_prefix . "bugsbt_products ", ! "DROP TABLE IF EXISTS " . $mx_table_prefix . "bugsbt_config ", ! "DROP TABLE IF EXISTS " . $mx_table_prefix . "bugsbt_types ", ! "DROP TABLE IF EXISTS " . $mx_table_prefix . "bugsbt_custom ", ! "DROP TABLE IF EXISTS " . $mx_table_prefix . "bugsbt_comments ", ! "DROP TABLE IF EXISTS " . $mx_table_prefix . "bugsbt_customdata ", ); Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/db_install.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** db_install.php 5 Jun 2007 21:20:59 -0000 1.3 --- db_install.php 12 Jul 2007 22:43:57 -0000 1.4 *************** *** 31,35 **** } ! $mx_module_version = '1.0.1'; $mx_module_copy = 'Designed for mxBB by <a href="http://www.mxbb.net" target="_blank">Jon</a>'; --- 31,35 ---- } ! $mx_module_version = '1.0.2'; $mx_module_copy = 'Designed for mxBB by <a href="http://www.mxbb.net" target="_blank">Jon</a>'; *************** *** 39,46 **** $message = "<b>This is a new module installation!</b><br/><br/>"; ! $sql = array( "DROP TABLE IF EXISTS " . $mx_table_prefix . "bugsbt_bugs ", "DROP TABLE IF EXISTS " . $mx_table_prefix . "bugsbt_products ", "DROP TABLE IF EXISTS " . $mx_table_prefix . "bugsbt_config ", "DROP TABLE IF EXISTS " . $mx_table_prefix . "bugsbt_types ", "CREATE TABLE " . $mx_table_prefix . "bugsbt_products ( --- 39,50 ---- $message = "<b>This is a new module installation!</b><br/><br/>"; ! $sql = array( ! "DROP TABLE IF EXISTS " . $mx_table_prefix . "bugsbt_bugs ", "DROP TABLE IF EXISTS " . $mx_table_prefix . "bugsbt_products ", "DROP TABLE IF EXISTS " . $mx_table_prefix . "bugsbt_config ", "DROP TABLE IF EXISTS " . $mx_table_prefix . "bugsbt_types ", + "DROP TABLE IF EXISTS " . $mx_table_prefix . "bugsbt_custom ", + "DROP TABLE IF EXISTS " . $mx_table_prefix . "bugsbt_comments ", + "DROP TABLE IF EXISTS " . $mx_table_prefix . "bugsbt_customdata ", "CREATE TABLE " . $mx_table_prefix . "bugsbt_products ( *************** *** 112,117 **** bug_closed tinyint(1) unsigned NOT NULL default '0', ! bug_date int(50) NOT NULL default NULL, ! bug_update_date int(50) NOT NULL default NULL, bug_author_id mediumint(8) NOT NULL, username VARCHAR(255), --- 116,121 ---- bug_closed tinyint(1) unsigned NOT NULL default '0', ! bug_date int(50) default NULL, ! bug_update_date int(50) default NULL, bug_author_id mediumint(8) NOT NULL, username VARCHAR(255), Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_bugsbt/db_upgrade.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** db_upgrade.php 7 Jun 2007 19:58:33 -0000 1.1 --- db_upgrade.php 12 Jul 2007 22:43:58 -0000 1.2 *************** *** 30,34 **** } ! $mx_module_version = '1.0.0'; $mx_module_copy = 'Designed for mxBB by <a href="http://www.mxbb-portal.com" target="_blank">Jon</a>'; --- 30,34 ---- } ! $mx_module_version = '1.0.2'; $mx_module_copy = 'Designed for mxBB by <a href="http://www.mxbb-portal.com" target="_blank">Jon</a>'; |