summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2010-02-12 14:53:29 +0000
committerwjames5 <will@tekimaki.com>2010-02-12 14:53:29 +0000
commitc6c4c0c9ff4874448662ce2d35787f4a92e06c69 (patch)
treee29119faa39d28d8b4e61843e254ad168941f37a
parent6390b67fb7c27e7c4150fc606859a59078d38e1d (diff)
downloadtags-c6c4c0c9ff4874448662ce2d35787f4a92e06c69.tar.gz
tags-c6c4c0c9ff4874448662ce2d35787f4a92e06c69.tar.bz2
tags-c6c4c0c9ff4874448662ce2d35787f4a92e06c69.zip
flatten services hash and introduce new param for adding some meta data about services to easy site configuration, see lcconfig
-rwxr-xr-xbit_setup_inc.php11
1 files changed, 9 insertions, 2 deletions
diff --git a/bit_setup_inc.php b/bit_setup_inc.php
index 472840c..ace185d 100755
--- a/bit_setup_inc.php
+++ b/bit_setup_inc.php
@@ -23,7 +23,10 @@ if( $gBitSystem->isPackageActive( 'tags' ) && $gBitUser->hasPermission( 'p_tags_
);
$gBitSystem->registerAppMenu( $menuHash );
- $gLibertySystem->registerService( LIBERTY_SERVICE_TAGS, TAGS_PKG_NAME, array(
+ $gLibertySystem->registerService(
+ LIBERTY_SERVICE_TAGS,
+ TAGS_PKG_NAME,
+ array(
'content_display_function' => 'tags_content_display',
'content_edit_function' => 'tags_content_edit',
'content_list_sql_function' => 'tags_content_list_sql',
@@ -36,6 +39,10 @@ if( $gBitSystem->isPackageActive( 'tags' ) && $gBitUser->hasPermission( 'p_tags_
'content_body_tpl' => 'bitpackage:tags/view_tags_body.tpl',
'users_expunge_function' => 'tags_user_expunge',
'content_search_tpl' => 'bitpackage:tags/search_inc.tpl'
- ) );
+ ),
+ array(
+ 'description' => tra( 'Enables the addition of tags to any content' ),
+ )
+ );
}
?>