/**
	 * prepare backend config render
	 *
	 * @param moscomprofilerUser $user
	 * @param object $plugin
	 * @param mixed $message
	 */
	private function showConfig( $user, $plugin, $message = null ) {
		global $_CB_framework;

		$logos											=	array();
		$templates										=	array();

		if ( is_dir( $plugin->absPath . '/images' ) ) {
			foreach ( scandir( $plugin->absPath . '/images' ) as $logo ) {
				if ( ! preg_match( '!^tn.+$!', $logo ) && preg_match( '!^[\w-]+[.](jpg|jpeg|png|gif|bmp)$!', $logo ) ) {
					$logos[]							=	moscomprofilerHTML::makeOption( $logo, $logo );
				}
			}
		}

		if ( is_dir( $plugin->absPath . '/templates' ) ) {
			foreach ( scandir( $plugin->absPath . '/templates' ) as $template ) {
				if ( preg_match( '!^\w+$!', $template ) ) {
					$templates[]						=	moscomprofilerHTML::makeOption( $template, $template );
				}
			}
		}

		$input											=	array();

		// General:
		$listNotifyBy									=	array();
		$listNotifyBy[]									=	moscomprofilerHTML::makeOption( '1', CBTxt::T( 'PMS or Email' ) );
		$listNotifyBy[]									=	moscomprofilerHTML::makeOption( '2', CBTxt::T( 'PMS & Email' ) );
		$listNotifyBy[]									=	moscomprofilerHTML::makeOption( '3', CBTxt::T( 'PMS Only' ) );
		$listNotifyBy[]									=	moscomprofilerHTML::makeOption( '4', CBTxt::T( 'Email Only' ) );
		$listTooltips									=	array();
		$listTooltips[]									=	moscomprofilerHTML::makeOption( '1', CBTxt::T( 'Icon' ) );
		$listTooltips[]									=	moscomprofilerHTML::makeOption( '2', CBTxt::T( 'Text' ) );
		$listTooltips[]									=	moscomprofilerHTML::makeOption( '3', CBTxt::T( 'Disabled' ) );
		$listAccess										=	array();
		$listAccess[]									=	moscomprofilerHTML::makeOption( '-2', CBTxt::T( '- Everybody' ) );
		$listAccess[]									=	moscomprofilerHTML::makeOption( '-1', CBTxt::T( '- All Registered Users' ) );
		$listAccess										=	array_merge( $listAccess, $_CB_framework->acl->get_group_children_tree( null, 'USERS', false ) );
		$listCreateAccess								=	array();
		$listCreateAccess[]								=	moscomprofilerHTML::makeOption( '-1', CBTxt::T( '- All Registered Users' ) );
		$listCreateAccess								=	array_merge( $listCreateAccess, $_CB_framework->acl->get_group_children_tree( null, 'USERS', false ) );
		$listTypes										=	array();
		$listTypes[]									=	moscomprofilerHTML::makeOption( '1', CBTxt::T( 'Open' ) );
		$listTypes[]									=	moscomprofilerHTML::makeOption( '2', CBTxt::T( 'Approval' ) );
		$listTypes[]									=	moscomprofilerHTML::makeOption( '3', CBTxt::T( 'Invite' ) );
		$listEditor										=	array();
		$listEditor[]									=	moscomprofilerHTML::makeOption( '1', CBTxt::T( 'Plain Text' ) );
		$listEditor[]									=	moscomprofilerHTML::makeOption( '2', CBTxt::T( 'HTML Text' ) );
		$listEditor[]									=	moscomprofilerHTML::makeOption( '3', CBTxt::T( 'WYSIWYG' ) );
		$listCatOrderby									=	array();
		$listCatOrderby[]								=	moscomprofilerHTML::makeOption( '1', CBTxt::T( 'Ordering ASC' ) );
		$listCatOrderby[]								=	moscomprofilerHTML::makeOption( '2', CBTxt::T( 'Ordering DESC' ) );
		$listCatOrderby[]								=	moscomprofilerHTML::makeOption( '3', CBTxt::T( 'Date ASC' ) );
		$listCatOrderby[]								=	moscomprofilerHTML::makeOption( '4', CBTxt::T( 'Date DESC' ) );
		$listCatOrderby[]								=	moscomprofilerHTML::makeOption( '5', CBTxt::T( 'Name ASC' ) );
		$listCatOrderby[]								=	moscomprofilerHTML::makeOption( '6', CBTxt::T( 'Name DESC' ) );
		$listCatOrderby[]								=	moscomprofilerHTML::makeOption( '7', CBTxt::T( 'Group Count ASC' ) );
		$listCatOrderby[]								=	moscomprofilerHTML::makeOption( '8', CBTxt::T( 'Group Count DESC' ) );
		$listCatOrderby[]								=	moscomprofilerHTML::makeOption( '9', CBTxt::T( 'Nested Count ASC' ) );
		$listCatOrderby[]								=	moscomprofilerHTML::makeOption( '10', CBTxt::T( 'Nested Count DESC' ) );
		$listGrpOrderby									=	array();
		$listGrpOrderby[]								=	moscomprofilerHTML::makeOption( '1', CBTxt::T( 'Ordering ASC' ) );
		$listGrpOrderby[]								=	moscomprofilerHTML::makeOption( '2', CBTxt::T( 'Ordering DESC' ) );
		$listGrpOrderby[]								=	moscomprofilerHTML::makeOption( '3', CBTxt::T( 'Date ASC' ) );
		$listGrpOrderby[]								=	moscomprofilerHTML::makeOption( '4', CBTxt::T( 'Date DESC' ) );
		$listGrpOrderby[]								=	moscomprofilerHTML::makeOption( '5', CBTxt::T( 'Name ASC' ) );
		$listGrpOrderby[]								=	moscomprofilerHTML::makeOption( '6', CBTxt::T( 'Name DESC' ) );
		$listGrpOrderby[]								=	moscomprofilerHTML::makeOption( '7', CBTxt::T( 'User Count ASC' ) );
		$listGrpOrderby[]								=	moscomprofilerHTML::makeOption( '8', CBTxt::T( 'User Count DESC' ) );
		$listGrpOrderby[]								=	moscomprofilerHTML::makeOption( '9', CBTxt::T( 'Nested Count ASC' ) );
		$listGrpOrderby[]								=	moscomprofilerHTML::makeOption( '10', CBTxt::T( 'Nested Count DESC' ) );

		$input['general_title']							=	'<input type="text" id="general_title" name="general_title" value="' . htmlspecialchars( $plugin->params->get( 'general_title', $plugin->name ) ) . '" class="inputbox" size="25" />';
		$input['general_template']						=	moscomprofilerHTML::selectList( $templates, 'general_template', null, 'value', 'text', $plugin->params->get( 'general_template', 'default' ), 1, false, false );
		$input['general_class']							=	'<input type="text" id="general_class" name="general_class" value="' . htmlspecialchars( $plugin->params->get( 'general_class', null ) ) . '" class="inputbox" size="10" />';
		$input['general_itemid']						=	'<input type="text" id="general_itemid" name="general_itemid" value="' . htmlspecialchars( $plugin->params->get( 'general_itemid', null ) ) . '" class="inputbox" size="5" />';
		$input['general_dynamicid']						=	moscomprofilerHTML::yesnoSelectList( 'general_dynamicid', null, $plugin->params->get( 'general_dynamicid', 0 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['general_notifications']					=	moscomprofilerHTML::yesnoSelectList( 'general_notifications', null, $plugin->params->get( 'general_notifications', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['general_notifyby']						=	moscomprofilerHTML::selectList( $listNotifyBy, 'general_notifyby', null, 'value', 'text', $plugin->params->get( 'general_notifyby', 1 ), 1, false, false );
		$input['general_tooltips']						=	moscomprofilerHTML::selectList( $listTooltips, 'general_tooltips', null, 'value', 'text', $plugin->params->get( 'general_tooltips', 1 ), 1, false, false );
		$input['general_panes']							=	moscomprofilerHTML::yesnoSelectList( 'general_panes', null, $plugin->params->get( 'general_panes', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['general_validate']						=	moscomprofilerHTML::yesnoSelectList( 'general_validate', null, $plugin->params->get( 'general_validate', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['general_dirperms']						=	'<input type="text" id="general_dirperms" name="general_dirperms" value="' . (int) $plugin->params->get( 'general_dirperms', '755' ) . '" class="inputbox" size="10" />';
		$input['general_fileperms']						=	'<input type="text" id="general_fileperms" name="general_fileperms" value="' . (int) $plugin->params->get( 'general_fileperms', '644' ) . '" class="inputbox" size="10" />';
		$input['general_wordfilter']					=	'<textarea id="general_wordfilter" name="general_wordfilter" class="inputbox" cols="40" rows="5">' . htmlspecialchars( $plugin->params->get( 'general_wordfilter', null ) ) . '</textarea>';

		// Logos:
		$input['logo_size']								=	'<input type="text" id="logo_size" name="logo_size" value="' . htmlspecialchars( $plugin->params->get( 'logo_size', 2000 ) ) . '" class="inputbox" size="5" />';
		$input['logo_width']							=	'<input type="text" id="logo_width" name="logo_width" value="' . htmlspecialchars( $plugin->params->get( 'logo_width', 200 ) ) . '" class="inputbox" size="5" />';
		$input['logo_height']							=	'<input type="text" id="logo_height" name="logo_height" value="' . htmlspecialchars( $plugin->params->get( 'logo_height', 500 ) ) . '" class="inputbox" size="5" />';
		$input['logo_thumbwidth']						=	'<input type="text" id="logo_thumbwidth" name="logo_thumbwidth" value="' . htmlspecialchars( $plugin->params->get( 'logo_thumbwidth', 60 ) ) . '" class="inputbox" size="5" />';
		$input['logo_thumbheight']						=	'<input type="text" id="logo_thumbheight" name="logo_thumbheight" value="' . htmlspecialchars( $plugin->params->get( 'logo_thumbheight', 86 ) ) . '" class="inputbox" size="5" />';

		// Overrides:
		$input['override_category_s']					=	'<input type="text" id="override_category_s" name="override_category_s" value="' . htmlspecialchars( $plugin->params->get( 'override_category_s', 'Category' ) ) . '" class="inputbox" size="25" />';
		$input['override_category_p']					=	'<input type="text" id="override_category_p" name="override_category_p" value="' . htmlspecialchars( $plugin->params->get( 'override_category_p', 'Categories' ) ) . '" class="inputbox" size="25" />';
		$input['override_group_s']						=	'<input type="text" id="override_group_s" name="override_group_s" value="' . htmlspecialchars( $plugin->params->get( 'override_group_s', 'Group' ) ) . '" class="inputbox" size="25" />';
		$input['override_group_p']						=	'<input type="text" id="override_group_p" name="override_group_p" value="' . htmlspecialchars( $plugin->params->get( 'override_group_p', 'Groups' ) ) . '" class="inputbox" size="25" />';
		$input['override_user_s']						=	'<input type="text" id="override_user_s" name="override_user_s" value="' . htmlspecialchars( $plugin->params->get( 'override_user_s', 'User' ) ) . '" class="inputbox" size="25" />';
		$input['override_user_p']						=	'<input type="text" id="override_user_p" name="override_user_p" value="' . htmlspecialchars( $plugin->params->get( 'override_user_p', 'Users' ) ) . '" class="inputbox" size="25" />';
		$input['override_mod_s']						=	'<input type="text" id="override_mod_s" name="override_mod_s" value="' . htmlspecialchars( $plugin->params->get( 'override_mod_s', 'Moderator' ) ) . '" class="inputbox" size="25" />';
		$input['override_mod_p']						=	'<input type="text" id="override_mod_p" name="override_mod_p" value="' . htmlspecialchars( $plugin->params->get( 'override_mod_p', 'Moderators' ) ) . '" class="inputbox" size="25" />';
		$input['override_admin_s']						=	'<input type="text" id="override_admin_s" name="override_admin_s" value="' . htmlspecialchars( $plugin->params->get( 'override_admin_s', 'Admin' ) ) . '" class="inputbox" size="25" />';
		$input['override_admin_p']						=	'<input type="text" id="override_admin_p" name="override_admin_p" value="' . htmlspecialchars( $plugin->params->get( 'override_admin_p', 'Admins' ) ) . '" class="inputbox" size="25" />';
		$input['override_overview_s']					=	'<input type="text" id="override_overview_s" name="override_overview_s" value="' . htmlspecialchars( $plugin->params->get( 'override_overview_s', 'Overview' ) ) . '" class="inputbox" size="25" />';
		$input['override_owner_s']						=	'<input type="text" id="override_owner_s" name="override_owner_s" value="' . htmlspecialchars( $plugin->params->get( 'override_owner_s', 'Owner' ) ) . '" class="inputbox" size="25" />';
		$input['override_panel_s']						=	'<input type="text" id="override_panel_s" name="override_panel_s" value="' . htmlspecialchars( $plugin->params->get( 'override_panel_s', 'Panel' ) ) . '" class="inputbox" size="25" />';

		// Notifications:
		$input['notifications_from_name']				=	'<input type="text" id="notifications_from_name" name="notifications_from_name" value="' . htmlspecialchars( $plugin->params->get( 'notifications_from_name' ) ) . '" class="inputbox" size="30" />';
		$input['notifications_from_address']			=	'<input type="text" id="notifications_from_address" name="notifications_from_address" value="' . htmlspecialchars( $plugin->params->get( 'notifications_from_address' ) ) . '" class="inputbox" size="50" />';
		$input['notifications_desc']					=	$_CB_framework->displayCmsEditor( 'notifications_desc', $plugin->params->get( 'notifications_desc', null ), 400, 200, 40, 5 );
		$input['notifications_desc_content']			=	moscomprofilerHTML::yesnoSelectList( 'notifications_desc_content', null, $plugin->params->get( 'notifications_desc_content', 0 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['notifications_desc_gen']				=	$_CB_framework->displayCmsEditor( 'notifications_desc_gen', $plugin->params->get( 'notifications_desc_gen', null ), 400, 200, 40, 5 );
		$input['notifications_desc_gen_content']		=	moscomprofilerHTML::yesnoSelectList( 'notifications_desc_gen', null, $plugin->params->get( 'notifications_desc_gen', 0 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['notifications_general_categorynew']		=	moscomprofilerHTML::yesnoSelectList( 'notifications_general_categorynew', null, $plugin->params->get( 'notifications_general_categorynew', 0 ), CBTxt::T( 'Notify' ), CBTxt::T( 'Don\'t Notify' ) );
		$input['notifications_general_categoryapprove']	=	moscomprofilerHTML::yesnoSelectList( 'notifications_general_categoryapprove', null, $plugin->params->get( 'notifications_general_categoryapprove', 0 ), CBTxt::T( 'Notify' ), CBTxt::T( 'Don\'t Notify' ) );
		$input['notifications_general_categoryupdate']	=	moscomprofilerHTML::yesnoSelectList( 'notifications_general_categoryupdate', null, $plugin->params->get( 'notifications_general_categoryupdate', 0 ), CBTxt::T( 'Notify' ), CBTxt::T( 'Don\'t Notify' ) );
		$input['notifications_general_categorydelete']	=	moscomprofilerHTML::yesnoSelectList( 'notifications_general_categorydelete', null, $plugin->params->get( 'notifications_general_categorydelete', 0 ), CBTxt::T( 'Notify' ), CBTxt::T( 'Don\'t Notify' ) );
		$input['notifications_desc_cat']				=	$_CB_framework->displayCmsEditor( 'notifications_desc_cat', $plugin->params->get( 'notifications_desc_cat', null ), 400, 200, 40, 5 );
		$input['notifications_desc_cat_content']		=	moscomprofilerHTML::yesnoSelectList( 'notifications_desc_cat_content', null, $plugin->params->get( 'notifications_desc_cat_content', 0 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['notifications_category_nestednew']		=	moscomprofilerHTML::yesnoSelectList( 'notifications_category_nestednew', null, $plugin->params->get( 'notifications_category_nestednew', 0 ), CBTxt::T( 'Notify' ), CBTxt::T( 'Don\'t Notify' ) );
		$input['notifications_category_nestedapprove']	=	moscomprofilerHTML::yesnoSelectList( 'notifications_category_nestedapprove', null, $plugin->params->get( 'notifications_category_nestedapprove', 0 ), CBTxt::T( 'Notify' ), CBTxt::T( 'Don\'t Notify' ) );
		$input['notifications_category_nestedupdate']	=	moscomprofilerHTML::yesnoSelectList( 'notifications_category_nestedupdate', null, $plugin->params->get( 'notifications_category_nestedupdate', 0 ), CBTxt::T( 'Notify' ), CBTxt::T( 'Don\'t Notify' ) );
		$input['notifications_category_nesteddelete']	=	moscomprofilerHTML::yesnoSelectList( 'notifications_category_nesteddelete', null, $plugin->params->get( 'notifications_category_nesteddelete', 0 ), CBTxt::T( 'Notify' ), CBTxt::T( 'Don\'t Notify' ) );
		$input['notifications_category_groupnew']		=	moscomprofilerHTML::yesnoSelectList( 'notifications_category_groupnew', null, $plugin->params->get( 'notifications_category_groupnew', 0 ), CBTxt::T( 'Notify' ), CBTxt::T( 'Don\'t Notify' ) );
		$input['notifications_category_groupapprove']	=	moscomprofilerHTML::yesnoSelectList( 'notifications_category_groupapprove', null, $plugin->params->get( 'notifications_category_groupapprove', 0 ), CBTxt::T( 'Notify' ), CBTxt::T( 'Don\'t Notify' ) );
		$input['notifications_category_groupupdate']	=	moscomprofilerHTML::yesnoSelectList( 'notifications_category_groupupdate', null, $plugin->params->get( 'notifications_category_groupupdate', 0 ), CBTxt::T( 'Notify' ), CBTxt::T( 'Don\'t Notify' ) );
		$input['notifications_category_groupdelete']	=	moscomprofilerHTML::yesnoSelectList( 'notifications_category_groupdelete', null, $plugin->params->get( 'notifications_category_groupdelete', 0 ), CBTxt::T( 'Notify' ), CBTxt::T( 'Don\'t Notify' ) );
		$input['notifications_desc_grp']				=	$_CB_framework->displayCmsEditor( 'notifications_desc_grp', $plugin->params->get( 'notifications_desc_grp', null ), 400, 200, 40, 5 );
		$input['notifications_desc_grp_content']		=	moscomprofilerHTML::yesnoSelectList( 'notifications_desc_grp_content', null, $plugin->params->get( 'notifications_desc_grp_content', 0 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['notifications_group_nestednew']			=	moscomprofilerHTML::yesnoSelectList( 'notifications_group_nestednew', null, $plugin->params->get( 'notifications_group_nestednew', 0 ), CBTxt::T( 'Notify' ), CBTxt::T( 'Don\'t Notify' ) );
		$input['notifications_group_nestedapprove']		=	moscomprofilerHTML::yesnoSelectList( 'notifications_group_nestedapprove', null, $plugin->params->get( 'notifications_group_nestedapprove', 0 ), CBTxt::T( 'Notify' ), CBTxt::T( 'Don\'t Notify' ) );
		$input['notifications_group_nestedupdate']		=	moscomprofilerHTML::yesnoSelectList( 'notifications_group_nestedupdate', null, $plugin->params->get( 'notifications_group_nestedupdate', 0 ), CBTxt::T( 'Notify' ), CBTxt::T( 'Don\'t Notify' ) );
		$input['notifications_group_nesteddelete']		=	moscomprofilerHTML::yesnoSelectList( 'notifications_group_nesteddelete', null, $plugin->params->get( 'notifications_group_nesteddelete', 0 ), CBTxt::T( 'Notify' ), CBTxt::T( 'Don\'t Notify' ) );
		$input['notifications_group_userjoin']			=	moscomprofilerHTML::yesnoSelectList( 'notifications_group_userjoin', null, $plugin->params->get( 'notifications_group_userjoin', 0 ), CBTxt::T( 'Notify' ), CBTxt::T( 'Don\'t Notify' ) );
		$input['notifications_group_userleave']			=	moscomprofilerHTML::yesnoSelectList( 'notifications_group_userleave', null, $plugin->params->get( 'notifications_group_userleave', 0 ), CBTxt::T( 'Notify' ), CBTxt::T( 'Don\'t Notify' ) );
		$input['notifications_group_userinvite']		=	moscomprofilerHTML::yesnoSelectList( 'notifications_group_userinvite', null, $plugin->params->get( 'notifications_group_userinvite', 0 ), CBTxt::T( 'Notify' ), CBTxt::T( 'Don\'t Notify' ) );
		$input['notifications_group_userapprove']		=	moscomprofilerHTML::yesnoSelectList( 'notifications_group_userapprove', null, $plugin->params->get( 'notifications_group_userapprove', 0 ), CBTxt::T( 'Notify' ), CBTxt::T( 'Don\'t Notify' ) );
		$input['notifications_group_inviteaccept']		=	moscomprofilerHTML::yesnoSelectList( 'notifications_group_inviteaccept', null, $plugin->params->get( 'notifications_group_inviteaccept', 0 ), CBTxt::T( 'Notify' ), CBTxt::T( 'Don\'t Notify' ) );

		// Overview:
		$listOvrEditor									=	array();
		$listOvrEditor[]								=	moscomprofilerHTML::makeOption( '1', CBTxt::T( 'Plain Text' ) );
		$listOvrEditor[]								=	moscomprofilerHTML::makeOption( '2', CBTxt::T( 'HTML Text' ) );
		$listOvrEditor[]								=	moscomprofilerHTML::makeOption( '3', CBTxt::T( 'WYSIWYG' ) );

		$input['overview_logo']							=	moscomprofilerHTML::selectList( $logos, 'overview_logo', null, 'value', 'text', $plugin->params->get( 'overview_logo', 'default_overview.png' ), 1, false, false );
		$input['overview_desc']							=	$_CB_framework->displayCmsEditor( 'overview_desc', $plugin->params->get( 'overview_desc', null ), 400, 200, 40, 5 );
		$input['overview_desc_content']					=	moscomprofilerHTML::yesnoSelectList( 'overview_desc_content', null, $plugin->params->get( 'overview_desc_content', 0 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['overview_new_category']					=	moscomprofilerHTML::yesnoSelectList( 'overview_new_category', null, $plugin->params->get( 'overview_new_category', 0 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['overview_new_group']					=	moscomprofilerHTML::yesnoSelectList( 'overview_new_group', null, $plugin->params->get( 'overview_new_group', 0 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['overview_panel']						=	moscomprofilerHTML::yesnoSelectList( 'overview_panel', null, $plugin->params->get( 'overview_panel', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['overview_cat_desc_limit']				=	'<input type="text" id="overview_cat_desc_limit" name="overview_cat_desc_limit" value="' . htmlspecialchars( $plugin->params->get( 'overview_cat_desc_limit', 150 ) ) . '" class="inputbox" size="5" />';
		$input['overview_orderby']						=	moscomprofilerHTML::selectList( $listCatOrderby, 'overview_orderby', null, 'value', 'text', $plugin->params->get( 'overview_orderby', 1 ), 1, false, false );
		$input['overview_paging']						=	moscomprofilerHTML::yesnoSelectList( 'overview_paging', null, $plugin->params->get( 'overview_paging', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['overview_limitbox']						=	moscomprofilerHTML::yesnoSelectList( 'overview_limitbox', null, $plugin->params->get( 'overview_limitbox', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['overview_limit']						=	'<input type="text" id="overview_limit" name="overview_limit" value="' . (int) $plugin->params->get( 'overview_limit', 15 ) . '" class="inputbox" size="5" />';
		$input['overview_search']						=	moscomprofilerHTML::yesnoSelectList( 'overview_search', null, $plugin->params->get( 'overview_search', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['overview_message_editor']				=	moscomprofilerHTML::selectList( $listEditor, 'overview_message_editor', null, 'value', 'text', $plugin->params->get( 'overview_message_editor', 1 ), 1, false, false );

		// Panels:
		$input['panel_logo']							=	moscomprofilerHTML::selectList( $logos, 'panel_logo', null, 'value', 'text', $plugin->params->get( 'panel_logo', 'default_panel.png' ), 1, false, false );
		$input['panel_desc']							=	$_CB_framework->displayCmsEditor( 'panel_desc', $plugin->params->get( 'panel_desc', null ), 400, 200, 40, 5 );
		$input['panel_desc_content']					=	moscomprofilerHTML::yesnoSelectList( 'panel_desc_content', null, $plugin->params->get( 'panel_desc_content', 0 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['panel_new_category']					=	moscomprofilerHTML::yesnoSelectList( 'panel_new_category', null, $plugin->params->get( 'panel_new_category', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['panel_new_group']						=	moscomprofilerHTML::yesnoSelectList( 'panel_new_group', null, $plugin->params->get( 'panel_new_group', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['panel_category_display']				=	moscomprofilerHTML::yesnoSelectList( 'panel_category_display', null, $plugin->params->get( 'panel_category_display', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['panel_group_display']					=	moscomprofilerHTML::yesnoSelectList( 'panel_group_display', null, $plugin->params->get( 'panel_group_display', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['panel_joined_display']					=	moscomprofilerHTML::yesnoSelectList( 'panel_joined_display', null, $plugin->params->get( 'panel_joined_display', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['panel_invites_display']					=	moscomprofilerHTML::yesnoSelectList( 'panel_invites_display', null, $plugin->params->get( 'panel_invites_display', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['panel_invited_display']					=	moscomprofilerHTML::yesnoSelectList( 'panel_invited_display', null, $plugin->params->get( 'panel_invited_display', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );

		// Categories:
		$input['category_logo']							=	moscomprofilerHTML::selectList( $logos, 'category_logo', null, 'value', 'text', $plugin->params->get( 'category_logo', 'default_category.png' ), 1, false, false );
		$input['category_create']						=	moscomprofilerHTML::yesnoSelectList( 'category_create', null, $plugin->params->get( 'category_create', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['category_create_access']				=	moscomprofilerHTML::selectList( $listCreateAccess, 'category_create_access', null, 'value', 'text', $plugin->params->get( 'category_create_access', -1 ), 1, false, false );
		$input['category_nested']						=	moscomprofilerHTML::yesnoSelectList( 'category_nested', null, $plugin->params->get( 'category_nested', 0 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['category_nested_access']				=	moscomprofilerHTML::selectList( $listCreateAccess, 'category_nested_access', null, 'value', 'text', $plugin->params->get( 'category_nested_access', -1 ), 1, false, false );
		$input['category_approve']						=	moscomprofilerHTML::yesnoSelectList( 'category_approve', null, $plugin->params->get( 'category_approve', 0 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['category_limit']						=	'<input type="text" id="category_limit" name="category_limit" value="' . htmlspecialchars( $plugin->params->get( 'category_limit', 0 ) ) . '" class="inputbox" size="5" />';
		$input['category_message']						=	moscomprofilerHTML::yesnoSelectList( 'category_message', null, $plugin->params->get( 'category_message', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['category_editor']						=	moscomprofilerHTML::selectList( $listEditor, 'category_editor', null, 'value', 'text', $plugin->params->get( 'category_editor', 1 ), 1, false, false );
		$input['category_desc_content']					=	moscomprofilerHTML::yesnoSelectList( 'category_desc_content', null, $plugin->params->get( 'category_desc_content', 0 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['category_desc_inputlimit']				=	'<input type="text" id="category_desc_inputlimit" name="category_desc_inputlimit" value="' . htmlspecialchars( $plugin->params->get( 'category_desc_inputlimit', 0 ) ) . '" class="inputbox" size="5" />';
		$input['category_captcha']						=	moscomprofilerHTML::yesnoSelectList( 'category_captcha', null, $plugin->params->get( 'category_captcha', 0 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['category_new_category']					=	moscomprofilerHTML::yesnoSelectList( 'category_new_category', null, $plugin->params->get( 'category_new_category', 0 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['category_new_group']					=	moscomprofilerHTML::yesnoSelectList( 'category_new_group', null, $plugin->params->get( 'category_new_group', 0 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['category_hide_empty']					=	moscomprofilerHTML::yesnoSelectList( 'category_hide_empty', null, $plugin->params->get( 'category_hide_empty', 0 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['category_message_editor']				=	moscomprofilerHTML::selectList( $listEditor, 'category_message_editor', null, 'value', 'text', $plugin->params->get( 'category_message_editor', 1 ), 1, false, false );
		$input['category_message_captcha']				=	moscomprofilerHTML::yesnoSelectList( 'category_message_captcha', null, $plugin->params->get( 'category_message_captcha', 0 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['category_groups_desc_limit']			=	'<input type="text" id="category_groups_desc_limit" name="category_groups_desc_limit" value="' . htmlspecialchars( $plugin->params->get( 'category_groups_desc_limit', 150 ) ) . '" class="inputbox" size="5" />';
		$input['category_groups_orderby']				=	moscomprofilerHTML::selectList( $listGrpOrderby, 'category_groups_orderby', null, 'value', 'text', $plugin->params->get( 'category_groups_orderby', 1 ), 1, false, false );
		$input['category_groups_paging']				=	moscomprofilerHTML::yesnoSelectList( 'category_groups_paging', null, $plugin->params->get( 'category_groups_paging', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['category_groups_limitbox']				=	moscomprofilerHTML::yesnoSelectList( 'category_groups_limitbox', null, $plugin->params->get( 'category_groups_limitbox', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['category_groups_limit']					=	'<input type="text" id="category_groups_limit" name="category_groups_limit" value="' . (int) $plugin->params->get( 'category_groups_limit', 15 ) . '" class="inputbox" size="5" />';
		$input['category_groups_search']				=	moscomprofilerHTML::yesnoSelectList( 'category_groups_search', null, $plugin->params->get( 'category_groups_search', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['category_nested_desc_limit']			=	'<input type="text" id="category_nested_desc_limit" name="category_nested_desc_limit" value="' . htmlspecialchars( $plugin->params->get( 'category_nested_desc_limit', 150 ) ) . '" class="inputbox" size="5" />';
		$input['category_nested_orderby']				=	moscomprofilerHTML::selectList( $listCatOrderby, 'category_nested_orderby', null, 'value', 'text', $plugin->params->get( 'category_nested_orderby', 1 ), 1, false, false );
		$input['category_nested_paging']				=	moscomprofilerHTML::yesnoSelectList( 'category_nested_paging', null, $plugin->params->get( 'category_nested_paging', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['category_nested_limitbox']				=	moscomprofilerHTML::yesnoSelectList( 'category_nested_limitbox', null, $plugin->params->get( 'category_nested_limitbox', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['category_nested_limit']					=	'<input type="text" id="category_nested_limit" name="category_nested_limit" value="' . (int) $plugin->params->get( 'category_nested_limit', 15 ) . '" class="inputbox" size="5" />';
		$input['category_nested_search']				=	moscomprofilerHTML::yesnoSelectList( 'category_nested_search', null, $plugin->params->get( 'category_nested_search', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['category_all_desc_limit']				=	'<input type="text" id="category_all_desc_limit" name="category_all_desc_limit" value="' . htmlspecialchars( $plugin->params->get( 'category_all_desc_limit', 150 ) ) . '" class="inputbox" size="5" />';
		$input['category_all_orderby']					=	moscomprofilerHTML::selectList( $listCatOrderby, 'category_all_orderby', null, 'value', 'text', $plugin->params->get( 'category_all_orderby', 1 ), 1, false, false );
		$input['category_all_paging']					=	moscomprofilerHTML::yesnoSelectList( 'category_all_paging', null, $plugin->params->get( 'category_all_paging', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['category_all_limitbox']					=	moscomprofilerHTML::yesnoSelectList( 'category_all_limitbox', null, $plugin->params->get( 'category_all_limitbox', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['category_all_limit']					=	'<input type="text" id="category_all_limit" name="category_all_limit" value="' . (int) $plugin->params->get( 'category_all_limit', 15 ) . '" class="inputbox" size="5" />';
		$input['category_all_search']					=	moscomprofilerHTML::yesnoSelectList( 'category_all_search', null, $plugin->params->get( 'category_all_search', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['category_approval_desc_limit']			=	'<input type="text" id="category_approval_desc_limit" name="category_approval_desc_limit" value="' . htmlspecialchars( $plugin->params->get( 'category_approval_desc_limit', 150 ) ) . '" class="inputbox" size="5" />';
		$input['category_approval_orderby']				=	moscomprofilerHTML::selectList( $listCatOrderby, 'category_approval_orderby', null, 'value', 'text', $plugin->params->get( 'category_approval_orderby', 1 ), 1, false, false );
		$input['category_approval_paging']				=	moscomprofilerHTML::yesnoSelectList( 'category_approval_paging', null, $plugin->params->get( 'category_approval_paging', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['category_approval_limitbox']			=	moscomprofilerHTML::yesnoSelectList( 'category_approval_limitbox', null, $plugin->params->get( 'category_approval_limitbox', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['category_approval_limit']				=	'<input type="text" id="category_approval_limit" name="category_approval_limit" value="' . (int) $plugin->params->get( 'category_approval_limit', 15 ) . '" class="inputbox" size="5" />';
		$input['category_approval_search']				=	moscomprofilerHTML::yesnoSelectList( 'category_approval_search', null, $plugin->params->get( 'category_approval_search', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );

		// Category Defaults:
		$input['category_types_default']				=	moscomprofilerHTML::selectList( $listTypes, 'category_types_default[]', 'size="4" multiple="multiple"', 'value', 'text', explode( '|*|', $plugin->params->get( 'category_types_default', '1|*|2|*|3' ) ), 0, false, true );
		$input['category_types_config']					=	moscomprofilerHTML::yesnoSelectList( 'category_types_config', null, $plugin->params->get( 'category_types_config', 1 ), CBTxt::T( 'Show' ), CBTxt::T( 'Hide' ) );
		$input['category_access_default']				=	moscomprofilerHTML::selectList( $listAccess, 'category_access_default', null, 'value', 'text', $plugin->params->get( 'category_access_default', -2 ), 1, false, false );
		$input['category_access_config']				=	moscomprofilerHTML::yesnoSelectList( 'category_access_config', null, $plugin->params->get( 'category_access_config', 1 ), CBTxt::T( 'Show' ), CBTxt::T( 'Hide' ) );
		$input['category_create_default']				=	moscomprofilerHTML::yesnoSelectList( 'category_create_default', null, $plugin->params->get( 'category_create_default', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['category_create_config']				=	moscomprofilerHTML::yesnoSelectList( 'category_create_config', null, $plugin->params->get( 'category_create_config', 1 ), CBTxt::T( 'Show' ), CBTxt::T( 'Hide' ) );
		$input['category_createaccess_default']			=	moscomprofilerHTML::selectList( $listCreateAccess, 'category_createaccess_default', null, 'value', 'text', $plugin->params->get( 'category_createaccess_default', -1 ), 1, false, false );
		$input['category_createaccess_config']			=	moscomprofilerHTML::yesnoSelectList( 'category_createaccess_config', null, $plugin->params->get( 'category_createaccess_config', 1 ), CBTxt::T( 'Show' ), CBTxt::T( 'Hide' ) );
		$input['category_nested_default']				=	moscomprofilerHTML::yesnoSelectList( 'category_nested_default', null, $plugin->params->get( 'category_nested_default', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['category_nested_config']				=	moscomprofilerHTML::yesnoSelectList( 'category_nested_config', null, $plugin->params->get( 'category_nested_config', 1 ), CBTxt::T( 'Show' ), CBTxt::T( 'Hide' ) );
		$input['category_nestedaccess_default']			=	moscomprofilerHTML::selectList( $listCreateAccess, 'category_nestedaccess_default', null, 'value', 'text', $plugin->params->get( 'category_nestedaccess_default', -1 ), 1, false, false );
		$input['category_nestedaccess_config']			=	moscomprofilerHTML::yesnoSelectList( 'category_nestedaccess_config', null, $plugin->params->get( 'category_nestedaccess_config', 1 ), CBTxt::T( 'Show' ), CBTxt::T( 'Hide' ) );

		// Groups:
		$listGrpToggle									=	array();
		$listGrpToggle[]								=	moscomprofilerHTML::makeOption( '1', CBTxt::T( 'Disabled' ) );
		$listGrpToggle[]								=	moscomprofilerHTML::makeOption( '2', CBTxt::T( 'Expanded' ) );
		$listGrpToggle[]								=	moscomprofilerHTML::makeOption( '3', CBTxt::T( 'Collapsed' ) );
		$listInviteBy									=	array();
		$listInviteBy[]									=	moscomprofilerHTML::makeOption( '1', CBTxt::T( 'User ID' ) );
		$listInviteBy[]									=	moscomprofilerHTML::makeOption( '2', CBTxt::T( 'Username' ) );
		$listInviteBy[]									=	moscomprofilerHTML::makeOption( '3', CBTxt::T( 'Name' ) );
		$listInviteBy[]									=	moscomprofilerHTML::makeOption( '4', CBTxt::T( 'Email' ) );
		$listGrpAccess									=	array();
		$listGrpAccess[]								=	moscomprofilerHTML::makeOption( '0', CBTxt::T( 'Group' ) . '&nbsp;' . CBTxt::T( 'Users' ) );
		$listGrpAccess[]								=	moscomprofilerHTML::makeOption( '1', '.&nbsp;-&nbsp;' . CBTxt::T( 'Group' ) . '&nbsp;' . CBTxt::T( 'Moderators' ) );
		$listGrpAccess[]								=	moscomprofilerHTML::makeOption( '2', '.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;' . CBTxt::T( 'Group' ) . '&nbsp;' . CBTxt::T( 'Admins' ) );
		$listGrpAccess[]								=	moscomprofilerHTML::makeOption( '3', '.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;' . CBTxt::T( 'Group' ) . '&nbsp;' . CBTxt::T( 'Owner' ) );

		$input['group_logo']							=	moscomprofilerHTML::selectList( $logos, 'group_logo', null, 'value', 'text', $plugin->params->get( 'group_logo', 'default.png' ), 1, false, false );
		$input['group_create']							=	moscomprofilerHTML::yesnoSelectList( 'group_create', null, $plugin->params->get( 'group_create', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_create_access']					=	moscomprofilerHTML::selectList( $listCreateAccess, 'group_create_access', null, 'value', 'text', $plugin->params->get( 'group_create_access', -1 ), 1, false, false );
		$input['group_nested']							=	moscomprofilerHTML::yesnoSelectList( 'group_nested', null, $plugin->params->get( 'group_nested', 0 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_nested_access']					=	moscomprofilerHTML::selectList( $listCreateAccess, 'group_nested_access', null, 'value', 'text', $plugin->params->get( 'group_nested_access', -1 ), 1, false, false );
		$input['group_approve']							=	moscomprofilerHTML::yesnoSelectList( 'group_approve', null, $plugin->params->get( 'group_approve', 0 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_leave']							=	moscomprofilerHTML::yesnoSelectList( 'group_leave', null, $plugin->params->get( 'group_leave', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_limit']							=	'<input type="text" id="group_limit" name="group_limit" value="' . htmlspecialchars( $plugin->params->get( 'group_limit', 0 ) ) . '" class="inputbox" size="5" />';
		$input['group_message']							=	moscomprofilerHTML::yesnoSelectList( 'group_message', null, $plugin->params->get( 'group_message', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_editor']							=	moscomprofilerHTML::selectList( $listEditor, 'group_editor', null, 'value', 'text', $plugin->params->get( 'group_editor', 1 ), 1, false, false );
		$input['group_desc_content']					=	moscomprofilerHTML::yesnoSelectList( 'group_desc_content', null, $plugin->params->get( 'group_desc_content', 0 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_desc_inputlimit']					=	'<input type="text" id="group_desc_inputlimit" name="group_desc_inputlimit" value="' . htmlspecialchars( $plugin->params->get( 'group_desc_inputlimit', 0 ) ) . '" class="inputbox" size="5" />';
		$input['group_toggle']							=	moscomprofilerHTML::selectList( $listGrpToggle, 'group_toggle', null, 'value', 'text', $plugin->params->get( 'group_toggle', 3 ), 1, false, false );
		$input['group_captcha']							=	moscomprofilerHTML::yesnoSelectList( 'group_captcha', null, $plugin->params->get( 'group_captcha', 0 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_new_group']						=	moscomprofilerHTML::yesnoSelectList( 'group_new_group', null, $plugin->params->get( 'group_new_group', 0 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_message_editor']					=	moscomprofilerHTML::selectList( $listEditor, 'group_message_editor', null, 'value', 'text', $plugin->params->get( 'group_message_editor', 1 ), 1, false, false );
		$input['group_message_captcha']					=	moscomprofilerHTML::yesnoSelectList( 'group_message_captcha', null, $plugin->params->get( 'group_message_captcha', 0 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_message_perm']					=	moscomprofilerHTML::selectList( $listGrpAccess, 'group_message_perm', 'class="inputbox"', 'value', 'text', $plugin->params->get( 'group_message_perm', 3 ), 1, false, false );
		$input['group_nested_desc_limit']				=	'<input type="text" id="group_nested_desc_limit" name="group_nested_desc_limit" value="' . htmlspecialchars( $plugin->params->get( 'group_nested_desc_limit', 150 ) ) . '" class="inputbox" size="5" />';
		$input['group_nested_orderby']					=	moscomprofilerHTML::selectList( $listGrpOrderby, 'group_nested_orderby', null, 'value', 'text', $plugin->params->get( 'group_nested_orderby', 1 ), 1, false, false );
		$input['group_nested_paging']					=	moscomprofilerHTML::yesnoSelectList( 'group_nested_paging', null, $plugin->params->get( 'group_nested_paging', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_nested_limitbox']					=	moscomprofilerHTML::yesnoSelectList( 'group_nested_limitbox', null, $plugin->params->get( 'group_nested_limitbox', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_nested_limit']					=	'<input type="text" id="group_nested_limit" name="group_nested_limit" value="' . (int) $plugin->params->get( 'group_nested_limit', 15 ) . '" class="inputbox" size="5" />';
		$input['group_nested_search']					=	moscomprofilerHTML::yesnoSelectList( 'group_nested_search', null, $plugin->params->get( 'group_nested_search', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_all_desc_limit']					=	'<input type="text" id="group_all_desc_limit" name="group_all_desc_limit" value="' . htmlspecialchars( $plugin->params->get( 'group_all_desc_limit', 150 ) ) . '" class="inputbox" size="5" />';
		$input['group_all_orderby']						=	moscomprofilerHTML::selectList( $listGrpOrderby, 'group_all_orderby', null, 'value', 'text', $plugin->params->get( 'group_all_orderby', 1 ), 1, false, false );
		$input['group_all_paging']						=	moscomprofilerHTML::yesnoSelectList( 'group_all_paging', null, $plugin->params->get( 'group_all_paging', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_all_limitbox']					=	moscomprofilerHTML::yesnoSelectList( 'group_all_limitbox', null, $plugin->params->get( 'group_all_limitbox', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_all_limit']						=	'<input type="text" id="group_all_limit" name="group_all_limit" value="' . (int) $plugin->params->get( 'group_all_limit', 15 ) . '" class="inputbox" size="5" />';
		$input['group_all_search']						=	moscomprofilerHTML::yesnoSelectList( 'group_all_search', null, $plugin->params->get( 'group_all_search', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_approval_desc_limit']				=	'<input type="text" id="group_approval_desc_limit" name="group_approval_desc_limit" value="' . htmlspecialchars( $plugin->params->get( 'group_approval_desc_limit', 150 ) ) . '" class="inputbox" size="5" />';
		$input['group_approval_orderby']				=	moscomprofilerHTML::selectList( $listGrpOrderby, 'group_approval_orderby', null, 'value', 'text', $plugin->params->get( 'group_approval_orderby', 1 ), 1, false, false );
		$input['group_approval_paging']					=	moscomprofilerHTML::yesnoSelectList( 'group_approval_paging', null, $plugin->params->get( 'group_approval_paging', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_approval_limitbox']				=	moscomprofilerHTML::yesnoSelectList( 'group_approval_limitbox', null, $plugin->params->get( 'group_approval_limitbox', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_approval_limit']					=	'<input type="text" id="group_approval_limit" name="group_approval_limit" value="' . (int) $plugin->params->get( 'group_approval_limit', 15 ) . '" class="inputbox" size="5" />';
		$input['group_approval_search']					=	moscomprofilerHTML::yesnoSelectList( 'group_approval_search', null, $plugin->params->get( 'group_approval_search', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_users_paging']					=	moscomprofilerHTML::yesnoSelectList( 'group_users_paging', null, $plugin->params->get( 'group_users_paging', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_users_limitbox']					=	moscomprofilerHTML::yesnoSelectList( 'group_users_limitbox', null, $plugin->params->get( 'group_users_limitbox', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_users_limit']						=	'<input type="text" id="group_users_limit" name="group_users_limit" value="' . (int) $plugin->params->get( 'group_users_limit', 15 ) . '" class="inputbox" size="5" />';
		$input['group_users_search']					=	moscomprofilerHTML::yesnoSelectList( 'group_users_search', null, $plugin->params->get( 'group_users_search', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_users_approval_paging']			=	moscomprofilerHTML::yesnoSelectList( 'group_users_approval_paging', null, $plugin->params->get( 'group_users_approval_paging', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_users_approval_limitbox']			=	moscomprofilerHTML::yesnoSelectList( 'group_users_approval_limitbox', null, $plugin->params->get( 'group_users_approval_limitbox', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_users_approval_limit']			=	'<input type="text" id="group_users_approval_limit" name="group_users_approval_limit" value="' . (int) $plugin->params->get( 'group_users_approval_limit', 15 ) . '" class="inputbox" size="5" />';
		$input['group_users_approval_search']			=	moscomprofilerHTML::yesnoSelectList( 'group_users_approval_search', null, $plugin->params->get( 'group_users_approval_search', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );

		// Group Defaults:
		$input['group_type_default']					=	moscomprofilerHTML::selectList( $listTypes, 'group_type_default', null, 'value', 'text', $plugin->params->get( 'group_type_default', 1 ), 1, false, false );
		$input['group_type_config']						=	moscomprofilerHTML::yesnoSelectList( 'group_type_config', null, $plugin->params->get( 'group_type_config', 1 ), CBTxt::T( 'Show' ), CBTxt::T( 'Hide' ) );
		$input['group_access_default']					=	moscomprofilerHTML::selectList( $listAccess, 'group_access_default', null, 'value', 'text', $plugin->params->get( 'group_access_default', -2 ), 1, false, false );
		$input['group_access_config']					=	moscomprofilerHTML::yesnoSelectList( 'group_access_config', null, $plugin->params->get( 'group_access_config', 1 ), CBTxt::T( 'Show' ), CBTxt::T( 'Hide' ) );
		$input['group_invite_default']					=	moscomprofilerHTML::selectList( $listGrpAccess, 'group_invite_default', null, 'value', 'text', $plugin->params->get( 'group_invite_default', 0 ), 1, false, false );
		$input['group_invite_config']					=	moscomprofilerHTML::yesnoSelectList( 'group_invite_config', null, $plugin->params->get( 'group_invite_config', 1 ), CBTxt::T( 'Show' ), CBTxt::T( 'Hide' ) );
		$input['group_users_default']					=	moscomprofilerHTML::yesnoSelectList( 'group_users_default', null, $plugin->params->get( 'group_users_default', 1 ), CBTxt::T( 'Yes' ), CBTxt::T( 'No' ) );
		$input['group_users_config']					=	moscomprofilerHTML::yesnoSelectList( 'group_users_config', null, $plugin->params->get( 'group_users_config', 1 ), CBTxt::T( 'Show' ), CBTxt::T( 'Hide' ) );
		$input['group_nested_default']					=	moscomprofilerHTML::yesnoSelectList( 'group_nested_default', null, $plugin->params->get( 'group_nested_default', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_nested_config']					=	moscomprofilerHTML::yesnoSelectList( 'group_nested_config', null, $plugin->params->get( 'group_nested_config', 1 ), CBTxt::T( 'Show' ), CBTxt::T( 'Hide' ) );
		$input['group_nestedaccess_default']			=	moscomprofilerHTML::selectList( $listGrpAccess, 'group_nestedaccess_default', null, 'value', 'text', $plugin->params->get( 'group_nestedaccess_default', -1 ), 1, false, false );
		$input['group_nestedaccess_config']				=	moscomprofilerHTML::yesnoSelectList( 'group_nestedaccess_config', null, $plugin->params->get( 'group_nestedaccess_config', 1 ), CBTxt::T( 'Show' ), CBTxt::T( 'Hide' ) );

		// Invites:
		$input['group_invites_display']					=	moscomprofilerHTML::yesnoSelectList( 'group_invites_display', null, $plugin->params->get( 'group_invites_display', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_invites_by']						=	moscomprofilerHTML::selectList( $listInviteBy, 'group_invites_by[]', 'size="4" multiple="multiple"', 'value', 'text', explode( '|*|', $plugin->params->get( 'group_invites_by', '1|*|2|*|3|*|4' ) ), 1, false, false );
		$input['group_invites_captcha']					=	moscomprofilerHTML::yesnoSelectList( 'group_invites_captcha', null, $plugin->params->get( 'group_invites_captcha', 0 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_invites_list']					=	moscomprofilerHTML::yesnoSelectList( 'group_invites_list', null, $plugin->params->get( 'group_invites_list', 0 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_invites_accept']					=	moscomprofilerHTML::yesnoSelectList( 'group_invites_accept', null, $plugin->params->get( 'group_invites_accept', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_invites_paging']					=	moscomprofilerHTML::yesnoSelectList( 'group_invites_paging', null, $plugin->params->get( 'group_invites_paging', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_invites_limitbox']				=	moscomprofilerHTML::yesnoSelectList( 'group_invites_limitbox', null, $plugin->params->get( 'group_invites_limitbox', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_invites_limit']					=	'<input type="text" id="group_invites_limit" name="group_invites_limit" value="' . (int) $plugin->params->get( 'group_invites_limit', 15 ) . '" class="inputbox" size="5" />';
		$input['group_invites_search']					=	moscomprofilerHTML::yesnoSelectList( 'group_invites_search', null, $plugin->params->get( 'group_invites_search', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );

		// Tabs:
		$input['tab_new_category']						=	moscomprofilerHTML::yesnoSelectList( 'tab_new_category', null, $plugin->params->get( 'tab_new_category', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['tab_new_group']							=	moscomprofilerHTML::yesnoSelectList( 'tab_new_group', null, $plugin->params->get( 'tab_new_group', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );

		$input['category_tab_display']					=	moscomprofilerHTML::yesnoSelectList( 'category_tab_display', null, $plugin->params->get( 'category_tab_display', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['category_tab_desc_limit']				=	'<input type="text" id="category_tab_desc_limit" name="category_tab_desc_limit" value="' . htmlspecialchars( $plugin->params->get( 'category_tab_desc_limit', 150 ) ) . '" class="inputbox" size="5" />';
		$input['category_tab_orderby']					=	moscomprofilerHTML::selectList( $listCatOrderby, 'category_tab_orderby', null, 'value', 'text', $plugin->params->get( 'category_tab_orderby', 1 ), 1, false, false );
		$input['category_tab_paging']					=	moscomprofilerHTML::yesnoSelectList( 'category_tab_paging', null, $plugin->params->get( 'category_tab_paging', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['category_tab_limitbox']					=	moscomprofilerHTML::yesnoSelectList( 'category_tab_limitbox', null, $plugin->params->get( 'category_tab_limitbox', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['category_tab_limit']					=	'<input type="text" id="category_tab_limit" name="category_tab_limit" value="' . (int) $plugin->params->get( 'category_tab_limit', 15 ) . '" class="inputbox" size="5" />';
		$input['category_tab_search']					=	moscomprofilerHTML::yesnoSelectList( 'category_tab_search', null, $plugin->params->get( 'category_tab_search', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );

		$input['group_tab_display']						=	moscomprofilerHTML::yesnoSelectList( 'group_tab_display', null, $plugin->params->get( 'group_tab_display', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_tab_desc_limit']					=	'<input type="text" id="group_tab_desc_limit" name="group_tab_desc_limit" value="' . htmlspecialchars( $plugin->params->get( 'group_tab_desc_limit', 150 ) ) . '" class="inputbox" size="5" />';
		$input['group_tab_orderby']						=	moscomprofilerHTML::selectList( $listGrpOrderby, 'group_tab_orderby', null, 'value', 'text', $plugin->params->get( 'group_tab_orderby', 1 ), 1, false, false );
		$input['group_tab_paging']						=	moscomprofilerHTML::yesnoSelectList( 'group_tab_paging', null, $plugin->params->get( 'group_tab_paging', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_tab_limitbox']					=	moscomprofilerHTML::yesnoSelectList( 'group_tab_limitbox', null, $plugin->params->get( 'group_tab_limitbox', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_tab_limit']						=	'<input type="text" id="group_tab_limit" name="group_tab_limit" value="' . (int) $plugin->params->get( 'group_tab_limit', 15 ) . '" class="inputbox" size="5" />';
		$input['group_tab_search']						=	moscomprofilerHTML::yesnoSelectList( 'group_tab_search', null, $plugin->params->get( 'group_tab_search', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['group_tab_joined']						=	moscomprofilerHTML::yesnoSelectList( 'group_tab_joined', null, $plugin->params->get( 'group_tab_joined', 0 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );

		$input['joined_tab_display']					=	moscomprofilerHTML::yesnoSelectList( 'joined_tab_display', null, $plugin->params->get( 'joined_tab_display', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['joined_tab_desc_limit']					=	'<input type="text" id="joined_tab_desc_limit" name="joined_tab_desc_limit" value="' . htmlspecialchars( $plugin->params->get( 'joined_tab_desc_limit', 150 ) ) . '" class="inputbox" size="5" />';
		$input['joined_tab_orderby']					=	moscomprofilerHTML::selectList( $listGrpOrderby, 'joined_tab_orderby', null, 'value', 'text', $plugin->params->get( 'joined_tab_orderby', 1 ), 1, false, false );
		$input['joined_tab_paging']						=	moscomprofilerHTML::yesnoSelectList( 'joined_tab_paging', null, $plugin->params->get( 'joined_tab_paging', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['joined_tab_limitbox']					=	moscomprofilerHTML::yesnoSelectList( 'joined_tab_limitbox', null, $plugin->params->get( 'joined_tab_limitbox', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['joined_tab_limit']						=	'<input type="text" id="joined_tab_limit" name="joined_tab_limit" value="' . (int) $plugin->params->get( 'joined_tab_limit', 15 ) . '" class="inputbox" size="5" />';
		$input['joined_tab_search']						=	moscomprofilerHTML::yesnoSelectList( 'joined_tab_search', null, $plugin->params->get( 'joined_tab_search', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['joined_tab_owned']						=	moscomprofilerHTML::yesnoSelectList( 'joined_tab_owned', null, $plugin->params->get( 'joined_tab_owned', 0 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );

		$input['invites_tab_display']					=	moscomprofilerHTML::yesnoSelectList( 'invites_tab_display', null, $plugin->params->get( 'invites_tab_display', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['invites_tab_paging']					=	moscomprofilerHTML::yesnoSelectList( 'invites_tab_paging', null, $plugin->params->get( 'invites_tab_paging', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['invites_tab_limitbox']					=	moscomprofilerHTML::yesnoSelectList( 'invites_tab_limitbox', null, $plugin->params->get( 'invites_tab_limitbox', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['invites_tab_limit']						=	'<input type="text" id="invites_tab_limit" name="invites_tab_limit" value="' . (int) $plugin->params->get( 'invites_tab_limit', 15 ) . '" class="inputbox" size="5" />';
		$input['invites_tab_search']					=	moscomprofilerHTML::yesnoSelectList( 'invites_tab_search', null, $plugin->params->get( 'invites_tab_search', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );

		$input['invited_tab_display']					=	moscomprofilerHTML::yesnoSelectList( 'invited_tab_display', null, $plugin->params->get( 'invited_tab_display', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['invited_tab_desc_limit']				=	'<input type="text" id="invited_tab_desc_limit" name="invited_tab_desc_limit" value="' . htmlspecialchars( $plugin->params->get( 'invited_tab_desc_limit', 150 ) ) . '" class="inputbox" size="5" />';
		$input['invited_tab_orderby']					=	moscomprofilerHTML::selectList( $listGrpOrderby, 'invited_tab_orderby', null, 'value', 'text', $plugin->params->get( 'invited_tab_orderby', 1 ), 1, false, false );
		$input['invited_tab_paging']					=	moscomprofilerHTML::yesnoSelectList( 'invited_tab_paging', null, $plugin->params->get( 'invited_tab_paging', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['invited_tab_limitbox']					=	moscomprofilerHTML::yesnoSelectList( 'invited_tab_limitbox', null, $plugin->params->get( 'invited_tab_limitbox', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['invited_tab_limit']						=	'<input type="text" id="invited_tab_limit" name="invited_tab_limit" value="' . (int) $plugin->params->get( 'invited_tab_limit', 15 ) . '" class="inputbox" size="5" />';
		$input['invited_tab_search']					=	moscomprofilerHTML::yesnoSelectList( 'invited_tab_search', null, $plugin->params->get( 'invited_tab_search', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );

		cbgjClass::displayMessage( $message );

		HTML_cbgjAdmin::showConfig( $input, $user, $plugin );
	}