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
{
|