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
|
Update of /cvsroot/mxbb/core/includes
In directory sc8-pr-cvs16:/tmp/cvs-serv6969/includes
Modified Files:
mx_functions_admincp.php mx_functions_blockcp.php
mx_functions_core.php mx_functions_style.php
mx_functions_tools.php
Log Message:
- a couple of minor theme updates
- updated classes docs
Index: mx_functions_blockcp.php
===================================================================
RCS file: /cvsroot/mxbb/core/includes/mx_functions_blockcp.php,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** mx_functions_blockcp.php 30 Jan 2007 16:26:07 -0000 1.17
--- mx_functions_blockcp.php 7 May 2007 19:25:11 -0000 1.18
***************
*** 2,6 ****
/**
*
! * @package blockCP
* @version $Id$
* @copyright (c) 2002-2006 mxBB Project Team
--- 2,6 ----
/**
*
! * @package BlockCP
* @version $Id$
* @copyright (c) 2002-2006 mxBB Project Team
***************
*** 23,27 ****
/**
! * Class mx_blockCP.
*
* The mx_blockcp class provides a Block Control Panel, extending the mx_block class.
--- 23,27 ----
/**
! * Class: mx_blockCP.
*
* The mx_blockcp class provides a Block Control Panel, extending the mx_block class.
***************
*** 32,36 ****
* - $mx_blockcp->generate_cp($block_id);
*
! * @package blockCP
* @author Jon Ohlsson
* @access public
--- 32,36 ----
* - $mx_blockcp->generate_cp($block_id);
*
! * @package BlockCP
* @author Jon Ohlsson
* @access public
Index: mx_functions_core.php
===================================================================
RCS file: /cvsroot/mxbb/core/includes/mx_functions_core.php,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -d -r1.40 -r1.41
*** mx_functions_core.php 30 Jan 2007 16:26:07 -0000 1.40
--- mx_functions_core.php 7 May 2007 19:25:11 -0000 1.41
***************
*** 33,37 ****
/**
! * Class: mx_cache
*
* Wrappers for retrieving config, page and block data.
--- 33,37 ----
/**
! * Class: mx_cache.
*
* Wrappers for retrieving config, page and block data.
***************
*** 2770,2774 ****
/**
! * mx_ip.
*
* This is the CORE IP object.
--- 2770,2774 ----
/**
! * Class: mx_ip.
*
* This is the CORE IP object.
Index: mx_functions_style.php
===================================================================
RCS file: /cvsroot/mxbb/core/includes/mx_functions_style.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** mx_functions_style.php 30 Jan 2007 16:26:07 -0000 1.10
--- mx_functions_style.php 7 May 2007 19:25:12 -0000 1.11
***************
*** 26,30 ****
/**
! * Class: mx_Template
*
* The mx_Template class extends the native phpBB Template class, in reality only redefining the make_filename method.
--- 26,30 ----
/**
! * Class: mx_Template.
*
* The mx_Template class extends the native phpBB Template class, in reality only redefining the make_filename method.
***************
*** 184,188 ****
/**
! * Class mx_user
*
* @package Style
--- 184,188 ----
/**
! * Class: mx_user.
*
* @package Style
Index: mx_functions_admincp.php
===================================================================
RCS file: /cvsroot/mxbb/core/includes/mx_functions_admincp.php,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** mx_functions_admincp.php 30 Jan 2007 16:26:07 -0000 1.33
--- mx_functions_admincp.php 7 May 2007 19:25:10 -0000 1.34
***************
*** 2,6 ****
/**
*
! * @package adminCP
* @version $Id$
* @copyright (c) 2002-2006 mxBB Project Team
--- 2,6 ----
/**
*
! * @package AdminCP
* @version $Id$
* @copyright (c) 2002-2006 mxBB Project Team
***************
*** 52,56 ****
/**
! * Class mx_admin.
*
* The mx_admin class provides all (most) tools for the adminCP Panels - Module area, Module CP, Block CP and Page CP administration.
--- 52,56 ----
/**
! * Class: mx_admin.
*
* The mx_admin class provides all (most) tools for the adminCP Panels - Module area, Module CP, Block CP and Page CP administration.
***************
*** 75,79 ****
* - $result_message = $mx_admin->do_it(MX_DO_UPDATE, MX_BLOCK_TYPE, $block_id); // case 'modify_block':
*
! * @package adminCP
* @author Jon Ohlsson
* @access public
--- 75,79 ----
* - $result_message = $mx_admin->do_it(MX_DO_UPDATE, MX_BLOCK_TYPE, $block_id); // case 'modify_block':
*
! * @package AdminCP
* @author Jon Ohlsson
* @access public
***************
*** 3340,3344 ****
/**
! * Class: mx_dynamic_select
*
* The mx_dynamic_select class generates dynamic select dropdown boxes: the javascript and form itself.
--- 3340,3344 ----
/**
! * Class: mx_dynamic_select.
*
* The mx_dynamic_select class generates dynamic select dropdown boxes: the javascript and form itself.
***************
*** 3350,3354 ****
* - $template->assign_block_vars('javamodule.javafunction.javablock', array( 'DYNAMIC_SELECT' => $tpl_code,
*
! * @package adminCP
* @author Jon Ohlsson
* @access public
--- 3350,3354 ----
* - $template->assign_block_vars('javamodule.javafunction.javablock', array( 'DYNAMIC_SELECT' => $tpl_code,
*
! * @package AdminCP
* @author Jon Ohlsson
* @access public
Index: mx_functions_tools.php
===================================================================
RCS file: /cvsroot/mxbb/core/includes/mx_functions_tools.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** mx_functions_tools.php 5 May 2007 20:12:57 -0000 1.11
--- mx_functions_tools.php 7 May 2007 19:25:12 -0000 1.12
***************
*** 21,25 ****
/**
! * Class mx_text.
*
* This class simplifies all text handling: display text on pages, formatting text for editing and storing.
--- 21,25 ----
/**
! * Class: mx_text.
*
* This class simplifies all text handling: display text on pages, formatting text for editing and storing.
***************
*** 34,37 ****
--- 34,41 ----
* Note: Be sure to check in what format the methods expect its data
* Note(2): Be sure to init the object before usage.
+ *
+ * @package Tools
+ * @author Jon Ohlsson
+ * @access public
*/
class mx_text
***************
*** 57,60 ****
--- 61,73 ----
var $allow_all_html_tags = false;
+ /**
+ * Init.
+ *
+ * @param unknown_type $html_on
+ * @param unknown_type $bbcode_on
+ * @param unknown_type $smilies_on
+ * @param unknown_type $links_on
+ * @param unknown_type $images_on
+ */
function init($html_on = false, $bbcode_on = true, $smilies_on = false, $links_on = true, $images_on = true)
{
***************
*** 104,111 ****
/**
! * decode rich text for display on normal pages.
! *
! * This method decodes full text and handles html, bbcode, images, links, highlights, censored words etc
! * Based on phpBB viewtopic.php and functions_post.php (phpBB 2.0.21)
*
* @param string $text text (from db)
--- 117,121 ----
/**
! * Display.
*
* @param string $text text (from db)
***************
*** 183,187 ****
/**
! * decode simple text for display on normal pages.
*
* Eg: titles, short descriptions etc
--- 193,197 ----
/**
! * Display simple text.
*
* Eg: titles, short descriptions etc
***************
*** 200,204 ****
/**
! * decode rich text for editing in form fields.
*
* @param unknown_type $text
--- 210,216 ----
/**
! * Decode rich text.
! *
! * Decode rich text for editing in form fields.
*
* @param unknown_type $text
***************
*** 229,233 ****
/**
! * decode simple text for editing in form fields.
*
* Eg: titles, usernames, short descriptions etc
--- 241,247 ----
/**
! * Decode simple text.
! *
! * Decode simple text for editing in form fields.
*
* Eg: titles, usernames, short descriptions etc
***************
*** 251,255 ****
/**
! * encode rich form data to be stored in db.
*
* Encode text to be db valid.
--- 265,271 ----
/**
! * Encode.
! *
! * Encode rich form data to be stored in db.
*
* Encode text to be db valid.
***************
*** 278,281 ****
--- 294,299 ----
/**
+ * Encode simple.
+ *
* encode simple form data to be stored in db.
*
***************
*** 298,302 ****
/**
! * encode username form data to be stored in db.
*
* @param unknown_type $username
--- 316,322 ----
/**
! * Encode username.
! *
! * Encode username form data to be stored in db.
*
* @param unknown_type $username
***************
*** 333,337 ****
/**
! * encode rich form data for preview
*
* @param unknown_type $text
--- 353,359 ----
/**
! * Encode preview.
! *
! * Encode rich form data for preview
*
* @param unknown_type $text
***************
*** 376,380 ****
/**
! * encode simple form data for preview
*
* Eg: Works for titles, usernames, etc
--- 398,404 ----
/**
! * Encode preview simple.
! *
! * Encode simple form data for preview
*
* Eg: Works for titles, usernames, etc
***************
*** 394,402 ****
}
! //
! // This function will prepare a posted message for
! // entry into the database.
! // - borrowed from phpBB 2.0.21
! //
function prepare_message($message, $html_on, $bbcode_on, $smile_on, $bbcode_uid = 0)
{
--- 418,437 ----
}
! /**
! * Prepare message.
! *
! * This function will prepare a posted message for
! * entry into the database.
! * - borrowed from phpBB 2.0.21
! *
! * @param unknown_type $message
! * @param unknown_type $html_on
! * @param unknown_type $bbcode_on
! * @param unknown_type $smile_on
! * @param unknown_type $bbcode_uid
! * @return unknown
! *
! * @access private
! */
function prepare_message($message, $html_on, $bbcode_on, $smile_on, $bbcode_uid = 0)
{
***************
*** 447,450 ****
--- 482,493 ----
}
+ /**
+ * Enter description here...
+ *
+ * @param unknown_type $message
+ * @return unknown
+ *
+ * @access private
+ */
function unprepare_message($message)
{
***************
*** 458,461 ****
--- 501,506 ----
* turned on for that post
* @param array $tag Matching text from the message to parse
+ *
+ * @access private
*/
function clean_html($tag)
***************
*** 525,528 ****
--- 570,574 ----
*
* @package Tools
+ * @author Jon Ohlsson
* @access public
*/
***************
*** 895,899 ****
/**
! * Clean
*
* @access public
--- 941,945 ----
/**
! * Clean.
*
* @access public
***************
*** 932,938 ****
}
/**
! * Class: mx_form
*
* @package Tools
* @access public
*/
--- 978,985 ----
}
/**
! * Class: mx_form.
*
* @package Tools
+ * @author Jon Ohlsson
* @access public
*/
***************
*** 1201,1210 ****
/**
! * mx_text_formatting
*
* Description
*
! * @access public
* @author Jon Ohlsson
*
*/
--- 1248,1258 ----
/**
! * Class: mx_text_formatting.
*
* Description
*
! * @package Tools
* @author Jon Ohlsson
+ * @access public
*
*/
***************
*** 1544,1548 ****
/**
! * mx_notification.
*
* This class will handle most PM/MAIL tasks.
--- 1592,1596 ----
/**
! * Class: mx_notification.
*
* This class will handle most PM/MAIL tasks.
***************
*** 1554,1559 ****
* $mx_notification->notify( $mode = MX_PM_MODE, $action = MX_NEW_NOTIFICATION, $to_id, $from_id, $subject, $message, $html_on, $bbcode_on, $smilies_on )
*
! * @access public
* @author Jon Ohlsson
*/
class mx_notification
--- 1602,1608 ----
* $mx_notification->notify( $mode = MX_PM_MODE, $action = MX_NEW_NOTIFICATION, $to_id, $from_id, $subject, $message, $html_on, $bbcode_on, $smilies_on )
*
! * @package Tools
* @author Jon Ohlsson
+ * @access public
*/
class mx_notification
***************
*** 2110,2115 ****
--- 2159,2169 ----
/**
+ * Class module_cache.
+ *
* Generic module cache.
*
+ * @package Tools
+ * @author Jon Ohlsson
+ * @access public
*/
class module_cache
***************
*** 2323,2328 ****
--- 2377,2387 ----
/**
+ * Class mx_custom_field.
+ *
* This is a generic class for custom fields.
*
+ * @package Tools
+ * @author Jon Ohlsson
+ * @access public
*/
class mx_custom_field
***************
*** 2938,2941 ****
--- 2997,3009 ----
}
+ /**
+ * Class: debug.
+ *
+ * Borrowed class from pl.gosu.php
+ *
+ * @package Tools
+ * @author pl.gosu.php
+ * @access public
+ */
class debug
{
|
|
From: Jon O. <jon...@us...> - 2007-05-07 19:25:45
|
Update of /cvsroot/mxbb/core/admin In directory sc8-pr-cvs16:/tmp/cvs-serv6969/admin Modified Files: admin_mx_portal.php Log Message: - a couple of minor theme updates - updated classes docs Index: admin_mx_portal.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/admin_mx_portal.php,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** admin_mx_portal.php 5 May 2007 20:12:55 -0000 1.29 --- admin_mx_portal.php 7 May 2007 19:25:10 -0000 1.30 *************** *** 95,99 **** "L_CONFIGURATION_TITLE" => $lang['Portal_General_Config'], ! "L_CONFIGURATION_EXPLAIN" => $lang['Portal_Config_explain'], "L_GENERAL_SETTINGS" => $lang['Portal_General_settings'], "L_GENERAL_CONFIG_INFO" => $lang['Portal_General_config_info'] . "<br />" . $lang['Portal_General_config_info_explain'], --- 95,99 ---- "L_CONFIGURATION_TITLE" => $lang['Portal_General_Config'], ! "L_CONFIGURATION_EXPLAIN" => $lang['Portal_General_Config_explain'], "L_GENERAL_SETTINGS" => $lang['Portal_General_settings'], "L_GENERAL_CONFIG_INFO" => $lang['Portal_General_config_info'] . "<br />" . $lang['Portal_General_config_info_explain'], |
|
From: Jon O. <jon...@us...> - 2007-05-05 20:40:54
|
Update of /cvsroot/mxbb/core/install/db
In directory sc8-pr-cvs16:/tmp/cvs-serv2311/db
Modified Files:
mssql.php mysql.php mysql4.php postgres7.php
Log Message:
Updated header...
Index: mysql.php
===================================================================
RCS file: /cvsroot/mxbb/core/install/db/mysql.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** mysql.php 6 Apr 2005 06:35:00 -0000 1.1
--- mysql.php 5 May 2007 20:40:25 -0000 1.2
***************
*** 1,22 ****
<?php
! /***************************************************************************
! * mysql.php
! * -------------------
! * begin : Saturday, Feb 13, 2001
! * copyright : (C) 2001 The phpBB Group
! * email : su...@ph...
! *
! * $Id$
! *
! ***************************************************************************/
!
! /***************************************************************************
! *
! * This program is free software; you can redistribute it and/or modify
! * it under the terms of the GNU General Public License as published by
! * the Free Software Foundation; either version 2 of the License, or
! * (at your option) any later version.
! *
! ***************************************************************************/
if(!defined("SQL_LAYER_mysql"))
--- 1,12 ----
<?php
! /**
! *
! * @package mxBB Installation
! * @version $Id$
! * @copyright (c) 2002-2006 mxBB Project Team
! * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2
! * @link http://www.mxbb.net
! *
! */
if(!defined("SQL_LAYER_mysql"))
Index: mysql4.php
===================================================================
RCS file: /cvsroot/mxbb/core/install/db/mysql4.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** mysql4.php 6 Apr 2005 06:35:00 -0000 1.1
--- mysql4.php 5 May 2007 20:40:25 -0000 1.2
***************
*** 1,22 ****
<?php
! /***************************************************************************
! * mysql4.php
! * -------------------
! * begin : Saturday, Feb 13, 2001
! * copyright : (C) 2001 The phpBB Group
! * email : supportphpbb.com
! *
! * $Id$
! *
! ***************************************************************************/
!
! /***************************************************************************
! *
! * This program is free software; you can redistribute it and/or modify
! * it under the terms of the GNU General Public License as published by
! * the Free Software Foundation; either version 2 of the License, or
! * (at your option) any later version.
! *
! ***************************************************************************/
if(!defined("SQL_LAYER_mysql4"))
--- 1,12 ----
<?php
! /**
! *
! * @package mxBB Installation
! * @version $Id$
! * @copyright (c) 2002-2006 mxBB Project Team
! * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2
! * @link http://www.mxbb.net
! *
! */
if(!defined("SQL_LAYER_mysql4"))
***************
*** 141,145 ****
}
}
!
return $this->query_result;
}
--- 131,135 ----
}
}
!
return $this->query_result;
}
Index: mssql.php
===================================================================
RCS file: /cvsroot/mxbb/core/install/db/mssql.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** mssql.php 28 Apr 2006 14:29:37 -0000 1.2
--- mssql.php 5 May 2007 20:40:25 -0000 1.3
***************
*** 1,22 ****
<?php
! /***************************************************************************
! * mssql.php
! * -------------------
! * begin : Saturday, Feb 13, 2001
! * copyright : (C) 2001 The phpBB Group
! * email : supportphpbb.com
! *
! * $Id$
! *
! ***************************************************************************/
!
! /***************************************************************************
! *
! * This program is free software; you can redistribute it and/or modify
! * it under the terms of the GNU General Public License as published by
! * the Free Software Foundation; either version 2 of the License, or
! * (at your option) any later version.
! *
! ***************************************************************************/
if(!defined("SQL_LAYER"))
--- 1,12 ----
<?php
! /**
! *
! * @package mxBB Installation
! * @version $Id$
! * @copyright (c) 2002-2006 mxBB Project Team
! * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2
! * @link http://www.mxbb.net
! *
! */
if(!defined("SQL_LAYER"))
***************
*** 138,142 ****
}
! $this->result = @mssql_query("SELECT $query", $this->db_connect_id);
if( $this->result )
--- 128,132 ----
}
! $this->result = @mssql_query("SELECT $query", $this->db_connect_id);
if( $this->result )
***************
*** 161,165 ****
if( $row = @mssql_fetch_array($result_id) )
{
! $this->next_id[$this->db_connect_id] = $row['id'];
$this->affected_rows[$this->db_connect_id] = $row['affected'];
}
--- 151,155 ----
if( $row = @mssql_fetch_array($result_id) )
{
! $this->next_id[$this->db_connect_id] = $row['id'];
$this->affected_rows[$this->db_connect_id] = $row['affected'];
}
Index: postgres7.php
===================================================================
RCS file: /cvsroot/mxbb/core/install/db/postgres7.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** postgres7.php 17 Apr 2005 10:06:40 -0000 1.2
--- postgres7.php 5 May 2007 20:40:26 -0000 1.3
***************
*** 1,22 ****
<?php
! /***************************************************************************
! * postgres7.php
! * -------------------
! * begin : Saturday, Feb 13, 2001
! * copyright : (C) 2001 The phpBB Group
! * email : supportphpbb.com
! *
! * $Id$
! *
! ***************************************************************************/
!
! /***************************************************************************
! *
! * This program is free software; you can redistribute it and/or modify
! * it under the terms of the GNU General Public License as published by
! * the Free Software Foundation; either version 2 of the License, or
! * (at your option) any later version.
! *
! ***************************************************************************/
if(!defined("SQL_LAYER_postgres"))
--- 1,12 ----
<?php
! /**
! *
! * @package mxBB Installation
! * @version $Id$
! * @copyright (c) 2002-2006 mxBB Project Team
! * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2
! * @link http://www.mxbb.net
! *
! */
if(!defined("SQL_LAYER_postgres"))
|
|
From: Jon O. <jon...@us...> - 2007-05-05 20:40:54
|
Update of /cvsroot/mxbb/core/install In directory sc8-pr-cvs16:/tmp/cvs-serv2311 Modified Files: mx_install.php Log Message: Updated header... Index: mx_install.php =================================================================== RCS file: /cvsroot/mxbb/core/install/mx_install.php,v retrieving revision 1.74 retrieving revision 1.75 diff -C2 -d -r1.74 -r1.75 *** mx_install.php 28 Apr 2007 20:49:01 -0000 1.74 --- mx_install.php 5 May 2007 20:40:27 -0000 1.75 *************** *** 2,9 **** /** * ! * @package mxBB Portal Core * @version $Id$ * @copyright (c) 2002-2006 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ --- 2,10 ---- /** * ! * @package mxBB Installation * @version $Id$ * @copyright (c) 2002-2006 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 + * @link http://www.mxbb.net * */ |
|
From: Jon O. <jon...@us...> - 2007-05-05 20:40:54
|
Update of /cvsroot/mxbb/core/install/schemas In directory sc8-pr-cvs16:/tmp/cvs-serv2311/schemas Modified Files: upgrade_schemas_map.php Log Message: Updated header... Index: upgrade_schemas_map.php =================================================================== RCS file: /cvsroot/mxbb/core/install/schemas/upgrade_schemas_map.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** upgrade_schemas_map.php 28 Apr 2007 19:43:42 -0000 1.14 --- upgrade_schemas_map.php 5 May 2007 20:40:27 -0000 1.15 *************** *** 1,38 **** <?php - /** ------------------------------------------------------------------------ - * subject : mxBB-Portal Upgrade Schemas Map - * begin : june, 2002 - * copyright : (C) 2002-2005 mxBB-Portal - * email : jon...@ho... - * project site : www.mx-system.com - * - * description : - * ------------------------------------------------------------------------- - * - * $Id$ - */ - /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! */ ! ! // ! // The following array is processed by mx_install.php script to guess the SQL schemas ! // that should be applied when upgrading a target system. ! // ! // Please, note we use here 'mx_table_' as table prefix, as we also do in schema files. ! // This will be replaced by mx_install.php with the real table prefix selected by the ! // user in the installation panels. ! // ! // The map is read as follows: ! // ! // If the SQL statement fails, mx_install.php will process upgrades schemas from that ! // point till the end of the table. So, the order of elements IS very important. ;-) ! // ! // When adding more elements to the map, please do so at the end. ! // $upgrade_schemas_map = array( --- 1,12 ---- <?php /** ! * ! * @package mxBB Installation ! * @version $Id$ ! * @copyright (c) 2002-2006 mxBB Project Team ! * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 ! * @link http://www.mxbb.net ! * ! */ $upgrade_schemas_map = array( *************** *** 51,54 **** //echo('upgrade_schemas_map: '.var_export($upgrade_schemas_map, true)."<br />\n"); // -------------------- - ?> \ No newline at end of file --- 25,27 ---- |
|
From: Jon O. <jon...@us...> - 2007-05-05 20:40:54
|
Update of /cvsroot/mxbb/core/install/includes
In directory sc8-pr-cvs16:/tmp/cvs-serv2311/includes
Modified Files:
template.php
Log Message:
Updated header...
Index: template.php
===================================================================
RCS file: /cvsroot/mxbb/core/install/includes/template.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** template.php 16 Apr 2005 18:23:58 -0000 1.2
--- template.php 5 May 2007 20:40:26 -0000 1.3
***************
*** 1,30 ****
<?php
- /***************************************************************************
- * template.php
- * -------------------
- * begin : Saturday, Feb 13, 2001
- * copyright : (C) 2001 The phpBB Group
- * email : su...@ph...
- *
- * $Id$
- *
- *
- ***************************************************************************/
-
- /***************************************************************************
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- ***************************************************************************/
-
/**
! * Template class. By Nathan Codding of the phpBB group.
! * The interface was originally inspired by PHPLib templates,
! * and the template file formats are quite similar.
! *
! */
class Template {
--- 1,12 ----
<?php
/**
! *
! * @package mxBB Installation
! * @version $Id$
! * @copyright (c) 2002-2006 mxBB Project Team
! * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2
! * @link http://www.mxbb.net
! *
! */
class Template {
***************
*** 406,410 ****
else
{
! $code_lines[$i] = '$' . $retvar . '.= \'' . $code_lines[$i] . '\' . "\\n";';
}
}
--- 388,392 ----
else
{
! $code_lines[$i] = '$' . $retvar . '.= \'' . $code_lines[$i] . '\' . "\\n";';
}
}
|
|
From: Jon O. <jon...@us...> - 2007-05-05 20:33:34
|
Update of /cvsroot/mxbb/mx_slides/templates/subSilver In directory sc8-pr-cvs16:/tmp/cvs-serv30431/templates/subSilver Added Files: mx_textblock_bbcode.tpl mx_textblock_html.tpl mx_textblock_multi.tpl slides_index.tpl subSilver.cfg Log Message: First commit --- NEW FILE: subSilver.cfg --- <?php // // ** Configuration file for subSilver template ** // // ** copyright (C) 2001 The phpBB Group ** // ** Created by subBlue design ** // ** www.subBlue.com ** // // ** subSilver dev. forum: www.subSky.com/phpBB2/ ** // // $Id: subSilver.cfg,v 1.1 2007/05/05 20:33:29 jonohlsson Exp $ // // Please note that to enable support of different languages // the {LANG} place holder is available. This will be replaced // with xxx where xxx is the users selected language. If // that language isn't available it will default to english. // Therefore you MUST ensure you have at least a english // directory if you choose to localise your template // // // Do not alter this line! // define(MX_TEMPLATE_CONFIG, TRUE); $mx_template_config = true; // ------------------------------------------------------------------------- // Prefix with PORTAL_URL // ------------------------------------------------------------------------- $current_template_images = PORTAL_URL . $current_template_path . "/images"; // ------------------------------------------------------------------------- // 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']; ?> --- NEW FILE: slides_index.tpl --- <script type="text/javascript" src="{MX_ROOT_PATH}{MODULE_ROOT_PATH}slides/includes/js/common.js"></script> <script type="text/javascript" src="{MX_ROOT_PATH}{MODULE_ROOT_PATH}slides/shared/XulMenu/ie5.js"></script> <script type="text/javascript" src="{MX_ROOT_PATH}{MODULE_ROOT_PATH}slides/includes/js/management.js.php"></script> <script type="text/javascript" src="{MX_ROOT_PATH}{MODULE_ROOT_PATH}slides/includes/js/debug.js"></script> <script type="text/javascript" src="{MX_ROOT_PATH}modules/mx_shared/ajax/AjaxRequest_comp.js"></script> <script type="text/javascript"> function _mxBlock(id, page) { this.block_id = id; this.page_id = page; } mxBlock = new _mxBlock('{BLOCK_ID}','{PAGE_ID}'); slideBlocks = new Array(); <!-- BEGIN slides --> slideBlocks['{slides.ID}'] = {slides.BLOCK_ID}; <!-- END slides --> </script> <style type="text/css"> <!-- #menu { position: relative z-index: 10; } #menu_top { height: 30px; padding: 15px 15px 0 15px; } td.simpledoc_title { font-size: 13px; font-weight: bold; margin: 0; padding: 10px; margin-bottom: 0.6em; border: {T_TH_COLOR1} 1px solid; border-style: none none solid none; } .nomargin { margin-bottom: 0; } .hr { font-size: 0px; border-width: 1px; border-color: {T_TH_COLOR1}; border-style: solid none none none; margin-top: 2px; margin-bottom: 2px; } #main { } #left { padding: 5px 5px 5px 5px; border-right: 1px solid {T_TH_COLOR1}; vertical-align: top; } #right { padding: 5px 5px 5px 5px; vertical-align: top; height: 100%; width: 100%;} #tabs-loading, #tabs-saving { position: absolute; z-index: 10; display: none; opacity: 0.8; -moz-opacity: 0.8; filter: alpha(opacity=80); } img { border: 0; } ul { margin: 1em 0 1em 3em; padding: 0; } #tabs-data, #tabs-data table { font-family: {T_FONTFACE1}; font-size: 11px; color: {T_BODY_TEXT}; background: {T_TR_COLOR1}; width: 100%; } .t0 { border: {T_TH_COLOR1} 1px solid; } .t1 { background: {T_TR_COLOR2}; padding: 3px 8px; } .t2 { background: {T_TR_COLOR2}: 3px 8px; } #saved { color: {T_BODY_TEXT}; } .error { color: red; } .message { color: green; } .note { font-weight: bold; } .message-box { padding: 1em; background: {T_TD_COLOR2}; border: {T_TH_COLOR3} 1px solid; } pre { background-color: {T_TR_COLOR2}; padding: 0.75em 1.5em; border: 1px solid {T_TH_COLOR1}; } .contents { float: right; background-color: {T_TR_COLOR2}; padding: 0.75em; margin: 0 0 0.75em 0.75em; border: 1px solid {T_TH_COLOR1}; } .contents ul { margin-left: 1.2em; margin-right: 0.75em; margin-bottom: 0; padding: 0; } /* SimpleDoc [www.gosu.pl], style for DynamicTree */ .DynamicTree { font-family: {T_FONTFACE1}; font-size: 11px; white-space: nowrap; cursor: default; } .DynamicTree .wrap1, .DynamicTree .actions { -moz-user-select: none; } .DynamicTree a, .DynamicTree a:hover { color: {T_BODY_VLINK}; text-decoration: none; cursor: default; } .DynamicTree .text { padding: 1px; cursor: pointer; } .DynamicTree .text-active { background: {T_TR_COLOR1}; padding: 1px; cursor: pointer; } .DynamicTree div.folder img, .DynamicTree div.doc img { border: 0; vertical-align: -30%; } .DynamicTree .counter { float:right; margin-top: -15px; } * html .DynamicTree .folder img, * html .DynamicTree .doc img { vertical-align: -40%; } .DynamicTree .section { background: url({MX_ROOT_PATH}{MODULE_ROOT_PATH}bugsbt/shared/DynamicTree/images/tree-branch.gif) repeat-y; display: none; } .DynamicTree .last { background: none; } .DynamicTree div.folder div.folder { margin-left: 18px; } .DynamicTree div.doc div.doc, .DynamicTree div.folder div.doc { margin-left: 18px; } .DynamicTree ul {} .DynamicTree li.folder {} .DynamicTree li.doc {} .DynamicTree .actions { margin-top: 7px; margin-left: 0px; height: 20px; float:left; } .DynamicTree .tooltip { margin-top: 28px; margin-left: 0px; height: 5px; } .DynamicTree .moveUp, .DynamicTree .moveDown, .DynamicTree .moveLeft, .DynamicTree .moveRight, .DynamicTree .insert, .DynamicTree .remove { margin-top: 4px; width: 20px; height: 20px; display: block; border: 1px solid {T_TH_COLOR1}; cursor: default; float:left; } .DynamicTree .moveUp:hover, .DynamicTree .moveDown:hover, .DynamicTree .moveLeft:hover, .DynamicTree .moveRight:hover, .DynamicTree .insert:hover, .DynamicTree .remove:hover { background-color: {T_TR_COLOR1}; border: 1px solid {T_TH_COLOR3}; } .DynamicTree .top { font-weight: bold; padding-left: 0px; line-height: 20px; color: {T_BODY_TEXT}; border-width: 2px; border-color: {T_TH_COLOR2}; border-style: none none border-width: 1px; border-color: {T_TH_COLOR2}; border-style: none none solid none; margin-bottom: 5px;} .DynamicTree .wrap1 { padding: 10px; border: 1px solid {T_TH_COLOR1}; width: 200px; height:300px; overflow-x:hidden; overflow-y:auto;} .DynamicTree .wrap2 { margin-left: 2px; } .DynamicTree .wrap3 { padding: 10px; border: 1px solid {T_TH_COLOR1}; width: 200px;} .DynamicTree #tree-insert-form { display: none; margin-top: 5em; } .DynamicTree #tree-insert-form .label { text-align: right; width: 50px; padding-right: 8px; } .DynamicTree #tree-insert-form .input { margin-bottom: 2px; padding-left: 3px; } .DynamicTree #tree-insert-form select { margin-bottom: 2px; } .DynamicTree #tree-insert-form .button { margin-top: 4px; } --> </style> <table cellspacing="1" cellpadding="0" width="100%" height="100%" class="forumline" style="border-top:none;"> <tr> <td class="row2"> <table cellspacing="0" cellpadding="0" width="100%"> <tr> <td> <!-- MAIN --> <table cellspacing="0" cellpadding="0" width="100%" height="100%" id="main"> <tr> <td id="left" class="row1"> <div class="DynamicTree"> <table cellspacing="0" cellpadding="0"> <tr> <td class="row2"> <div class="wrap1"> <div class="top">{L_TOC}</div> <div class="row2"> <div id="tree"> {TREE_HTML} </div> </div> <div id="countdown"></div> </div> </td> </tr> </table> </div> <script type="text/javascript" src="{MX_ROOT_PATH}{MODULE_ROOT_PATH}slides/includes/js/init_main.js"></script> </td> <td id="right" class="row1"> <table cellspacing="0" cellpadding="0" width="100%" height="100%" id="tabs" class="XulTabs"> <tr> <td colspan="2"> <table cellspacing="0" cellpadding="0" class="content"> <tr> <td class="wrap2"> <div id="tabs-loading">{L_LOADING}</div> <div id="tabs-saving">{L_SAVING}</div> <div id="tabs-data"></div> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> <script type="text/javascript"> if (getCookie("openEditBug")) el('openEditBug').checked = "checked"; </script> --- NEW FILE: mx_textblock_bbcode.tpl --- <span class="cattitle">{L_TITLE}</span> <table width="100%" cellpadding="4" cellspacing="1" border="0"> <tr> <td class="row1" align="left" >{U_TEXT}</td> </tr> </table> --- NEW FILE: mx_textblock_multi.tpl --- <span class="cattitle">{L_TITLE}</span> <table width="100%" cellpadding="4" cellspacing="1" border="0"> <!-- BEGIN switch_toc --> <tr> <td class="row1" align="left" colspan="2"><br /><span class="topictitle">{L_TOC}</span><br /><hr /><span class="nav"> <!-- BEGIN pages --> {switch_toc.pages.TOC_ITEM} <!-- END pages --> </span></td> </tr> <!-- END switch_toc --> <tr> <td class="row1" align="left" colspan="2"><span class="{TEXT_STYLE}">{U_TEXT}</span></td> </tr> <!-- BEGIN switch_pages --> <tr> <td class="row1" align="center" colspan="2"><span class="nav"><hr />{L_GOTO_PAGE} <!-- BEGIN pages --> {switch_pages.pages.PAGE_LINK} <!-- END pages --> </span></td> </tr> <!-- END switch_pages --> </table> --- NEW FILE: mx_textblock_html.tpl --- <span class="cattitle">{L_TITLE}</span> <table width="100%" cellpadding="4" cellspacing="1" border="0"> <tr> <td class="row1" align="left">{U_TEXT}</td> </tr> </table> |
|
From: Jon O. <jon...@us...> - 2007-05-05 20:33:29
|
Update of /cvsroot/mxbb/mx_slides/templates/subSilver/images In directory sc8-pr-cvs16:/tmp/cvs-serv30431/templates/subSilver/images Added Files: index.htm Log Message: First commit --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |
|
From: Jon O. <jon...@us...> - 2007-05-05 20:33:28
|
Update of /cvsroot/mxbb/mx_slides/templates In directory sc8-pr-cvs16:/tmp/cvs-serv30431/templates Added Files: index.htm Log Message: First commit --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |
|
From: Jon O. <jon...@us...> - 2007-05-05 20:33:28
|
Update of /cvsroot/mxbb/mx_slides/slides/modules/tabs In directory sc8-pr-cvs16:/tmp/cvs-serv30431/slides/modules/tabs Added Files: .htaccess slides__tab-index.php Log Message: First commit --- NEW FILE: slides__tab-index.php --- <?php /** * * @package mxBB Portal Module - mx_kb * @version $Id: slides__tab-index.php,v 1.1 2007/05/05 20:33:24 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 * */ define( 'IN_PORTAL', 1 ); $mx_root_path = "./../../../../../"; $phpEx = substr(strrchr(__FILE__, '.'), 1); include($mx_root_path . 'common.' . $phpEx); define( 'MXBB_MODULE', true ); define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.' . $phpEx ) ); $is_block = true; // // Page selector // $page_id = $mx_request_vars->request('page_id', MX_TYPE_INT, 0); // // Start session, user and style (template + theme) management // - populate $userdata, $lang, $theme, $images and initiate $template. // $mx_user->init($user_ip, - ( 1000 + $page_id )); // // Load and instatiate page and block classes // $mx_page = new mx_page(); $mx_page->init( $page_id ); $mx_block = new mx_block(); // // Block selector // $block_id = $mx_request_vars->request('block_id', MX_TYPE_INT, 0); $slides_block_id = $mx_request_vars->request('slides_block_id', MX_TYPE_INT, 0); // // Instatiate block // $mx_block->init( $block_id ); // // Page Auth and IP filter // if ( !$mx_page->auth_view && $userdata['session_logged_in'] ) { echo('Not authorized - 1'); return; } elseif ( !$mx_page->auth_view && !$userdata['session_logged_in'] ) { echo('Not authorized - 2'); return; } elseif ( !$mx_page->auth_ip ) { echo('Not authorized - 3'); return; } // // Page Auth and IP filter // if ( !( ( $mx_block->auth_view && $mx_block->show_block ) || $mx_block->auth_mod ) ) { echo('Not authorized - 4'); return; } // // Define $module_root_path, to be used within blocks // $module_root_path = $mx_root_path . $mx_block->module_root_path; // ------------------------------------------------------------------------------------------------------------------------- // ------------------------------------------------------------------------------------------------------------------------- // Start // ------------------------------------------------------------------------------------------------------------------------- // ------------------------------------------------------------------------------------------------------------------------- // =================================================== // Include the common file // =================================================== include_once( $module_root_path . 'slides/slides_common.' . $phpEx ); // =================================================== // Is admin? // =================================================== $is_admin = ( ( $userdata['user_level'] == ADMIN ) && $userdata['session_logged_in'] ) ? true : 0; // =================================================== // if the database disabled give them a nice message // =================================================== if ( intval( $slides_config['module_enable'] ) ) { mx_message_die( GENERAL_MESSAGE, $lang['slides_disable'] ); } $CONFIG['encoding'] = 'iso-8859-1'; // Date in the past header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // always modified header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // HTTP/1.1 header("Cache-Control: no-store, no-cache, must-revalidate"); header("Cache-Control: post-check=0, pre-check=0", false); // HTTP/1.0 header("Pragma: no-cache"); header('Content-type: text/html; charset='.$CONFIG['encoding']); // // Here we go ;) // $mx_block = new mx_block(); $mx_block->init( $slides_block_id ); $module_root_path = $mx_root_path . $mx_block->module_root_path; $module_root_path = $mx_root_path . 'modules/mx_slides/'; // Hack to use custom textblock template files include($mx_root_path . $mx_block->module_root_path . $mx_block->block_file); ?> --- NEW FILE: .htaccess --- allow from all |
|
From: Jon O. <jon...@us...> - 2007-05-05 20:33:28
|
Update of /cvsroot/mxbb/mx_slides/slides/includes/js In directory sc8-pr-cvs16:/tmp/cvs-serv30431/slides/includes/js Added Files: .htaccess common.js debug.js index.htm init_main.js management.js.php Log Message: First commit --- NEW FILE: management.js.php --- // +--------------------------------------------------------------------+ // | DO NOT REMOVE THIS | // +--------------------------------------------------------------------+ // | management.js | // | Some functions, stuff for documents & folders management. | // +--------------------------------------------------------------------+ // | Author: Cezary Tomczak [www.gosu.pl] | // | Project: SimpleDoc | // | URL: http://gosu.pl/php/simpledoc.html | // | License: GPL | // +--------------------------------------------------------------------+ function Fader(id) { this.fadein = function() { self.direction = 1; self.opacity = 00; this.timerId = setInterval(change, 5); }; this.fadeout = function() { self.direction = 0; self.opacity = 100; this.timerId = setInterval(change, 5); }; this.stop = function() { clearInterval(this.timerId); }; function change() { self.opacity += (self.direction ? 20 : -20); document.getElementById(self.id).style.opacity = self.opacity/100; document.getElementById(self.id).style.MozOpacity = self.opacity/100; document.getElementById(self.id).style.filter = "alpha(opacity="+self.opacity+")"; if (self.opacity == 00 && self.direction == 0) {self.stop();} if (self.opacity == 100 && self.direction == 1) {self.stop();} } var self = this; this.id = id; this.timerId = null; this.opacity = 00; this.direction = 1; } product_update = false; tabsFader = new Fader("tabs-data"); //var tabsLoading = new Fader("tabs-data"); //var tabsSaving = new Fader("tabs-saving"); //var AjaxRequest = new AjaxRequest(); //function tabsLoadingOn() { document.getElementById("tabs-loading").style.display = "block"; tabsLoading.start(); } function tabsLoadingOn() { } //function tabsLoadingOff() { document.getElementById("tabs-loading").style.display = "none"; tabsLoading.stop(); } function tabsLoadingOff() { } //function tabsSavingOn() { document.getElementById("tabs-saving").style.display = "block"; tabsSaving.start(); } function tabsSavingOn() { } //function tabsSavingOff() { document.getElementById("tabs-saving").style.display = "none"; tabsSaving.stop(); } function tabsSavingOff() { } function viewBug(block_id) { if ( !block_id ) { alert("You have to select a Bug to perform this action."); return; } AjaxRequest.get( { 'url':'modules/mx_slides/slides/modules/tabs/slides__tab-index.php' ,'parameters':{ 'slides_block_id': block_id, 'mode':'view', 'block_id':mxBlock.block_id, 'page_id':mxBlock.page_id } ,'onLoading':function() { clearTabs(); tabsFader.fadeout();} ,'onComplete':function() { runSlideShow(); tabsLoadingOff(); tabsFader.fadein();} ,'onSuccess':function(req){ el('tabs-data').innerHTML = req.responseText; updateTabs('tab_view');} ,'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!'; } } ); } function clearTabs() { if(el('tab_bugs')) {el('tab_bugs').className = "tab";} if(el('tab_report')) {el('tab_report').className = "tab view";} if(el('tab_view')) {el('tab_view').className = "tab";} if(el('tab_edit')) {el('tab_edit').className = "tab right";} if(el('tab_delete')) {el('tab_delete').className = "tab view";} if (product_update) { updateTree(); product_update = false; } //if(el('tabs-data')) {el('tabs-data').innerHTML = "";} } function updateTabs(active){ if(el('tab_bugs')) {el('tab_bugs').className = "tab"+((active=='tab_bugs')?"-active":"");} if(el('tab_report')) {el('tab_report').className = "tab"+((active=='tab_report')?"-active":"")+" view";} if(el('tab_view')) {el('tab_view').className = "tab"+((active=='tab_view')?"-active":"")+"";} if(el('tab_edit')) {el('tab_edit').className = "tab"+((active=='tab_edit')?"-active":"")+" right";} if(el('tab_delete')) {el('tab_delete').className = "tab"+((active=='tab_delete')?"-active":"")+" view";} } --- NEW FILE: init_main.js --- // Set slideShowSpeed (milliseconds) var slideShowSpeed = 5000; // Initial variables var t; var j = 0; var p = slideBlocks.length; var counter = ""; function runSlideShow(){ blockId = j; resetSlides(); document.getElementById("tree-"+slideBlocks[j]).className = "text-active"; j = j + 1; if (j > (p-1)) j=0; t = setTimeout('viewBug(slideBlocks[j])', slideShowSpeed); countDown(slideShowSpeed/1000); } function resetSlides(){ for (var i = 0; i < p; i++) { document.getElementById("tree-"+slideBlocks[i]).className = "doc"; el('countdown'+i).innerHTML = ""; } } function countDown(count) { clearInterval(counter); currentCount = count; if(el('countdown'+blockId)) {el('countdown'+blockId).innerHTML = currentCount}; currentCount = currentCount - 1; if (currentCount > -1){ counter = window.setTimeout('countDown(currentCount)',1000); } } viewBug(slideBlocks[0]); --- NEW FILE: .htaccess --- allow from all --- NEW FILE: common.js --- // +--------------------------------------------------------------------+ // | DO NOT REMOVE THIS | // +--------------------------------------------------------------------+ // | common.js | // | Some common help functions used all over the project. | // +--------------------------------------------------------------------+ // | Author: Cezary Tomczak [www.gosu.pl] | // | Project: SimpleDoc | // | URL: http://gosu.pl/php/simpledoc.html | // | License: GPL | // +--------------------------------------------------------------------+ function element(id) { return document.getElementById(id); } function elem(id) { return document.getElementById(id); } function el(id) { return document.getElementById(id); } /* Check whether array contains given string */ Array.prototype.contains = function(s) { for (var i = 0; i < this.length; i++) { if (this[i] === s) { return true; } } return false; }; /* Finds the index of the first occurence of item in the array, or -1 if not found */ Array.prototype.indexOf = function(item) { for (var i = 0; i < this.length; i++) { if (this[i] === item) { return i; } } return -1; }; /* Get the last element from the array */ Array.prototype.getLast = function() { return this[this.length-1]; }; /* Remove element with given index (mutates) */ Array.prototype.removeByIndex = function(index) { this.splice(index, 1); }; /* Remove elements with such value (mutates) */ Array.prototype.removeByValue = function(value) { var i, indexes = []; for (i = 0; i < this.length; i++) { if (this[i] === value) { indexes.push(i); } } for (i = indexes.length - 1; i >= 0; i--) { this.splice(indexes[i], 1); } }; /* Push an element at specified index */ Array.prototype.pushAtIndex = function(el, index) { this.splice(index, 0, el); }; /* Strip whitespace from the beginning and end of a string */ String.prototype.trim = function() { return this.replace(/^\s*|\s*$/g, ""); }; /* Count the number of substring occurrences */ String.prototype.substrCount = function(s) { return this.split(s).length - 1; }; // Getting, Setting and Deleteing cookies. // Author: Cezary Tomczak [www.gosu.pl] // Note: name cannot contain 2 chars: =; function Cookie() { this.get = function(name) { var cookies = document.cookie.split(";"); for (var i = 0; i < cookies.length; ++i) { var a = cookies[i].split("="); if (a.length == 2) { a[0] = a[0].trim(); a[1] = a[1].trim(); if (a[0] == name) { return unescape(a[1]); } } } return ""; }; this.set = function(name, value, seconds, path) { var cookie = (name + "=" + escape(value)); if (seconds) { var date = new Date(new Date().getTime()+seconds*1000); cookie += ("; expires="+date.toGMTString()); } cookie += (path ? "; path="+path : ""); document.cookie = cookie; }; this.del = function(name, path) { var cookie = (name + "="); cookie += (path ? "; path="+path : ""); cookie += "; expires=Thu, 01-Jan-70 00:00:01 GMT"; document.cookie = cookie; }; } var COOKIE_MONTH = 3600*24*30; var COOKIE_YEAR = 3600*24*30*12; function getCookie(name) { var cookies = document.cookie.split(";"); for (var i = 0; i < cookies.length; ++i) { var a = cookies[i].split("="); if (a.length == 2) { a[0] = a[0].trim(); a[1] = a[1].trim(); if (a[0] == name) { return unescape(a[1]); } } } return ""; } function setCookie(name, value, seconds, path) { var cookie = (name + "=" + escape(value)); if (seconds) { var date = new Date(new Date().getTime()+seconds*1000); cookie += ("; expires="+date.toGMTString()); } cookie += (path ? "; path="+path : ""); document.cookie = cookie; } function delCookie(name, path) { var cookie = (name + "="); cookie += (path ? "; path="+path : ""); cookie += "; expires=Thu, 01-Jan-70 00:00:01 GMT"; document.cookie = cookie; } function addEvent(obj, event, func) { if (obj.addEventListener) { obj.addEventListener(event, func, false); } else if (obj.attachEvent) { obj.attachEvent("on"+event, func); } } --- NEW FILE: debug.js --- var debugWindow = null; function debug(s, name) { if (!debugWindow) { debugWindow = window.open("", "debugWindow", "width=400,height=500,scrollbars=yes,resizable=yes"); debugWindow.document.write("<pre>"); } if (name) { debugWindow.document.write('<div style="font: 12px sans-serif; font-weight: bold;">'+name+'</div>'); } debugWindow.document.write(s + "\n"); } function debugObject(obj, name) { var s = ''; for (var i in obj) { if (obj[i] && (typeof obj[i] == "object" || typeof obj[i] == "function") && obj[i].toString) { s += "Object." + i + "=" + obj[i].toString().replace(/\n/g, "") + "\n"; } else { s += "Object." + i + "=" + obj[i] + "\n"; } } debug(s, name); } function debugArray(arr, name) { var s = ''; for (var i = 0; i < arr.length; ++i) { s += "Array[" + i + "]=" + arr[i] + "\n"; } debug(s, name); } --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |
|
From: Jon O. <jon...@us...> - 2007-05-05 20:33:27
|
Update of /cvsroot/mxbb/mx_slides/slides/modules In directory sc8-pr-cvs16:/tmp/cvs-serv30431/slides/modules Added Files: index.htm slides_index.php Log Message: First commit --- NEW FILE: slides_index.php --- <?php /** * * @package mxBB Portal Module - mx_slides * @version $Id: slides_index.php,v 1.1 2007/05/05 20:33:24 jonohlsson Exp $ * @copyright (c) 2002-2006 [Jon Ohlsson, Cezary Tomczak] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ if( !defined('IN_PORTAL') ) { die("Hacking attempt"); } class mx_slides_index extends mx_slides_public { function main( $action ) { global $template, $lang, $db, $theme, $board_config, $phpEx, $slides_config, $debug, $mx_root_path, $module_root_path; global $mx_page, $mx_block, $mx_request_vars, $article_path; $current_article_id = $mx_request_vars->is_request('k') ? $mx_request_vars->request('k', MX_TYPE_INT, '') : ''; $template->set_filenames( array( 'body' => 'slides_index.tpl' )); $tree_html = $this->generate_app_tree($current_article_id); $template->assign_vars( array( 'MX_ROOT_PATH' => $mx_root_path, 'MODULE_ROOT_PATH' => $module_root_path, 'TEMPLATE_PATH' => $template->module_template_path, 'BLOCK_ID' => $mx_block->block_id, 'PAGE_ID' => $mx_page->page_id, 'TREE_HTML' => $tree_html, // // Theme // 'T_TR_COLOR1' => '#'.$theme['tr_color1'], // row1 'T_TR_COLOR2' => '#'.$theme['tr_color2'], // row2 'T_TR_COLOR3' => '#'.$theme['tr_color3'], // row3 'T_BODY_TEXT' => '#'.$theme['body_text'], 'T_BODY_LINK' => '#'.$theme['body_link'], 'T_BODY_VLINK' => '#'.$theme['body_vlink'], 'T_BODY_HLINK' => '#'.$theme['body_hlink'], 'T_TH_COLOR1' => '#'.$theme['th_color1'], // Border Colors (main) 'T_TH_COLOR2' => '#'.$theme['th_color2'], // Border Colors (forumline) 'T_TH_COLOR3' => '#'.$theme['th_color3'], // Border Colors (bozes) 'T_FONTFACE1' => $theme['fontface1'], 'T_TD_COLOR1' => '#'.$theme['td_color1'], // Background code/quote 'T_TD_COLOR2' => '#'.$theme['td_color2'], // Background post/input // // Tree // 'L_TOC' => $lang['sd_Toc'], )); foreach ( $this->slide_blocks as $temp => $block_id ) { $template->assign_block_vars('slides', array( 'ID' => $temp, 'BLOCK_ID' => $block_id, )); } } } ?> --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |
|
From: Jon O. <jon...@us...> - 2007-05-05 20:33:24
|
Update of /cvsroot/mxbb/mx_slides/slides/includes In directory sc8-pr-cvs16:/tmp/cvs-serv30431/slides/includes Added Files: functions.php functions_slides.php index.htm slides_constants.php Log Message: First commit --- NEW FILE: functions.php --- <?php /** * * @package mxBB Portal Module - mx_slides * @version $Id: functions.php,v 1.1 2007/05/05 20:33:19 jonohlsson Exp $ * @copyright (c) 2002-2006 [Jon Ohlsson, Cezary Tomczak] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ if ( !defined( 'IN_PORTAL' ) ) { die( "Hacking attempt" ); } /** * mx_slides_functions. * * This class is used for general kb handling * * @access public * @author Jon Ohlsson * */ class mx_slides_functions { /** * This class is used for general slides handling * * @param unknown_type $config_name * @param unknown_type $config_value */ function set_config( $config_name, $config_value ) { global $mx_slides_cache, $slides_config, $db, $mx_slides; $mx_slides->debug('functions->set_config', basename( __FILE__ )); /* $sql = "UPDATE " . BUGSBT_CONFIG_TABLE . " SET config_value = '" . str_replace( "\'", "''", $config_value ) . "' WHERE config_name = '$config_name'"; if ( !$db->sql_query( $sql ) ) { mx_message_die( GENERAL_ERROR, "Failed to update slides configuration for $config_name", "", __LINE__, __FILE__, $sql ); } if ( !$db->sql_affectedrows() && !isset( $slides_config[$config_name] ) ) { $sql = 'INSERT INTO ' . BUGSBT_CONFIG_TABLE . " (config_name, config_value) VALUES ('$config_name', '" . str_replace( "\'", "''", $config_value ) . "')"; if ( !$db->sql_query( $sql ) ) { mx_message_die( GENERAL_ERROR, "Failed to update slides configuration for $config_name", "", __LINE__, __FILE__, $sql ); } } $slides_config[$config_name] = $config_value; $mx_slides_cache->put( 'config', $slides_config ); */ } /** * Enter description here... * * @return unknown */ function slides_config() { global $db; /* $sql = "SELECT * FROM " . BUGSBT_CONFIG_TABLE; if ( !( $result = $db->sql_query( $sql ) ) ) { mx_message_die( GENERAL_ERROR, 'Couldnt query slides configuration', '', __LINE__, __FILE__, $sql ); } while ( $row = $db->sql_fetchrow( $result ) ) { $slides_config[$row['config_name']] = trim( $row['config_value'] ); } $db->sql_freeresult( $result ); return ( $slides_config ); */ } /** * Enter description here... * * @param unknown_type $query * @param unknown_type $total * @param unknown_type $offset * @return unknown */ function sql_query_limit( $query, $total, $offset = 0, $sql_cache = false ) { global $db; $query .= ' LIMIT ' . ( ( !empty( $offset ) ) ? $offset . ', ' . $total : $total ); return $sql_cache ? $db->sql_query( $query, $sql_cache ) : $db->sql_query( $query ); } } ?> --- NEW FILE: functions_slides.php --- <?php /** * * @package mxBB Portal Module - mx_slides * @version $Id: functions_slides.php,v 1.1 2007/05/05 20:33:20 jonohlsson Exp $ * @copyright (c) 2002-2006 [Jon Ohlsson, Cezary Tomczak] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ if ( !defined( 'IN_PORTAL' ) ) { die( "Hacking attempt" ); } /** * Public mx_kb class. * */ class mx_slides_public extends mx_slides { var $modules = array(); var $module_name = ''; /** * load module * * @param unknown_type $module_name send module name to load it */ function module( $module_name ) { if ( !class_exists( 'mx_slides_' . $module_name ) ) { global $module_root_path, $phpEx; $this->module_name = $module_name; require_once( $module_root_path . 'slides/modules/slides_' . $module_name . '.' . $phpEx ); eval( '$this->modules[' . $module_name . '] = new mx_slides_' . $module_name . '();' ); if ( method_exists( $this->modules[$module_name], 'init' ) ) { $this->modules[$module_name]->init(); } } } /** * this will be replaced by the loaded module. * * @param unknown_type $module_id * @return unknown */ function main( $module_id = false ) { return false; } /** * go ahead and output the page * - not used in mx_slides * * @param unknown_type $page_title send page title * @param unknown_type $tpl_name template file name */ function display( $page_title1, $tpl_name ) { global $page_title, $kb_tpl_name; $page_title = $page_title1; $slides_tpl_name = $tpl_name; } } /** * mx_kb class. * */ class mx_slides { var $slide_blocks = array(); var $modified = false; var $error = array(); var $page_title = ''; var $navigation = ''; var $debug = false; // Toggle debug output on/off var $debug_msg = array(); /** * Prepare data. * */ function init() { global $db, $userdata, $debug, $slides_config; $this->debug('mx_slides->init', basename( __FILE__ )); $this->slide_blocks = array(219, 222, 224, 74,75,76); } /** * Clean up * */ function _slides() { $this->debug('mx_slides->_slides', basename( __FILE__ )); if ( $this->modified ) { $this->sync_all(); } } /** * Add debug message. * * @param unknown_type $debug_msg * @param unknown_type $file * @param unknown_type $line_break */ function debug($debug_msg, $file = '', $line_break = true) { if ($this->debug) { $module_name = !empty($this->module_name) ? $this->module_name . ' :: ' : ''; $file = !empty($file) ? ' (' . $file . ')' : ''; $line_break = $line_break ? '<br>' : ''; $this->debug_msg[] = $line_break . $module_name . $debug_msg . $file ; } } /** * Display debug message. * * @return unknown */ function display_debug() { if ($this->debug) { $debug_message = ''; foreach ($this->debug_msg as $key => $value) { $debug_message .= $value; } return $debug_message; } } /** * Enter description here... * * @param unknown_type $true_false */ function modified( $true_false = false ) { $this->debug('mx_slides->modified', basename( __FILE__ )); $this->modified = $true_false; } /** * Jump menu function. * * @param unknown_type $cat_id to handle parent cat_id * @param unknown_type $depth related to function to generate tree * @param unknown_type $default the cat you wanted to be selected * @param unknown_type $for_file TRUE high category ids will be -1 * @param unknown_type $check_upload if true permission for upload will be checked * @return unknown */ function generate_app_tree( ) { global $bug_path, $page_id; $slide_list = ''; $mx_temp_block = new mx_block(); foreach ( $this->slide_blocks as $temp => $block_id ) { $sel = ' selected="selected"'; $mx_temp_block->init( $block_id ); $slide_list .= sprintf('<div onClick="viewBug(\''.$block_id.'\');" class="doc" id="tree-%s">%s', $block_id, $mx_temp_block->block_title); $slide_list .= '<span class="counter" id="countdown'.$temp.'"></span>'; $slide_list .= '</div>'; } return $slide_list; } // ============================================= // Admin and mod functions // ============================================= function mx_message_die($code, $message) { if ($code == GENERAL_ERROR) { die($message); } exit; } } ?> --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> --- NEW FILE: slides_constants.php --- <?php /** * * @package mxBB Portal Module - mx_bugsbt * @version $Id: slides_constants.php,v 1.1 2007/05/05 20:33:20 jonohlsson Exp $ * @copyright (c) 2002-2006 [Jon Ohlsson, Cezary Tomczak] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ if( !defined('IN_PORTAL') ) { die("Hacking attempt"); } // ------------------------------------------------------------------------- // This file defines specific constants for the module // ------------------------------------------------------------------------- // ------------------------------------------------------------------------- // Footer Copyrights // ------------------------------------------------------------------------- if (is_object($mx_page)) { // ------------------------------------------------------------------------- // Extend User Style with module lang and images // Usage: $mx_user->extend(LANG, IMAGES) // Switches: // - LANG: MX_LANG_MAIN (default), MX_LANG_ADMIN, MX_LANG_ALL, MX_LANG_NONE // - IMAGES: MX_IMAGES (default), MX_IMAGES_NONE // ------------------------------------------------------------------------- $mx_user->extend(); $mx_page->add_copyright( 'mxBB Slides Module' ); } ?> |
|
From: Jon O. <jon...@us...> - 2007-05-05 20:33:23
|
Update of /cvsroot/mxbb/mx_slides In directory sc8-pr-cvs16:/tmp/cvs-serv30431 Added Files: db_install.php db_uninstall.php db_upgrade.php index.htm mx_install_readme.htm mx_slides.php Log Message: First commit --- NEW FILE: db_upgrade.php --- <?php /** * * @package mxBB Portal Module - mx_bugsbt * @version $Id: db_upgrade.php,v 1.1 2007/05/05 20:33:16 jonohlsson Exp $ * @copyright (c) 2002-2006 [Jon Ohlsson, Cezary Tomczak] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { $mx_root_path = './../../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include( $mx_root_path . 'common.' . $phpEx ); // Start session management $mx_user->init($user_ip, PAGE_INDEX); if ( !$userdata['session_logged_in'] ) { die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { die( "Hacking attempt(2)" ); } // End session management } $mx_module_version = '1.0.0'; $mx_module_copy = 'Designed for mxBB by <a href="http://www.mxbb.net" target="_blank">Jon</a>'; $sql = array(); // Precheck if ( $result = $db->sql_query( "SELECT config_name from " . $mx_table_prefix . "bugsbt_config" ) ) { if(false) { } else { $message .= "<b>Nothing to upgrade...</b><br/><br/>"; } $sql[] = "UPDATE " . $mx_table_prefix . "module" . " SET module_version = '" . $mx_module_version . "', module_copy = '" . $mx_module_copy . "' WHERE module_id = '" . $mx_module_id . "'"; $message .= mx_do_install_upgrade( $sql ); // // Empty module cache // include_once( $mx_root_path . 'includes/mx_functions_tools.' . $phpEx ); $module_cache = new module_cache($mx_root_path . 'modules/mx_bugsbt/bugsbt/'); $module_cache->tidy(); $module_cache->save(); } else { // If not installed $message = "<b>Module is not installed...and thus cannot be upgraded ;)</b><br/><br/>"; } echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstalling Information - module specific db tables</th></tr>"; echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . $message . "</span></td></tr>"; echo "</table><br />"; ?> --- NEW FILE: mx_install_readme.htm --- <html> <head> <title>Mx Portal installation - readme</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <!-- link rel="stylesheet" href="templates/subSilver/subSilver.css" type="text/css" --> <style type="text/css"> <!-- /* The original subSilver Theme for phpBB version 2+ Created by subBlue design http://www.subBlue.com NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2 theme administration centre. When you have finalised your style you could cut the final CSS code and place it in an external file, deleting this section to save bandwidth. */ /* General page style. The scroll bar colours only visible in IE5.5+ */ body { background-color: #E5E5E5; scrollbar-face-color: #DEE3E7; scrollbar-highlight-color: #FFFFFF; scrollbar-shadow-color: #DEE3E7; scrollbar-3dlight-color: #D1D7DC; scrollbar-arrow-color: #006699; scrollbar-track-color: #EFEFEF; scrollbar-darkshadow-color: #98AAB1; } /* General font families for common tags */ font,th,td,p { font-family: Verdana, Arial, Helvetica, sans-serif } a:link,a:active,a:visited { color : #006699; } a:hover { text-decoration: underline; color : #DD6900; } hr { height: 0px; border: solid #D1D7DC 0px; border-top-width: 1px;} /* This is the border line & background colour round the entire page */ .bodyline { background-color: #FFFFFF; border: 1px #98AAB1 solid; } /* This is the outline round the main forum tables */ .forumline { background-color: #FFFFFF; border: 2px #006699 solid; } /* Main table cell colours and backgrounds */ td.row1 { background-color: #EFEFEF; } td.row2 { background-color: #DEE3E7; } td.row3 { background-color: #D1D7DC; } /* This is for the table cell above the Topics, Post & Last posts on the index.php page By default this is the fading out gradiated silver background. However, you could replace this with a bitmap specific for each forum */ td.rowpic { background-color: #FFFFFF; background-image: url(../../install/templates/subSilver/images/cellpic2.jpg); background-repeat: repeat-y; } /* Header cells - the blue and silver gradient backgrounds */ th { color: #FFA34F; font-size: 11px; font-weight : bold; background-color: #006699; height: 25px; background-image: url(../../install/templates/subSilver/images/cellpic3.gif); } td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom { background-image: url(../../install/templates/subSilver/images/cellpic1.gif); background-color:#D1D7DC; border: #FFFFFF; border-style: solid; height: 28px; } /* Setting additional nice inner borders for the main table cells. The names indicate which sides the border will be on. Don't worry if you don't understand this, just ignore it :-) */ td.cat,td.catHead,td.catBottom { height: 29px; border-width: 0px 0px 0px 0px; } th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR { font-weight: bold; border: #FFFFFF; border-style: solid; height: 28px; } td.row3Right,td.spaceRow { background-color: #D1D7DC; border: #FFFFFF; border-style: solid; } th.thHead,td.catHead { font-size: 12px; border-width: 1px 1px 0px 1px; } th.thSides,td.catSides,td.spaceRow { border-width: 0px 1px 0px 1px; } th.thRight,td.catRight,td.row3Right { border-width: 0px 1px 0px 0px; } th.thLeft,td.catLeft { border-width: 0px 0px 0px 1px; } th.thBottom,td.catBottom { border-width: 0px 1px 1px 1px; } th.thTop { border-width: 1px 0px 0px 0px; } th.thCornerL { border-width: 1px 0px 0px 1px; } th.thCornerR { border-width: 1px 1px 0px 0px; } /* The largest text used in the index page title and toptic title etc. */ .maintitle { font-weight: bold; font-size: 22px; font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif; text-decoration: none; line-height : 120%; color : #000000; } /* General text */ .gen { font-size : 12px; } .genmed { font-size : 11px; } .gensmall { font-size : 10px; } .gen,.genmed,.gensmall { color : #000000; } a.gen,a.genmed,a.gensmall { color: #006699; text-decoration: none; } a.gen:hover,a.genmed:hover,a.gensmall:hover { color: #DD6900; text-decoration: underline; } /* The register, login, search etc links at the top of the page */ .mainmenu { font-size : 11px; color : #000000 } a.mainmenu { text-decoration: none; color : #006699; } a.mainmenu:hover{ text-decoration: underline; color : #DD6900; } /* Forum category titles */ .cattitle { font-weight: bold; font-size: 12px ; letter-spacing: 1px; color : #006699} a.cattitle { text-decoration: none; color : #006699; } a.cattitle:hover{ text-decoration: underline; } /* Forum title: Text and link to the forums used in: index.php */ .forumlink { font-weight: bold; font-size: 12px; color : #006699; } a.forumlink { text-decoration: none; color : #006699; } a.forumlink:hover{ text-decoration: underline; color : #DD6900; } /* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */ .nav { font-weight: bold; font-size: 11px; color : #000000;} a.nav { text-decoration: none; color : #006699; } a.nav:hover { text-decoration: underline; } /* titles for the topics: could specify viewed link colour too */ .topictitle,h1,h2 { font-weight: bold; font-size: 11px; color : #000000; } a.topictitle:link { text-decoration: none; color : #006699; } a.topictitle:visited { text-decoration: none; color : #5493B4; } a.topictitle:hover { text-decoration: underline; color : #DD6900; } /* Name of poster in viewmsg.php and viewtopic.php and other places */ .name { font-size : 11px; color : #000000;} /* Location, number of posts, post date etc */ .postdetails { font-size : 10px; color : #000000; } /* The content of the posts (body of text) */ .postbody { font-size : 12px; line-height: 18px} a.postlink:link { text-decoration: none; color : #006699 } a.postlink:visited { text-decoration: none; color : #5493B4; } a.postlink:hover { text-decoration: underline; color : #DD6900} /* Quote & Code blocks */ .code { font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #006600; background-color: #FAFAFA; border: #D1D7DC; border-style: solid; border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px } .quote { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #444444; line-height: 125%; background-color: #FAFAFA; border: #D1D7DC; border-style: solid; border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px } /* Copyright and bottom info */ .copyright { font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #444444; letter-spacing: -1px;} a.copyright { color: #444444; text-decoration: none;} a.copyright:hover { color: #000000; text-decoration: underline;} /* Form elements */ input,textarea, select { color : #000000; font: normal 11px Verdana, Arial, Helvetica, sans-serif; border-color : #000000; } /* The text input fields background colour */ input.post, textarea.post, select { background-color : #FFFFFF; } input { text-indent : 2px; } /* The buttons used for bbCode styling in message post */ input.button { background-color : #EFEFEF; color : #000000; font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif; } /* The main submit button option */ input.mainoption { background-color : #FAFAFA; font-weight : bold; } /* None-bold submit button */ input.liteoption { background-color : #FAFAFA; font-weight : normal; } /* This is the line in the posting page which shows the rollover help line. This is actually a text box, but if set to be the same colour as the background no one will know ;) */ .helpline { background-color: #DEE3E7; border-style: none; } /* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */ @import url("templates/subSilver/formIE.css"); --> </style> <script language="Javascript" type="text/javascript"> <!-- if ( 0 ) { window.open('privmsg.php?mode=newpm', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');; } //--> </script> </head> <body bgcolor="#FFFFFF" text="#000000"> <table> <tr> <td colspan="2"><p><b><font size="5">mxBB</font><font size="5"> Module - Knowledge Base <br> <font size="2">v. 2.0.2</font></font></b></p> <p><span style="font-weight: bold"><span style="font-size: 16px; line-height: normal">Module</span></span> <br /> - for Mx Portal v. 2.7.5+ (with some notes, see below)</p> <p><strong>Author</strong><br /> Haplo<br /> <br /> <span style="font-weight: bold">Description</span> <br /> The mxBB Module is an addon product for the mxBB Portal.</p> <p><strong>Features</strong> <br /> Easy to use and install/uninstall module.</p> <p> <br /> I. <a href="#install">Installation instructions</a> <br /> <br /> II. <a href="#themes">Additional styles</a> <br /> <br /> III. <a href="#languages">Additional languages</a><br /> <br /> <a href="http://www.mx-system.com" target="_blank" class="postlink">DEMO </a> <br /> <br /> <a href="http://www.mx-system.com/index.php?page=4" target="_blank" class="postlink"> DOWNLOAD </a> <br /> <br /><a name="install"> <br /> <span style="font-weight: bold">I. Installation Instructions</span> <br /> To install this module, follow these instructions. If you encounter any problems during install, visit the <a href="http://www.mx-system.com/forum/viewforum.php?f=20" target="_blank" class="postlink"> module support forum</a>. </p> <p>All install notes are maintained at www.mx-system.com, <a href="http://www.mx-system.com/forum/viewforum.php?f=11">here</a>.<br> <br> <i>To summarize:</i></p> <ul> <li> If installing from scratch, use the "install module" option in the AdminCP - Modules</li> <li> If upgrading, use the "upgrade module" option in the AdminCP - Modules</li> <li> If uninstalling, use the "delete module" feature in the AdminCP - Modules</li> </ul> <p><i>Note:</i> If upgrading, do NOT delete module prior to upgrading, or else you'll lose all module data!</p> <p><i>Note also:</i> Since this module is developed for next generation mxBB core, you have to patch your core 2.7.5 portal if downloaded prior to this module release. If using latest core this patch is already included.</p> <p>OPEN admin/admin_mx_module.php</p> <p>FIND</p> <table width="100%" border="1" cellpadding="2"> <tr> <td><font size="1">// <br> // Generate safe object identifiers for the target DB<br> // where this module pack is going to be imported...<br> // </font></td> </tr> </table> <p>BEFORE ADD</p> <table width="100%" border="1" cellpadding="2"> <tr> <td><font size="1">// Start - For compatibility with mxBB modules 2.x<br> $fcontents_temp = array();<br> for($i = 0; $i < count($fcontents); $i++) {<br> $module_data = explode($delimeter, trim($fcontents[$i]));<br> <br> if ( $module_data[0] != 'New_function' && $module_data[4] != 'endoflist' )<br> {<br> $fcontents_temp[] = implode($delimeter, $module_data);<br> }<br> }<br> $fcontents = $fcontents_temp;<br> // End - mxBB modules 2.x code patch</font></td> </tr> </table> <p><br /> <a href="#top"> Back to Top</a> <br /> <br /> <a name="themes"> <br /> <span style="font-weight: bold">II. Additional Styles</span> <br /> This module is compatible with any theme/style. <br /> <br /> <a href="#top"> Back to Top</a> <br /> <br /> <a name="languages"> <br /> <span style="font-weight: bold">III. Additional Languages</span> <br /> First check to see if your language is already translated. <br /> <br /> Translated languages are downloaded <a href="http://www.mx-system.com/index.php?page=4&action=category&cat_id=5" target="_blank" class="postlink"> here</a>. <br /> <br /> If exists, download and install in the modules/mx_modulename/language folder. If not, duplicate (copy and paste) any included language file, rename to match your language, translate using any texteditor, save and upload. <br /> <br /> <a href="#top"> Back to Top</a> </p> <p> /mxBB Team</p> </td> </tr> </table> </body> </html> --- NEW FILE: db_uninstall.php --- <?php /** * * @package mxBB Portal Module - mx_bugsbt * @version $Id: db_uninstall.php,v 1.1 2007/05/05 20:33:16 jonohlsson Exp $ * @copyright (c) 2002-2006 [Jon Ohlsson, Cezary Tomczak] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { $mx_root_path = './../../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include( $mx_root_path . 'common.' . $phpEx ); // Start session management $mx_user->init($user_ip, PAGE_INDEX); if ( !$userdata['session_logged_in'] ) { die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { die( "Hacking attempt(2)" ); } // End session management } // For compatibility with core 2.7.+ define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); if ( MXBB_27x ) { include_once( $mx_root_path . 'modules/mx_kb/includes/functions_kb_mx.' . $phpEx ); } $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 " ); echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstalling Information - module specific db tables</th></tr>"; echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . mx_do_install_upgrade( $sql ) . "</span></td></tr>"; echo "</table><br />"; ?> --- NEW FILE: db_install.php --- <?php /** * * @package mxBB Portal Module - mx_bugsbt * @version $Id: db_install.php,v 1.1 2007/05/05 20:33:15 jonohlsson Exp $ * @copyright (c) 2002-2006 [Jon Ohlsson, Cezary Tomczak] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { $mx_root_path = './../../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include( $mx_root_path . 'common.' . $phpEx ); // Start session management $mx_user->init($user_ip, PAGE_INDEX); if ( !$userdata['session_logged_in'] ) { die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { die( "Hacking attempt(2)" ); } // End session management } $mx_module_version = '1.0.0'; $mx_module_copy = 'Designed for mxBB by <a href="http://www.mxbb.net" target="_blank">Jon</a>'; // If fresh install if ( !$result = $db->sql_query( "SELECT config_name from " . $mx_table_prefix . "bugsbt_config" ) ) { $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 ( category_id int(10) NOT NULL auto_increment, category_name text, category_details text, parent int(50) default NULL, parents_data text NOT NULL default '', cat_order int(50) default NULL, cat_allow_file tinyint(2) NOT NULL default '1', cat_allow_comments tinyint(2) NOT NULL default '-1', internal_comments tinyint(2) NOT NULL default '-1', autogenerate_comments tinyint(2) NOT NULL default '-1', comments_forum_id mediumint(8) NOT NULL default '-1', show_pretext tinyint(2) NOT NULL default '-1', notify tinyint(2) NOT NULL default '-1', notify_group mediumint(8) NOT NULL default '-1', number_bugs mediumint(8) NOT NULL default '-1', cat_last_bug_id mediumint(8) unsigned NOT NULL default '0', cat_last_bug_name varchar(255) NOT NULL default '', cat_last_bug_time INT(50) UNSIGNED DEFAULT '0' NOT NULL, auth_view tinyint(3) NOT NULL DEFAULT '0', auth_post tinyint(3) NOT NULL DEFAULT '0', auth_view_comment tinyint(3) NOT NULL DEFAULT '0', auth_post_comment tinyint(3) NOT NULL DEFAULT '0', auth_edit_comment tinyint(3) NOT NULL DEFAULT '0', auth_delete_comment tinyint(3) NOT NULL DEFAULT '2', auth_edit tinyint(3) NOT NULL DEFAULT '0', auth_delete tinyint(3) NOT NULL DEFAULT '2', auth_approval tinyint(3) NOT NULL DEFAULT '0', auth_approval_edit tinyint(3) NOT NULL DEFAULT '0', auth_view_groups varchar(255) NOT NULL default '0', auth_post_groups varchar(255) NOT NULL default '0', auth_view_comment_groups varchar(255) NOT NULL default '0', auth_post_comment_groups varchar(255) NOT NULL default '0', auth_edit_comment_groups varchar(255) NOT NULL default '0', auth_delete_comment_groups varchar(255) NOT NULL default '0', auth_edit_groups varchar(255) NOT NULL default '0', auth_delete_groups varchar(255) NOT NULL default '0', auth_approval_groups varchar(255) NOT NULL default '0', /* not really used */ auth_approval_edit_groups varchar(255) NOT NULL default '0', /* not really used */ auth_moderator_groups varchar(255) NOT NULL default '0', PRIMARY KEY (category_id), KEY cat_order (cat_order) )", "INSERT INTO " . $mx_table_prefix . "bugsbt_products VALUES (1, 'Test Product', 'Just a test product', '0', '10', '-1', '-1','-1','-1','-1','-1','-1', '-1', '0', '', '0', '0', '0', '0', '0', '0', '2', '0', '2', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0' )", "CREATE TABLE " . $mx_table_prefix . "bugsbt_bugs ( bug_id mediumint(8) unsigned NOT NULL auto_increment, bug_title varchar(255) binary NOT NULL default '', bug_description varchar(255) binary NOT NULL default '', bug_category_id mediumint(8) unsigned NOT NULL default '0', approved tinyint(1) unsigned NOT NULL default '0', bug_body text NOT NULL, bbcode_uid varchar(10) binary NOT NULL default '', bug_type mediumint(8) unsigned NOT NULL default '0', bug_status mediumint(8) unsigned NOT NULL default '0', 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), topic_id mediumint(8) unsigned NOT NULL default '0', attached_topic_id mediumint(8) unsigned NOT NULL default '0', views BIGINT(8) NOT NULL DEFAULT '0', PRIMARY KEY (bug_id) )", "CREATE TABLE " . $mx_table_prefix . "bugsbt_config ( config_name VARCHAR(255) NOT NULL default '', config_value varchar(255) NOT NULL default '', PRIMARY KEY (config_name) )", // -------------------------------------------------------- "CREATE TABLE " . $mx_table_prefix . "bugsbt_comments ( comments_id int(10) NOT NULL auto_increment, bug_id int(10) NOT NULL default '0', comments_text text NOT NULL, comments_title text NOT NULL, comments_time int(50) NOT NULL default '0', comment_bbcode_uid varchar(10) default NULL, poster_id mediumint(8) NOT NULL default '0', PRIMARY KEY (comments_id), KEY comments_id (comments_id), FULLTEXT KEY comment_bbcode_uid (comment_bbcode_uid) )", "CREATE TABLE " . $mx_table_prefix . "bugsbt_types ( id mediumint(8) unsigned NOT NULL auto_increment, type varchar(255) binary DEFAULT '' NOT NULL, KEY id (id) )", "INSERT INTO " . $mx_table_prefix . "bugsbt_types VALUES (1, 'Confirmed')", "INSERT INTO " . $mx_table_prefix . "bugsbt_types VALUES (2, 'Unconfirmed')", "INSERT INTO " . $mx_table_prefix . "bugsbt_types VALUES (3, 'Partially Fixed')", "INSERT INTO " . $mx_table_prefix . "bugsbt_types VALUES (4, 'Feature')", "INSERT INTO " . $mx_table_prefix . "bugsbt_types VALUES (5, 'Not a Bug')", "INSERT INTO " . $mx_table_prefix . "bugsbt_types VALUES (6, 'Fixed')", "INSERT INTO " . $mx_table_prefix . "bugsbt_types VALUES (7, 'Internal To-Do')", "INSERT INTO " . $mx_table_prefix . "bugsbt_types VALUES (8, 'Postponed')", // -------------------------------------------------------- "CREATE TABLE " . $mx_table_prefix . "bugsbt_custom ( custom_id int(50) NOT NULL auto_increment, custom_name text NOT NULL, custom_description text NOT NULL, data text NOT NULL, field_order int(20) NOT NULL default '0', field_type tinyint(2) NOT NULL default '0', regex varchar(255) NOT NULL default '', PRIMARY KEY (custom_id) )", // -------------------------------------------------------- "CREATE TABLE " . $mx_table_prefix . "bugsbt_customdata ( customdata_file int(50) NOT NULL default '0', customdata_custom int(50) NOT NULL default '0', data text NOT NULL )", // // Insert Configs // // General "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('enable_module', '1')", // allow_new "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('module_name', 'BugsBT')", // NEW "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('wysiwyg_path', 'modules/mx_shared/')", // Articles "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('formatting_wordwrap', '1')", // formatting_fixup "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('formatting_image_resize', '300')", // NEW "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('formatting_truncate_links', '1')", // NEW "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('allow_wysiwyg', '0')", // NEW "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('allow_html', '1')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('allow_bbcode', '1')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('allow_smilies', '1')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('allowed_html_tags', 'b,i,u,a')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('allow_links', '1')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('allow_images', '0')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('no_image_message', '[No image please]')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('no_link_message', '[No links please]')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('max_subject_chars', '100')", // NEW "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('max_desc_chars', '500')", // NEW "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('max_chars', '0')", // NEW // Appearance "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('sort_method', 'Alphabetic')", // news_sort "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('sort_order', 'ASC')", // news_sort_par "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('pagination', '10')", // art_pagination "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('stats_list', '1')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('header_banner', '0')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('use_simple_navigation', '1')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('cat_col', '2')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('settings_newdays', '5')", // Comments "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('use_comments', '0')", // comments_show "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('internal_comments', '1')", // NEW "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('formatting_comment_wordwrap', '1')", // formatting_comment_fixup "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('formatting_comment_image_resize', '300')", // NEW "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('formatting_comment_truncate_links', '1')", // NEW "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('max_comment_subject_chars', '50')", // NEW "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('max_comment_chars', '5000')", // NEW "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('allow_comment_wysiwyg', '0')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('allow_comment_html', '1')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('allow_comment_bbcode', '1')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('allow_comment_smilies', '1')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('allow_comment_links', '1')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('allow_comment_images', '0')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('no_comment_image_message', '[No image please]')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('no_comment_link_message', '[No links please]')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('allowed_comment_html_tags', 'b,i,u,a')", // NEW "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('del_topic', '1')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('autogenerate_comments', '1')", // bump_post "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('comments_pagination', '5')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('comments_forum_id', '0')", // New // Instructions "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('show_pretext',0)", "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('pt_header','Article Submission Instructions')", "INSERT INTO " . $mx_table_prefix . "bugsbt_config values ('pt_body','Please check your references and include as much information as you can.')", // Notifications "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('notify', 'pm')", // updated "INSERT INTO " . $mx_table_prefix . "bugsbt_config VALUES ('notify_group', '0')", // admin_id ); $sql[] = "UPDATE " . $mx_table_prefix . "module" . " SET module_version = '" . $mx_module_version . "', module_copy = '" . $mx_module_copy . "' WHERE module_id = '" . $mx_module_id . "'"; $message .= mx_do_install_upgrade( $sql ); } else { // If already installed $message = "<b>Module is already installed...consider upgrading ;)</b><br/><br/>"; } echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstallation Information - module specific DB tables</th></tr>"; echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . $message . "</span></td></tr>"; echo "</table><br />"; ?> --- NEW FILE: mx_slides.php --- <?php /** * * @package mxBB Portal Module - mx_slides * @version $Id: mx_slides.php,v 1.1 2007/05/05 20:33:17 jonohlsson Exp $ * @copyright (c) 2002-2006 [Jon Ohlsson, Cezary Tomczak] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ if( !defined('IN_PORTAL') || !is_object($mx_block)) { die("Hacking attempt"); } // // Read Block Settings (default mode) // $title = !empty( $mx_block->block_info['block_title'] ) ? $mx_block->block_info['block_title'] : $lang['slides_title']; $desc = $mx_block->block_info['block_desc']; $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); // ------------------------------------------------------------------------------------------------------------------------- // ------------------------------------------------------------------------------------------------------------------------- // Start // ------------------------------------------------------------------------------------------------------------------------- // ------------------------------------------------------------------------------------------------------------------------- // =================================================== // Include the common file // =================================================== include_once( $module_root_path . 'slides/slides_common.' . $phpEx ); // =================================================== // Get mode variables, otherwise set it to the main // =================================================== $mode = $mx_request_vars->request('mode', MX_TYPE_NO_TAGS, 'index'); // =================================================== // Is admin? // =================================================== $is_admin = ( ( $userdata['user_level'] == ADMIN ) && $userdata['session_logged_in'] ) ? true : 0; // =================================================== // if the database disabled give them a nice message // =================================================== if ( intval( $slides_config['module_enable'] ) ) { mx_message_die( GENERAL_MESSAGE, $lang['slides_disable'] ); } // =================================================== // an array of all expected actions // =================================================== $actions = array( 'index' => 'index', ); // =================================================== // Lets Build the page // =================================================== $mx_slides->module( $actions[$mode] ); $mx_slides->modules[$actions[$mode]]->main( $mode ); // // load module header // //$mx_slides_functions->page_header(); // // Some general template vars // $template->assign_vars( array( 'U_PORTAL' => $mx_root_path, 'L_PORTAL' => "<<", )); $template->pparse( 'body' ); ?> --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |
|
From: Jon O. <jon...@us...> - 2007-05-05 20:33:22
|
Update of /cvsroot/mxbb/mx_slides/slides In directory sc8-pr-cvs16:/tmp/cvs-serv30431/slides Added Files: .htaccess index.htm slides_common.php Log Message: First commit --- NEW FILE: slides_common.php --- <?php /** * * @package mxBB Portal Module - mx_slides * @version $Id: slides_common.php,v 1.1 2007/05/05 20:33:19 jonohlsson Exp $ * @copyright (c) 2002-2006 [Jon Ohlsson, Cezary Tomczak] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ if ( !defined( 'IN_PORTAL' ) ) { die( "Hacking attempt" ); } /* // =================================================== // addslashes to vars if magic_quotes_gpc is off // =================================================== if ( !@function_exists( 'slash_input_data' ) ) { function slash_input_data( &$data ) { if ( is_array( $data ) ) { foreach ( $data as $k => $v ) { $data[$k] = ( is_array( $v ) ) ? slash_input_data( $v ) : addslashes( $v ); } } return $data; } } // =================================================== // to make it work with php version under 4.1 and other stuff // =================================================== if ( @phpversion() < '4.1' ) { $_GET = &$HTTP_GET_VARS; $_POST = &$HTTP_POST_VARS; $_COOKIE = &$HTTP_COOKIE_VARS; $_SERVER = &$HTTP_SERVER_VARS; $_ENV = &$HTTP_ENV_VARS; $_FILES = &$HTTP_POST_FILES; $_SESSION = &$HTTP_SESSION_VARS; } if ( !isset( $_REQUEST ) ) { $_REQUEST = array_merge( $_GET, $_POST, $_COOKIE ); } if ( !get_magic_quotes_gpc() ) { $_GET = slash_input_data( $_GET ); $_POST = slash_input_data( $_POST ); $_COOKIE = slash_input_data( $_COOKIE ); $_REQUEST = slash_input_data( $_REQUEST ); } */ // =================================================== // Include Files // =================================================== include_once( $module_root_path . 'slides/includes/slides_constants.' . $phpEx ); // // Load addon tools // // - Class module_cache // - Class mx_custom_fields // - Class mx_notification // - Class mx_text // - Class mx_text_formatting // include_once( $mx_root_path . 'includes/mx_functions_tools.' . $phpEx ); include_once( $module_root_path . 'slides/includes/functions.' . $phpEx ); include_once( $module_root_path . 'slides/includes/functions_slides.' . $phpEx ); // =================================================== // Load classes // =================================================== //$mx_slides_cache = new module_cache($module_root_path . 'slides/'); $mx_slides_functions = new mx_slides_functions(); /* if ( $mx_slides_cache->exists( 'config' ) ) { $slides_config = $mx_slides_cache->get( 'config' ); } else { $slides_config = $mx_slides_functions->slides_config(); $mx_slides_cache->put( 'config', $slides_config ); } */ $slides_config = array(); // // Some general template vars // $template->assign_vars( array( // // Index // 'L_VIEW_BUGS' => $lang['sd_View_bugs'], 'L_VIEW_ALL_BUGS' => $lang['sd_View_all_bugs'], 'L_VIEW_LATEST_BUGS' => $lang['sd_View_latest_bugs'], 'L_VIEW_LAST_UPDATED_BUGS' => $lang['sd_View_last_updated_bugs'], 'L_VIEW_BUG' => $lang['sd_View_bug'], 'L_REPORT_BUG' => $lang['sd_Report_bug'], 'L_EDIT_BUG' => $lang['sd_Edit_bug'], 'L_DELETE_BUG' => $lang['sd_Delete_bug'], 'L_DEFAULT_EDIT' => $lang['sd_Default_edit'], 'L_LOADING' => $lang['sd_Loading'], 'L_SAVING' => $lang['sd_Saving'], )); $mx_slides = new mx_slides_public(); ?> --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> --- NEW FILE: .htaccess --- deny from all |
|
From: Jon O. <jon...@us...> - 2007-05-05 20:33:22
|
Update of /cvsroot/mxbb/mx_slides/language/lang_english In directory sc8-pr-cvs16:/tmp/cvs-serv30431/language/lang_english Added Files: index.htm lang_main.php Log Message: First commit --- NEW FILE: lang_main.php --- <?php /** * * @package mxBB Portal Module - mx_bugsbt * @version $Id: lang_main.php,v 1.1 2007/05/05 20:33:18 jonohlsson Exp $ * @copyright (c) 2002-2006 [Jon Ohlsson, Cezary Tomczak] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ // // General // $lang['bugsbt_disable'] = 'The Slides module is disabled.'; $lang['bugsbt_title'] = 'mxBB Slides'; // // Tree // $lang['sd_Toc'] = 'News Slides'; // // Index // $lang['sd_Loading'] = 'Loading data ..'; $lang['sd_Saving'] = 'Saving data ..'; ?> --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |
|
From: Jon O. <jon...@us...> - 2007-05-05 20:32:43
|
Update of /cvsroot/mxbb/mx_slides/templates/subSilver/images In directory sc8-pr-cvs16:/tmp/cvs-serv29984/images Log Message: Directory /cvsroot/mxbb/mx_slides/templates/subSilver/images added to the repository |
|
From: Jon O. <jon...@us...> - 2007-05-05 20:32:43
|
Update of /cvsroot/mxbb/mx_slides/templates/subSilver In directory sc8-pr-cvs16:/tmp/cvs-serv29962/subSilver Log Message: Directory /cvsroot/mxbb/mx_slides/templates/subSilver added to the repository |
|
From: Jon O. <jon...@us...> - 2007-05-05 20:32:12
|
Update of /cvsroot/mxbb/mx_slides/slides/modules/tabs In directory sc8-pr-cvs16:/tmp/cvs-serv29863/tabs Log Message: Directory /cvsroot/mxbb/mx_slides/slides/modules/tabs added to the repository |
|
From: Jon O. <jon...@us...> - 2007-05-05 20:31:56
|
Update of /cvsroot/mxbb/mx_slides/slides/includes/js In directory sc8-pr-cvs16:/tmp/cvs-serv29455/js Log Message: Directory /cvsroot/mxbb/mx_slides/slides/includes/js added to the repository |
|
From: Jon O. <jon...@us...> - 2007-05-05 20:31:49
|
Update of /cvsroot/mxbb/mx_slides/slides/modules In directory sc8-pr-cvs16:/tmp/cvs-serv29382/modules Log Message: Directory /cvsroot/mxbb/mx_slides/slides/modules added to the repository |
|
From: Jon O. <jon...@us...> - 2007-05-05 20:31:49
|
Update of /cvsroot/mxbb/mx_slides/slides/includes In directory sc8-pr-cvs16:/tmp/cvs-serv29382/includes Log Message: Directory /cvsroot/mxbb/mx_slides/slides/includes added to the repository |
|
From: Jon O. <jon...@us...> - 2007-05-05 20:31:22
|
Update of /cvsroot/mxbb/mx_slides/language/lang_english In directory sc8-pr-cvs16:/tmp/cvs-serv29229/lang_english Log Message: Directory /cvsroot/mxbb/mx_slides/language/lang_english added to the repository |
|
From: Jon O. <jon...@us...> - 2007-05-05 20:31:16
|
Update of /cvsroot/mxbb/mx_slides/language In directory sc8-pr-cvs16:/tmp/cvs-serv29159/language Log Message: Directory /cvsroot/mxbb/mx_slides/language added to the repository |
|
From: Jon O. <jon...@us...> - 2007-05-05 20:31:16
|
Update of /cvsroot/mxbb/mx_slides/slides In directory sc8-pr-cvs16:/tmp/cvs-serv29159/slides Log Message: Directory /cvsroot/mxbb/mx_slides/slides added to the repository |