Skip to:
Content

bbPress.org


Ignore:
Timestamp:
01/17/2011 05:26:05 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Normalize bbp-twentyten theme files. Introduce bbp_tab_index functions for forms. Rename some page- files to action- since they are not page templates. Introduce bbp_login and bbp_register place-holders in bbp-twentyten theme.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbpress.php

    r2790 r2810  
    11<?php
     2
    23/**
    34 * The bbPress Plugin
     
    1516 * Author: The bbPress Community
    1617 * Author URI: http://bbpress.org
    17  * Version: plugin-bleeding
     18 * Version: plugin-alpha
    1819 */
    1920
    2021/**
    21  * bbPress vesion
     22 * bbPress version
    2223 *
    2324 * Set the version early so other plugins have an inexpensive way to check if
    2425 * bbPress is already loaded.
    2526 *
    26  * Note: Loaded does NOT mean initialized.
     27 * Note: Checking for defined( 'BBP_VERSION' ) in your code does NOT
     28 *       guarantee bbPress is initialized and listening.
    2729 */
    28 define( 'BBP_VERSION', 'plugin-bleeding' );
     30define( 'BBP_VERSION', 'plugin-alpha' );
    2931
    3032if ( !class_exists( 'bbPress' ) ) :
     
    3537 *
    3638 * @since bbPress (r2464)
     39 * @todo Use BP_Component class
    3740 */
    3841class bbPress {
    3942
    40     // Post type
     43    /** Post type *************************************************************/
    4144
    4245    /**
     
    5558    var $reply_id;
    5659
    57     // Post status identifiers
     60    /** Post status ***********************************************************/
    5861
    5962    /**
     
    7780    var $trash_status_id;
    7881
    79     // Slugs
     82    /** Slugs *****************************************************************/
    8083
    8184    /**
     
    109112    var $view_slug;
    110113
    111     // Absolute Paths
     114    /** Paths *****************************************************************/
    112115
    113116    /**
     
    121124    var $themes_dir;
    122125
    123     // URLs
     126    /** URLs ******************************************************************/
    124127
    125128    /**
     
    138141    var $themes_url;
    139142
    140     // Current identifiers
     143    /** Current ID's **********************************************************/
    141144
    142145    /**
     
    155158    var $current_reply_id;
    156159
    157     // User objects
     160    /** User ******************************************************************/
    158161
    159162    /**
     
    167170    var $displayed_user;
    168171
    169     // Query objects
     172    /** Query *****************************************************************/
    170173
    171174    /**
     
    184187    var $reply_query;
    185188
    186     // Arrays
     189    /** Arrays ****************************************************************/
    187190
    188191    /**
     
    191194    var $sub_forums;
    192195
    193     // Errors
     196    /** Errors ****************************************************************/
    194197
    195198    /**
     
    198201    var $errors;
    199202
    200     // Views
     203    /** Views *****************************************************************/
    201204
    202205    /**
     
    204207     */
    205208    var $views;
     209   
     210    /** Forms *****************************************************************/
     211   
     212    /**
     213     * @var int The current tab index for form building
     214     */
     215    var $tab_index;
     216   
    206217
    207218    /**
Note: See TracChangeset for help on using the changeset viewer.