diff options
| author | Lester Caine <lester@lsces.co.uk> | 2008-04-01 21:57:13 +0000 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2008-04-01 21:57:13 +0000 |
| commit | a73b2626d1bdc3c6d4e75a827beb89a9584c5dfe (patch) | |
| tree | 17abec002a389d118f6f7f92d9d126ef7588d113 /admin | |
| parent | eb7503f40496a45f981d6f91b2f116d8e1e5cca5 (diff) | |
| download | blogs-a73b2626d1bdc3c6d4e75a827beb89a9584c5dfe.tar.gz blogs-a73b2626d1bdc3c6d4e75a827beb89a9584c5dfe.tar.bz2 blogs-a73b2626d1bdc3c6d4e75a827beb89a9584c5dfe.zip | |
phpdoc format for todo - not all being picked up because they are not attached to php objects.
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/admin_blogs_inc.php | 8 | ||||
| -rw-r--r-- | admin/schema_inc.php | 9 | ||||
| -rw-r--r-- | admin/wp-migrate.php | 8 |
3 files changed, 13 insertions, 12 deletions
diff --git a/admin/admin_blogs_inc.php b/admin/admin_blogs_inc.php index a474313..6172106 100644 --- a/admin/admin_blogs_inc.php +++ b/admin/admin_blogs_inc.php @@ -1,5 +1,5 @@ <?php -// $Header: /cvsroot/bitweaver/_bit_blogs/admin/admin_blogs_inc.php,v 1.21 2007/11/05 23:45:10 wjames5 Exp $ +// $Header: /cvsroot/bitweaver/_bit_blogs/admin/admin_blogs_inc.php,v 1.22 2008/04/01 21:57:13 lsces Exp $ // get a list of blogs for the selection of the home blog require_once( BLOGS_PKG_PATH.'BitBlog.php' ); @@ -39,12 +39,12 @@ $formBlogLists = array( 'label' => 'Visits', 'note' => 'Number of times a given blog has been visited.', ), - /* TODO: Add back once activity is implemented + /** @TODO: Add back once activity is implemented "blog_list_activity" => array( 'label' => 'Activity', 'note' => 'This number is an indication of how active a given blog is. The number is calculated based on god knows what...', ), - */ + **/ ); $gBitSmarty->assign( 'formBlogLists',$formBlogLists ); @@ -88,7 +88,7 @@ if( $processForm ) { simple_set_toggle( $item, BLOGS_PKG_NAME ); } - // Lazy error handling to ensure numeric. TODO: Fix. + /** @TODO: Fix. Lazy error handling to ensure numeric. **/ $gBitSystem->storeConfig("blog_top_post_count", (isset( $_REQUEST["blog_top_post_count"]) && is_numeric($_REQUEST["blog_top_post_count"])) ? $_REQUEST["blog_top_post_count"] : "3"); $gBitSystem->storeConfig("blog_posts_max_list", (isset( $_REQUEST["blog_posts_max_list"]) && is_numeric($_REQUEST["blog_posts_max_list"])) ? $_REQUEST["blog_posts_max_list"] : "10"); $gBitSystem->storeConfig("blog_posts_comments", isset( $_REQUEST["blog_posts_comments"] ) ? 'y' : 'n', BLOGS_PKG_NAME ); diff --git a/admin/schema_inc.php b/admin/schema_inc.php index 2abe9b6..22912ed 100644 --- a/admin/schema_inc.php +++ b/admin/schema_inc.php @@ -55,8 +55,9 @@ $indices = array ( 'blogs_content_id_idx' => array( 'table' => 'blogs', 'cols' => 'content_id', 'opts' => array( 'UNIQUE' ) ), 'blog_posts_content_id_idx' => array( 'table' => 'blog_posts', 'cols' => 'content_id', 'opts' => array( 'UNIQUE' ) ), ); -// TODO - SPIDERR - following seems to cause time _decrease_ cause bigint on postgres. need more investigation -// 'blog_posts_created_idx' => array( 'table' => 'blog_posts', 'cols' => 'created', 'opts' => NULL ), +/** @TODO - SPIDERR - following seems to cause time _decrease_ cause bigint on postgres. need more investigation + * 'blog_posts_created_idx' => array( 'table' => 'blog_posts', 'cols' => 'created', 'opts' => NULL ), + **/ $gBitInstaller->registerSchemaIndexes( BLOGS_PKG_NAME, $indices ); // ### Sequences @@ -99,7 +100,7 @@ $gBitInstaller->registerPreferences( BLOGS_PKG_NAME, array( ) ); // ### User Preferences Set In This Package -/* These are mentioned here for reference to understand how the package works +/** These are mentioned here for reference to understand how the package works * They are not to be configured here! * * user_blog_posts_use_title, default y lets the user toggle to use a typed title for their posts or automatically use a date @@ -110,7 +111,7 @@ $gBitInstaller->registerPreferences( BLOGS_PKG_NAME, array( * @todo need an admin pref to override allow_comments option * @todo need an admin pref to override description option * - */ + **/ if(defined('RSS_PKG_NAME')) { $gBitInstaller->registerPreferences( BLOGS_PKG_NAME, array( diff --git a/admin/wp-migrate.php b/admin/wp-migrate.php index dc25876..bee2a49 100644 --- a/admin/wp-migrate.php +++ b/admin/wp-migrate.php @@ -189,9 +189,9 @@ function migrate_wp_categories() { $pParamHash['title'] = $blog->cat_name; $pParamHash['use_title'] = 'y'; - // ToDo: Map Posts level to user group. - - // ToDO: Make this options in the prep. + /** @TODO : Map Posts level to user group. + * @TODO : Make this options in the prep. + **/ $pParamHash['is_public'] = 'y'; $pParamHash['allow_comments'] = 'y'; $pParamHash['max_posts'] = 10; @@ -242,7 +242,7 @@ function migrate_wp_posts() { $pParamHash['current_owner_id'] = -1; } - // TODO: Check attachments + /** @TODO : Check attachments **/ $bp = new BitBlogPost(); $bp->store($pParamHash); |
