public function getAutoEdit( $id, $user, $plugin, $message = null ) {
		global $_CB_framework;

		cbgjClass::getTemplate( 'cbgroupjiveauto_edit' );

		$row						=	cbgjAutoData::getAutos( null, array( 'id', '=', (int) $id ), null, null, false );
		$params						=	$row->getParams();

		$js							=	"function conditionalCalculate() {"
									.		"$( '#conditional table' ).each( function() {"
									.			"if ( $( this ).find( 'tbody tr' ).length > 1 ) {"
									.				"$( this ).find( '.moveConditional,.removeConditional' ).removeClass( 'gjautoHide' );"
									.				"$( this ).find( 'tbody' ).sortable( 'enable' );"
									.			"} else {"
									.				"$( this ).find( '.moveConditional,.removeConditional' ).addClass( 'gjautoHide' );"
									.				"$( this ).find( 'tbody' ).sortable( 'disable' );"
									.			"}"
									.			"$( this ).find( 'tbody tr' ).each( function( index ) {"
									.				"$( this ).find( '.conditionalField input' ).attr( 'id', 'fields__field' + index ).attr( 'name', 'fields[field' + index + ']' );"
									.				"$( this ).find( '.conditionalOperator select' ).attr( 'id', 'operators__operator' + index ).attr( 'name', 'operators[operator' + index + ']' );"
									.				"$( this ).find( '.conditionalValue input' ).attr( 'id', 'values__value' + index ).attr( 'name', 'values[value' + index + ']' );"
									.			"});"
									.		"});"
									.	"};"
									.	"$( '.addConditional' ).live( 'click', function() {"
									.		"var conditional = $( this ).parents( 'tr' ).first().clone();"
									.		"conditional.find( '.conditionalField input,.conditionalOperator select,.conditionalValue input' ).val( '' ).removeClass( 'gjautoHide' );"
									.		"conditional.appendTo( '#conditional table tbody' );"
									.		"conditionalCalculate();"
									.	"});"
									.	"$( '.removeConditional' ).live( 'click', function() {"
									.		"if ( $( '#conditional table tbody tr' ).length > 1 ) {"
									.			"$( this ).parents( 'tr' ).first().remove();"
									.		"}"
									.		"conditionalCalculate();"
									.	"});"
									.	"$( '.conditionalOperator select' ).live( 'change', function() {"
									.		"if ( ( $( this ).val() == 6 ) || ( $( this ).val() == 7 ) ) {"
									.			"$( this ).closest( 'tr' ).find( '.conditionalValue input' ).addClass( 'gjautoHide' );"
									.		"} else {"
									.			"$( this ).closest( 'tr' ).find( '.conditionalValue input' ).removeClass( 'gjautoHide' );"
									.		"}"
									.	"});"
									.	"$( '#conditional table tbody' ).sortable( { items: 'tr', containment: 'parent', animated: true, stop: conditionalCalculate, tolerance: 'pointer', handle: '.moveConditional', opacity: 0.5 } );"
									.	"conditionalCalculate();"
									.	"function validate() {"
									.		"if ( $( '#trigger' ).val() ) {"
									.			"$( '#object,#access__' ).closest( 'tr' ).removeClass( 'gjautoHide' );"
									.			"if ( $( '#object' ).val() == 1 ) {"
									.				"$( '#variable' ).removeClass( 'gjautoHide' );"
									.				"$( '#variable_user' ).addClass( 'gjautoHide' );"
									.			"} else if ( $( '#object' ).val() == 3 ) {"
									.				"$( '#variable' ).addClass( 'gjautoHide' );"
									.				"$( '#variable_user' ).removeClass( 'gjautoHide' );"
									.			"} else {"
									.				"$( '#variable,#variable_user' ).addClass( 'gjautoHide' );"
									.			"}"
									.			"if ( $( '#access__' ).val() ) {"
									.				"$( '#access__' ).closest( 'tr' ).nextAll( 'tr' ).removeClass( 'gjautoHide' );"
									.				"$( '#params__auto' ).closest( 'tr' ).nextAll( 'tr' ).addClass( 'gjautoHide' );"
									.				"if ( $( '#params__auto' ).val() == 1 ) {"
									.					"$( '#list_groups' ).removeClass( 'gjautoHide' );"
									.					"$( '#params__status' ).closest( 'tr' ).removeClass( 'gjautoHide' );"
									.				"} else if ( $( '#params__auto' ).val() == 2 ) {"
									.					"$( '#list_category' ).removeClass( 'gjautoHide' );"
									.					"if ( $( '#params__category' ).val() ) {"
									.						"$( '#list_category' ).closest( 'tr' ).nextAll( 'tr' ).removeClass( 'gjautoHide' );"
									.						"if ( $( '#params__category' ).val() != -1 ) {"
									.							"$( '#params__types__,#params__cat_parent,#params__cat_name,#params__cat_description,#params__cat_owner,#params__cat_unique' ).closest( 'tr' ).addClass( 'gjautoHide' );"
									.						"}"
									.						"if ( $( '#params__grp_unique' ).val() == 1 ) {"
									.							"$( '#params__grp_autojoin' ).closest( 'tr' ).addClass( 'gjautoHide' );"
									.						"}"
									.					"} else {"
									.						"$( '#list_category' ).closest( 'tr' ).nextAll( 'tr' ).addClass( 'gjautoHide' );"
									.					"}"
									.				"} else if ( $( '#params__auto' ).val() == 3 ) {"
									.					"$( '#list_category' ).closest( 'tr' ).nextAll( 'tr' ).removeClass( 'gjautoHide' );"
									.					"$( '#params__grp_parent,#params__grp_name,#params__grp_description,#params__grp_owner,#params__grp_unique,#params__grp_autojoin,#params__type' ).closest( 'tr' ).addClass( 'gjautoHide' );"
									.				"} else if ( $( '#params__auto' ).val() == 4 ) {"
									.					"$( '#list_groups' ).removeClass( 'gjautoHide' );"
									.				"}"
									.			"} else {"
									.				"$( '#access__' ).closest( 'tr' ).nextAll( 'tr' ).addClass( 'gjautoHide' );"
									.			"}"
									.		"} else {"
									.			"$( '#trigger' ).closest( 'tr' ).nextAll( 'tr' ).addClass( 'gjautoHide' );"
									.		"}"
									.	"};"
									.	"$( '#triggers' ).change( function() {"
									.		"if ( $( '#trigger' ).val() ) {"
									.			"value = $( '#trigger' ).val() + ',' + $( this ).val();"
									.		"} else {"
									.			"value = $( this ).val();"
									.		"}"
									.		"if ( value ) {"
									.			"$( '#trigger' ).attr( 'value', value ).focus();"
									.			"$( this ).attr( 'value', '' );"
									.		"}"
									.	"});"
									.	"$( '#adminForm :input' ).bind( 'change keyup focus', function() {"
									.		"validate();"
									.	"});"
									.	"validate();";

		$_CB_framework->outputCbJQuery( $js, 'ui-all' );

		$input						=	array();

		$input['published']			=	moscomprofilerHTML::yesnoSelectList( 'published', null, (int) cbgjClass::getCleanParam( true, 'published', $row->get( 'published', 0 ) ) );
		$input['title']				=	'<input type="text" id="title" name="title" value="' . htmlspecialchars( cbgjClass::getCleanParam( true, 'title', $row->get( 'title' ) ) ) . '" class="inputbox" size="40" />';
		$input['description']		=	'<textarea id="description" name="description" class="inputbox" cols="40" rows="3">' . htmlspecialchars( cbgjClass::getCleanParam( true, 'description', $row->get( 'description' ) ) ) . '</textarea>';

		$listTriggers				=	array();
		$listTriggers[]				=	moscomprofilerHTML::makeOption( '', CBTxt::T( '- Add Trigger -' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOptGroup( CBTxt::T( 'Frontend' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeLoginFormDisplay', CBTxt::T( 'Before Login Form Display' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeFirstLogin', CBTxt::T( 'Before User First Login' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeLogin', CBTxt::T( 'Before User Login' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onLoginAuthentication', CBTxt::T( 'Login Authentication' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onDuringLogin', CBTxt::T( 'During Login' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onDoLoginNow', CBTxt::T( 'Do Login Now' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onAfterLogin', CBTxt::T( 'After User Login' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeLogout', CBTxt::T( 'Before User Logout' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onDoLogoutNow', CBTxt::T( 'Do Logout Now' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onAfterLogout', CBTxt::T( 'After User Logout' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeUserAvatarUpdate', CBTxt::T( 'Before Avatar Update' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onAfterUserAvatarUpdate', CBTxt::T( 'After Avatar Update' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onAfterUserProfileEditDisplay', CBTxt::T( 'After Profile Edit Display' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeUserUpdate', CBTxt::T( 'Before Profile Update' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onAfterUserUpdate', CBTxt::T( 'After Profile Update' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeUserProfileRequest', CBTxt::T( 'Before Profile Request' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeUserProfileDisplay', CBTxt::T( 'Before Profile Display' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onAfterUserProfileDisplay', CBTxt::T( 'After Profile Display' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeRegisterFormDisplay', CBTxt::T( 'Before Registration Form Display' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeRegisterForm', CBTxt::T( 'Before Registration Form' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onStartSaveUserRegistration', CBTxt::T( 'Start Save Registration' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeUserRegistration', CBTxt::T( 'Before Registration' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onAfterUserRegistration', CBTxt::T( 'After Registration' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onAfterUserRegistrationMailsSent', CBTxt::T( 'After Registration Mail Sent' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeAddConnection', CBTxt::T( 'Before Add Connection' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onAfterAddConnection', CBTxt::T( 'After Add Connection' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeRemoveConnection', CBTxt::T( 'Before Remove Connection' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onAfterRemoveConnection', CBTxt::T( 'After Remove Connection' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeDenyConnection', CBTxt::T( 'Before Deny Connection' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onAfterDenyConnection', CBTxt::T( 'After Deny Connection' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeAcceptConnection', CBTxt::T( 'Before Accept Connection' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onAfterAcceptConnection', CBTxt::T( 'After Accept Connection' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onLostPassForm', CBTxt::T( 'Lost Password Form' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onStartNewPassword', CBTxt::T( 'Start New Password' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeNewPassword', CBTxt::T( 'Before New Password' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onNewPassword', CBTxt::T( 'New Password' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeUsernameReminder', CBTxt::T( 'Before Username Reminder' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onAfterUsernameReminder', CBTxt::T( 'After Username Reminder' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeEmailUserForm', CBTxt::T( 'Before Email Form' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onAfterEmailUserForm', CBTxt::T( 'After Email Form' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeEmailUser', CBTxt::T( 'Before Email User' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeDisplayUsersList', CBTxt::T( 'Before Userlist Display' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOptGroup( CBTxt::T( 'Backend' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeUpdateUser', CBTxt::T( 'Before Profile Update' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onAfterUpdateUser', CBTxt::T( 'After Profile Update' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeNewUser', CBTxt::T( 'Before Registration' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onAfterNewUser', CBTxt::T( 'After Registration' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeDeleteUser', CBTxt::T( 'Before Delete User' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onAfterDeleteUser', CBTxt::T( 'After Delete User' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeUserBlocking', CBTxt::T( 'Before Blocking User' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeSyncUser', CBTxt::T( 'Before Sync User' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onAfterSyncUser', CBTxt::T( 'After Sync User' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeUserActive', CBTxt::T( 'Before User Active' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onAfterCheckCbDb', CBTxt::T( 'After Check CB Database' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onAfterCheckCbFieldsDb', CBTxt::T( 'After Check Fields Database' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeFixDb', CBTxt::T( 'Before Fix Database' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onAfterFixDb', CBTxt::T( 'After Fix Database' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeFixFieldsDb', CBTxt::T( 'Before Fix Fields Database' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeBackendUsersListBuildQuery', CBTxt::T( 'Before Userlist Build Query' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onAfterBackendUsersList', CBTxt::T( 'Before Userlist' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeBackendUsersEmailForm', CBTxt::T( 'Before Userlist Email Form' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeBackendUsersEmailStart', CBTxt::T( 'Before Userlist Email Start' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeBackendUserEmail', CBTxt::T( 'Before Userlist Email' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOptGroup( CBTxt::T( 'Frontend & Backend' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeUserProfileEditDisplay', CBTxt::T( 'Before Profile Edit Display' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeUserConfirm', CBTxt::T( 'Before User Confirm' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onAfterUserConfirm', CBTxt::T( 'After User Confirm' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeUserApproval', CBTxt::T( 'Before User Approval' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onAfterUserApproval', CBTxt::T( 'After User Approval' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onPrepareMenus', CBTxt::T( 'Prepare Menu' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onAfterFieldsFetch', CBTxt::T( 'After Fields Fetch' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onAfterTabsFetch', CBTxt::T( 'After Tabs Fetch' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onAfterPrepareViewTabs', CBTxt::T( 'After Prepare Tabs View' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeEditATab', CBTxt::T( 'Before Tab Edit' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onAfterEditATab', CBTxt::T( 'After Tab Edit' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onStartUsersList', CBTxt::T( 'Start Userlist' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onAfterUsersListFieldsSql', CBTxt::T( 'After Userlist Fields SQL' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeUsersListBuildQuery', CBTxt::T( 'Before Userlist Build Query' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onBeforeUsersListQuery', CBTxt::T( 'Before Userlist Query' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onInputFieldHtmlRender', CBTxt::T( 'Field HTML Render' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onFieldIcons', CBTxt::T( 'Field Icons' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onLogChange', CBTxt::T( 'Log Change' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onAfterAuthorizeAction', CBTxt::T( 'After Authorize Action' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onAfterAuthorizeView', CBTxt::T( 'After Authorize View' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOptGroup( CBTxt::T( 'CB GroupJive' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onPluginBE', CBTxt::T( 'Integration Backend' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeTools', CBTxt::T( 'Before Tools' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterTools', CBTxt::T( 'After Tools' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeNotification', CBTxt::T( 'Before Notification' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterNotification', CBTxt::T( 'After Notification' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeTemplate', CBTxt::T( 'Before Template' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterTemplate', CBTxt::T( 'After Template' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeUpdateCategory', CBTxt::T( 'Before Update Category' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeCreateCategory', CBTxt::T( 'Before Create Category' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterUpdateCategory', CBTxt::T( 'After Update Category' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterCreateCategory', CBTxt::T( 'After Create Category' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeDeleteCategory', CBTxt::T( 'Before Delete Category' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterDeleteCategory', CBTxt::T( 'After Delete Category' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeUpdateCategoryOrder', CBTxt::T( 'Before Update Category Order' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterUpdateCategoryOrder', CBTxt::T( 'After Update Category Order' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeUpdateCategoryState', CBTxt::T( 'Before Update Category State' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterUpdateCategoryState', CBTxt::T( 'After Update Category State' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeUpdateCategoryParams', CBTxt::T( 'Before Update Category Params' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterUpdateCategoryParams', CBTxt::T( 'After Update Category Params' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeSetCategoryParams', CBTxt::T( 'Before Set Category Params' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterSetCategoryParams', CBTxt::T( 'After Set Category Params' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeUpdateGroup', CBTxt::T( 'Before Update Group' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeCreateGroup', CBTxt::T( 'Before Create Group' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterUpdateGroup', CBTxt::T( 'After Update Group' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterCreateGroup', CBTxt::T( 'After Create Group' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeDeleteGroup', CBTxt::T( 'Before Delete Group' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterDeleteGroup', CBTxt::T( 'After Delete Group' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeUpdateGroupOrder', CBTxt::T( 'Before Update Group Order' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterUpdateGroupOrder', CBTxt::T( 'After Update Group Order' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeUpdateGroupState', CBTxt::T( 'Before Update Group State' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterUpdateGroupState', CBTxt::T( 'After Update Group State' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeUpdateGroupParams', CBTxt::T( 'Before Update Group Params' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterUpdateGroupParams', CBTxt::T( 'After Update Group Params' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeSetGroupParams', CBTxt::T( 'Before Set Group Params' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterSetGroupParams', CBTxt::T( 'After Set Group Params' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeUpdateUser', CBTxt::T( 'Before Update User' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeCreateUser', CBTxt::T( 'Before Create User' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterUpdateUser', CBTxt::T( 'After Update User' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterCreateUser', CBTxt::T( 'After Create User' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeDeleteUser', CBTxt::T( 'Before Delete User' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterDeleteUser', CBTxt::T( 'After Delete User' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeUpdateUserStatus', CBTxt::T( 'Before Update User Status' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterUpdateUserStatus', CBTxt::T( 'After Update User Status' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeUpdateUserParams', CBTxt::T( 'Before Update User Params' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterUpdateUserParams', CBTxt::T( 'After Update User Params' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeSetUserParams', CBTxt::T( 'Before Set User Params' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterSetUserParams', CBTxt::T( 'After Set User Params' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeUpdateInvite', CBTxt::T( 'Before Update Invite' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeCreateInvite', CBTxt::T( 'Before Create Invite' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterUpdateInvite', CBTxt::T( 'After Update Invite' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterCreateInvite', CBTxt::T( 'After Create Invite' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeDeleteInvite', CBTxt::T( 'Before Delete Invite' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterDeleteInvite', CBTxt::T( 'After Delete Invite' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeUpdateNotification', CBTxt::T( 'Before Update Notification' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeCreateNotification', CBTxt::T( 'Before Create Notification' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterUpdateNotification', CBTxt::T( 'After Update Notification' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterCreateNotification', CBTxt::T( 'After Create Notification' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeDeleteNotification', CBTxt::T( 'Before Delete Notification' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterDeleteNotification', CBTxt::T( 'After Delete Notification' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeUpdateNotificationParams', CBTxt::T( 'Before Update Notification Params' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterUpdateNotificationParams', CBTxt::T( 'After Update Notification Params' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeSetNotificationParams', CBTxt::T( 'Before Set Notification Params' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterSetNotificationParams', CBTxt::T( 'After Set Notification Params' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onPluginFE', CBTxt::T( 'Integration Frontend' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeMessageOverview', CBTxt::T( 'Before Message Overview' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterMessageOverview', CBTxt::T( 'After Message Overview' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeMessageCategory', CBTxt::T( 'Before Message Category' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterMessageCategory', CBTxt::T( 'After Message Category' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeJoinGroup', CBTxt::T( 'Before Join Group' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterJoinGroup', CBTxt::T( 'After Join Group' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeLeaveGroup', CBTxt::T( 'Before Leave Group' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterLeaveGroup', CBTxt::T( 'After Leave Group' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeMessageGroup', CBTxt::T( 'Before Message Group' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterMessageGroup', CBTxt::T( 'After Message Group' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onPluginBEToolbar', CBTxt::T( 'Integration Backend Toolbar' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onBeforeUpdateAuto', CBTxt::T( 'Before Update Auto' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onBeforeCreateAuto', CBTxt::T( 'Before Create Auto' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onAfterUpdateAuto', CBTxt::T( 'After Update Auto' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onAfterCreateAuto', CBTxt::T( 'After Create Auto' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onBeforeDeleteAuto', CBTxt::T( 'Before Delete Auto' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onAfterDeleteAuto', CBTxt::T( 'After Delete Auto' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onBeforeUpdateAutoOrder', CBTxt::T( 'Before Update Auto Order' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onAfterUpdateAutoOrder', CBTxt::T( 'After Update Auto Order' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onBeforeUpdateAutoParams', CBTxt::T( 'Before Update Auto Params' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onAfterUpdateAutoParams', CBTxt::T( 'After Update Auto Params' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onBeforeUpdateAutoState', CBTxt::T( 'Before Update Auto State' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onAfterUpdateAutoState', CBTxt::T( 'After Update Auto State' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onBeforeSetAutoFields', CBTxt::T( 'Before Set Auto Fields' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onAfterSetAutoFields', CBTxt::T( 'After Set Auto Fields' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onBeforeSetAutoOperators', CBTxt::T( 'Before Set Auto Operators' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onAfterSetAutoOperators', CBTxt::T( 'After Set Auto Operators' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onBeforeSetAutoValues', CBTxt::T( 'Before Set Auto Values' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onAfterSetAutoValues', CBTxt::T( 'After Set Auto Values' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onBeforeSetAutoParams', CBTxt::T( 'Before Set Auto Params' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onAfterSetAutoParams', CBTxt::T( 'After Set Auto Params' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onBeforeUpdateEvent', CBTxt::T( 'Before Update Event' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onBeforeCreateEvent', CBTxt::T( 'Before Create Event' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onAfterUpdateEvent', CBTxt::T( 'After Update Event' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onAfterCreateEvent', CBTxt::T( 'After Create Event' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onBeforeDeleteEvent', CBTxt::T( 'Before Delete Event' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onAfterDeleteEvent', CBTxt::T( 'After Delete Event' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onBeforeUpdateEventState', CBTxt::T( 'Before Update Event State' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onAfterUpdateEventState', CBTxt::T( 'After Update Event State' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onBeforeUpdateEventAttendance', CBTxt::T( 'Before Update Event Attendance' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onAfterUpdateEventAttendance', CBTxt::T( 'After Update Event Attendance' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onBeforeUpdateFile', CBTxt::T( 'Before Update File' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onBeforeCreateFile', CBTxt::T( 'Before Create File' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onAfterUpdateFile', CBTxt::T( 'After Update File' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onAfterCreateFile', CBTxt::T( 'After Create File' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onBeforeDeleteFile', CBTxt::T( 'Before Delete File' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onAfterDeleteFile', CBTxt::T( 'After Delete File' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onBeforeUpdateFileState', CBTxt::T( 'Before Update File State' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onAfterUpdateFileState', CBTxt::T( 'After Update File State' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onBeforeUpdatePhoto', CBTxt::T( 'Before Update Photo' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onBeforeCreatePhoto', CBTxt::T( 'Before Create Photo' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onAfterUpdatePhoto', CBTxt::T( 'After Update Photo' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onAfterCreatePhoto', CBTxt::T( 'After Create Photo' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onBeforeDeletePhoto', CBTxt::T( 'Before Delete Photo' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onAfterDeletePhoto', CBTxt::T( 'After Delete Photo' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onBeforeUpdatePhotoState', CBTxt::T( 'Before Update Photo State' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onAfterUpdatePhotoState', CBTxt::T( 'After Update Photo State' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onBeforeUpdateVideo', CBTxt::T( 'Before Update Video' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onBeforeCreateVideo', CBTxt::T( 'Before Create Video' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onAfterUpdateVideo', CBTxt::T( 'After Update Video' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onAfterCreateVideo', CBTxt::T( 'After Create Video' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onBeforeDeleteVideo', CBTxt::T( 'Before Delete Video' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onAfterDeleteVideo', CBTxt::T( 'After Delete Video' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onBeforeUpdateVideoState', CBTxt::T( 'Before Update Video State' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onAfterUpdateVideoState', CBTxt::T( 'After Update Video State' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onBeforeUpdateWall', CBTxt::T( 'Before Update Wall' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onBeforeCreateWall', CBTxt::T( 'Before Create Wall' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onAfterUpdateWall', CBTxt::T( 'After Update Wall' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onAfterCreateWall', CBTxt::T( 'After Create Wall' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onBeforeDeleteWall', CBTxt::T( 'Before Delete Wall' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onAfterDeleteWall', CBTxt::T( 'After Delete Wall' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onBeforeUpdateWallState', CBTxt::T( 'Before Update Wall State' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gjint_onAfterUpdateWallState', CBTxt::T( 'After Update Wall State' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onMenuBE', CBTxt::T( 'Backend Menu' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onCategoryEdit', CBTxt::T( 'Category Edit' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onGroupEdit', CBTxt::T( 'Group Edit' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onConfigIntegrations', CBTxt::T( 'Config Integrations' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onMenusIntegrationsGeneral', CBTxt::T( 'Menus Integrations General' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onMenusIntegrationsCategories', CBTxt::T( 'Menus Integrations Categories' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onMenusIntegrationsGroups', CBTxt::T( 'Menus Integrations Groups' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onMenusIntegrationsSave', CBTxt::T( 'Menus Integrations Save' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAuthorization', CBTxt::T( 'Authorization' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onCaptchaRender', CBTxt::T( 'Captcha Render' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onCaptchaValidate', CBTxt::T( 'Captcha Validate' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onToolbarBE', CBTxt::T( 'Backend Toolbar' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeOverviewCategoryMenu', CBTxt::T( 'Before Overview Category Menu' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterOverviewCategoryMenu', CBTxt::T( 'After Overview Category Menu' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeOverviewCategoryInfo', CBTxt::T( 'Before Overview Category Info' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterOverviewCategoryInfo', CBTxt::T( 'After Overview Category Info' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeCategoryGroupMenu', CBTxt::T( 'Before Category Group Menu' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterCategoryGroupMenu', CBTxt::T( 'After Category Group Menu' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeCategoryGroupInfo', CBTxt::T( 'Before Category Group Info' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterCategoryGroupInfo', CBTxt::T( 'After Category Group Info' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeCategoryTab', CBTxt::T( 'Before Category Tab' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterCategoryTab', CBTxt::T( 'After Category Tab' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeCategoryInfo', CBTxt::T( 'Before Category Info' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterCategoryInfo', CBTxt::T( 'After Category Info' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeCategoryMenu', CBTxt::T( 'Before Category Menu' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterCategoryMenu', CBTxt::T( 'After Category Menu' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeGroupInviteInfo', CBTxt::T( 'Before Group Invite Info' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeGroupInviteMenu', CBTxt::T( 'Before Group Invite Menu' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterGroupInviteMenu', CBTxt::T( 'After Group Invite Menu' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterGroupInviteInfo', CBTxt::T( 'After Group Invite Info' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeGroupTab', CBTxt::T( 'Before Group Tab' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterGroupTab', CBTxt::T( 'After Group Tab' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeGroupInfo', CBTxt::T( 'Before Group Info' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterGroupInfo', CBTxt::T( 'After Group Info' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeGroupMenu', CBTxt::T( 'Before Group Menu' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterGroupMenu', CBTxt::T( 'After Group Menu' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeGroupUserMenu', CBTxt::T( 'Before Group User Menu' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterGroupUserMenu', CBTxt::T( 'After Group User Menu' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeGroupUserInfo', CBTxt::T( 'Before Group User Info' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterGroupUserInfo', CBTxt::T( 'After Group User Info' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onGeneralNotifications', CBTxt::T( 'General Notifications' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onCategoryNotifications', CBTxt::T( 'Category Notifications' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onGroupNotifications', CBTxt::T( 'Group Notifications' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeOverviewInfo', CBTxt::T( 'Before Overview Info' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterOverviewInfo', CBTxt::T( 'After Overview Info' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeOverviewMenu', CBTxt::T( 'Before Overview Menu' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterOverviewMenu', CBTxt::T( 'After Overview Menu' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforePanelInfo', CBTxt::T( 'Before Panel Info' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterPanelInfo', CBTxt::T( 'After Panel Info' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforePanelMenu', CBTxt::T( 'Before Panel Menu' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterPanelMenu', CBTxt::T( 'After Panel Menu' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeProfileTab', CBTxt::T( 'Before Profile Tab' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterProfileTab', CBTxt::T( 'After Profile Tab' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeProfileOverviewCategoryMenu', CBTxt::T( 'Before Profile Overview Category Menu' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterProfileOverviewCategoryMenu', CBTxt::T( 'After Profile Overview Category Menu' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeProfileOverviewCategoryInfo', CBTxt::T( 'Before Profile Overview Category Info' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterProfileOverviewCategoryInfo', CBTxt::T( 'After Profile Overview Category Info' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeProfileCategoryGroupMenu', CBTxt::T( 'Before Profile Category Group Menu' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterProfileCategoryGroupMenu', CBTxt::T( 'After Profile Category Group Menu' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeProfileCategoryGroupInfo', CBTxt::T( 'Before Profile Category Group Info' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterProfileCategoryGroupInfo', CBTxt::T( 'After Profile Category Group Info' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeProfileGroupInvitedMenu', CBTxt::T( 'Before Profile Group Invited Menu' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterProfileGroupInvitedMenu', CBTxt::T( 'After Profile Group Invited Menu' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeProfileGroupInvitedInfo', CBTxt::T( 'Before Profile Group Invited Info' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterProfileGroupInvitedInfo', CBTxt::T( 'After Profile Group Invited Info' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeProfileGroupInviteInfo', CBTxt::T( 'Before Profile Group Invite Info' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onBeforeProfileGroupInviteMenu', CBTxt::T( 'Before Profile Group Invite Menu' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterProfileGroupInviteMenu', CBTxt::T( 'After Profile Group Invite Menu' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'gj_onAfterProfileGroupInviteInfo', CBTxt::T( 'After Profile Group Invite Info' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOptGroup( CBTxt::T( 'CB Paid Subscriptions' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onCPayAfterPlanRenewalSelected', CBTxt::T( 'After Plan Renewal Selected' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onCPayEditBasketIntegration', CBTxt::T( 'Edit Basket Integration' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onCbSubsAfterPaymentBasket', CBTxt::T( 'After Payment Basket' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onCPayBeforeDrawSomething', CBTxt::T( 'Before Draw Something' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onCPayAfterDrawSomething', CBTxt::T( 'After Draw Something' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onCPayBeforeDrawPlan', CBTxt::T( 'Before Draw Plan' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onCPayAfterDrawPlan', CBTxt::T( 'After Draw Plan' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onCPayAfterPlanSelected', CBTxt::T( 'After Plan Selected' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onCPayAfterPaymentStatusChange', CBTxt::T( 'After Payment Status Change' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onCPayAfterPaymentStatusUpdateEvent', CBTxt::T( 'After Payment Status Update Event' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onCPayBeforeBackendPlanDisplay', CBTxt::T( 'Before Backend Plan Display' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onCPayBeforeDisplayProductPeriodPrice', CBTxt::T( 'Before Display Product Period Price' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onCPayAfterDisplayProductPeriodPrice', CBTxt::T( 'After Display Product Period Price' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onCPayBeforeComputeTotalizersPaymentBasketUpdated', CBTxt::T( 'Before Compute Totalizers Payment Basket Updated' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onCPayBeforeStorePaymentBasketUpdated', CBTxt::T( 'Before Store Payment Basket Updated' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onCPayAfterPaymentBasketUpdated', CBTxt::T( 'After Payment Basket Updated' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onCPayPaymentItemEvent', CBTxt::T( 'Payment Item Event' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onCPayBeforeGetProductPrice', CBTxt::T( 'Before Get Product Price' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onCPayAfterGetProductPrice', CBTxt::T( 'After Get Product Price' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onCPayBeforeDisplaySubscriptionPeriodPrice', CBTxt::T( 'Before Display Subscription Period Price' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onCPayAfterDisplaySubscriptionPeriodPrice', CBTxt::T( 'After Display Subscription Period Price' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onCPayUserStateChange', CBTxt::T( 'User State Change' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onCPayBeforeMailerEmailMessageSent', CBTxt::T( 'Before Mailer Email Message Sent' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onCPayBeforeMailerPrivateMessageSent', CBTxt::T( 'Before Mailer Private Message Sent' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onCPayAfterMailerMessageSent', CBTxt::T( 'After Mailer Message Sent' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'onCPayBeforeDrawSubscription', CBTxt::T( 'Before Draw Subscription' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOptGroup( CBTxt::T( 'CB Activity' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'activity_onBeforeMessageDisplay', CBTxt::T( 'Before Message Display' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'activity_onAfterMessageDisplay', CBTxt::T( 'After Message Display' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'activity_onBeforeItemDisplay', CBTxt::T( 'Before Item Display' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'activity_onAfterItemDisplay', CBTxt::T( 'After Item Display' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'activity_onBeforeUpdateActivity', CBTxt::T( 'Before Update Activity' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'activity_onBeforeCreateActivity', CBTxt::T( 'Before Create Activity' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'activity_onAfterUpdateActivity', CBTxt::T( 'After Update Activity' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'activity_onAfterCreateActivity', CBTxt::T( 'After Create Activity' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'activity_onBeforeDeleteActivity', CBTxt::T( 'Before Delete Activity' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'activity_onAfterDeleteActivity', CBTxt::T( 'After Delete Activity' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'activity_onBeforeAccess', CBTxt::T( 'Before Access' ) );
		$listTriggers[]				=	moscomprofilerHTML::makeOption( 'activity_onAfterAccess', CBTxt::T( 'After Access' ) );
		$input['triggers']			=	moscomprofilerHTML::selectList( $listTriggers, 'triggers', null, 'value', 'text', null, 1, false, false );

		$input['trigger']			=	'<input type="text" id="trigger" name="trigger" value="' . htmlspecialchars( str_replace( ' ', '', cbgjClass::getCleanParam( true, 'trigger', $row->get( 'trigger' ) ) ) ) . '" class="inputbox" size="40" />';

		$listObject					=	array();
		$listObject[]				=	moscomprofilerHTML::makeOption( '0', CBTxt::T( 'Automatic' ) );
		$listObject[]				=	moscomprofilerHTML::makeOption( '1', CBTxt::T( 'Manually' ) );
		$listObject[]				=	moscomprofilerHTML::makeOption( '2', CBTxt::T( 'User' ) );
		$listObject[]				=	moscomprofilerHTML::makeOption( '3', CBTxt::T( 'Specific' ) );
		$input['object']			=	moscomprofilerHTML::selectList( $listObject, 'object', null, 'value', 'text', (int) cbgjClass::getCleanParam( true, 'object', $row->get( 'object', 0 ) ), 1, false, false );

		$listVariable				=	array();
		$listVariable[]				=	moscomprofilerHTML::makeOption( '1', CBTxt::T( 'Variable 1' ) );
		$listVariable[]				=	moscomprofilerHTML::makeOption( '2', CBTxt::T( 'Variable 2' ) );
		$listVariable[]				=	moscomprofilerHTML::makeOption( '3', CBTxt::T( 'Variable 3' ) );
		$listVariable[]				=	moscomprofilerHTML::makeOption( '4', CBTxt::T( 'Variable 4' ) );
		$listVariable[]				=	moscomprofilerHTML::makeOption( '5', CBTxt::T( 'Variable 5' ) );
		$listVariable[]				=	moscomprofilerHTML::makeOption( '6', CBTxt::T( 'Variable 6' ) );
		$listVariable[]				=	moscomprofilerHTML::makeOption( '7', CBTxt::T( 'Variable 7' ) );
		$listVariable[]				=	moscomprofilerHTML::makeOption( '8', CBTxt::T( 'Variable 8' ) );
		$listVariable[]				=	moscomprofilerHTML::makeOption( '9', CBTxt::T( 'Variable 9' ) );
		$listVariable[]				=	moscomprofilerHTML::makeOption( '10', CBTxt::T( 'Variable 10' ) );
		$input['variable']			=	moscomprofilerHTML::selectList( $listVariable, 'variable', null, 'value', 'text', (int) cbgjClass::getCleanParam( true, 'variable', $row->get( 'variable', 0 ) ), 1, false, false );

		$input['variable_user']		=	'******' . htmlspecialchars( cbgjClass::getCleanParam( true, 'variable', $row->get( 'variable' ) ) ) . '" class="inputbox" size="5" />';

		$listAccess					=	array();
		$listAccess[]				=	moscomprofilerHTML::makeOptGroup( CBTxt::T( 'Custom ACL' ) );
		$listAccess[]				=	moscomprofilerHTML::makeOption( '-1', CBTxt::T( 'Everybody' ) );
		$listAccess[]				=	moscomprofilerHTML::makeOption( '-2', CBTxt::T( 'All Non-Registered Users' ) );
		$listAccess[]				=	moscomprofilerHTML::makeOption( '-3', CBTxt::T( 'All Registered Users' ) );
		$listAccess[]				=	moscomprofilerHTML::makeOption( '-4', CBTxt::T( 'All Non-Moderators' ) );
		$listAccess[]				=	moscomprofilerHTML::makeOption( '-5', CBTxt::T( 'All Moderators' ) );
		$listAccess[]				=	moscomprofilerHTML::makeOptGroup( CBTxt::T( 'CMS ACL' ) );
		$listAccess					=	array_merge( $listAccess, $_CB_framework->acl->get_group_children_tree( null, 'USERS', false ) );
		$input['access']			=	moscomprofilerHTML::selectList( $listAccess, 'access[]', 'size="6" multiple="multiple"', 'value', 'text', explode( '|*|', cbgjClass::getCleanParam( true, 'access', $row->get( 'access' ) ) ), 1, false, false );

		$listOperator				=	array();
		$listOperator[]				=	moscomprofilerHTML::makeOption( '', CBTxt::T( '- Select Operator -' ) );
		$listOperator[]				=	moscomprofilerHTML::makeOption( '0', CBTxt::T( 'Equal To' ) );
		$listOperator[]				=	moscomprofilerHTML::makeOption( '1', CBTxt::T( 'Not Equal To' ) );
		$listOperator[]				=	moscomprofilerHTML::makeOption( '2', CBTxt::T( 'Greater Than' ) );
		$listOperator[]				=	moscomprofilerHTML::makeOption( '3', CBTxt::T( 'Less Than' ) );
		$listOperator[]				=	moscomprofilerHTML::makeOption( '4', CBTxt::T( 'Greater Than or Equal To' ) );
		$listOperator[]				=	moscomprofilerHTML::makeOption( '5', CBTxt::T( 'Less Than or Equal To' ) );
		$listOperator[]				=	moscomprofilerHTML::makeOption( '6', CBTxt::T( 'Empty' ) );
		$listOperator[]				=	moscomprofilerHTML::makeOption( '7', CBTxt::T( 'Not Empty' ) );
		$listOperator[]				=	moscomprofilerHTML::makeOption( '8', CBTxt::T( 'Does Contain' ) );
		$listOperator[]				=	moscomprofilerHTML::makeOption( '9', CBTxt::T( 'Does Not Contain' ) );
		$listOperator[]				=	moscomprofilerHTML::makeOption( '10', CBTxt::T( 'Is REGEX' ) );
		$listOperator[]				=	moscomprofilerHTML::makeOption( '11', CBTxt::T( 'Is Not REGEX' ) );

		$conditionals				=	count( explode( "\n", $row->get( 'field' ) ) );

		for ( $i = 0, $n = ( $conditionals ? $conditionals : 1 ); $i < $n; $i++ ) {
			$operator				=	cbgjClass::getCleanParam( true, "operator$i", null, null, $row->get( 'operator' ) );

			$input["field$i"]		=	'<input type="text" id="fields__field' . $i . '" name="fields[field' . $i . ']" value="' . htmlspecialchars( cbgjClass::getHTMLCleanParam( true, "field$i", null, null, $row->get( 'field' ) ) ) . '" class="inputbox" size="25" />';
			$input["operator$i"]	=	moscomprofilerHTML::selectList( $listOperator, "operators[operator$i]", null, 'value', 'text', $operator, 1, false, false );
			$input["value$i"]		=	'<input type="text" id="values__' . $i . '" name="values[value' . $i . ']" value="' . htmlspecialchars( cbgjClass::getHTMLCleanParam( true, "value$i", null, null, $row->get( 'value' ) ) ) . '" class="inputbox' . ( in_array( $operator, array( 6, 7 ) ) ? ' gjautoHide' : null ) . '" size="25" />';
		}

		$input['conditionals']		=	( $conditionals ? $conditionals : 1 );

		$listAuto					=	array();
		$listAuto[]					=	moscomprofilerHTML::makeOption( '', CBTxt::T( '- Select Auto -' ) );
		$listAuto[]					=	moscomprofilerHTML::makeOption( '1', CBTxt::T( 'Join Groups' ) );
		$listAuto[]					=	moscomprofilerHTML::makeOption( '4', CBTxt::T( 'Leave Groups' ) );
		$listAuto[]					=	moscomprofilerHTML::makeOption( '2', CBTxt::T( 'New Group' ) );
		$listAuto[]					=	moscomprofilerHTML::makeOption( '3', CBTxt::T( 'New Category' ) );
		$input['auto']				=	moscomprofilerHTML::selectList( $listAuto, 'params[auto]', null, 'value', 'text', $params->get( 'auto' ), 1, false, false );

		$listGroups					=	array();

		$categories					=	cbgjData::getCategories();

		if ( $categories ) foreach ( $categories as $cat ) {
			$groups					=	cbgjData::listArray( cbgjData::getGroups( null, array( 'category', '=', $cat->get( 'id' ) ) ) );

			if ( $groups ) {
				$listGroups[]		=	moscomprofilerHTML::makeOptGroup( $cat->get( 'name' ) );

				foreach ( $groups as $grp ) {
					$listGroups[]	=	moscomprofilerHTML::makeOption( $grp->value, $grp->text );
				}
			}
		}

		if ( $listGroups ) {
			$input['groups']		=	moscomprofilerHTML::selectList( $listGroups, 'params[groups][]', 'size="6" multiple="multiple"', 'value', 'text', explode( '|*|', $params->get( 'groups', '1|*|2|*|3' ) ), 1, false, false );

			array_unshift( $listGroups, moscomprofilerHTML::makeOption( '0', CBTxt::T( 'No Parent' ) ) );

			$input['grp_parent']	=	moscomprofilerHTML::selectList( $listGroups, 'params[grp_parent]', null, 'value', 'text', $params->get( 'grp_parent', 0 ), 1, false, false );
		} else {
			$input['groups']		=	CBTxt::T( 'No groups exist!' );
			$input['grp_parent']	=	CBTxt::T( 'No groups exist!' );
		}

		$listStatus					=	array();
		$listStatus[]				=	moscomprofilerHTML::makeOption( '-1', CBTxt::T( 'Banned' ) );
		$listStatus[]				=	moscomprofilerHTML::makeOption( '0', CBTxt::T( 'Inactive' ) );
		$listStatus[]				=	moscomprofilerHTML::makeOption( '1', CBTxt::T( 'Active' ) );
		$listStatus[]				=	moscomprofilerHTML::makeOption( '2', CBTxt::T( 'Moderator' ) );
		$listStatus[]				=	moscomprofilerHTML::makeOption( '3', CBTxt::T( 'Admin' ) );
		$listStatus[]				=	moscomprofilerHTML::makeOption( '4', CBTxt::T( 'Owner' ) );
		$input['status']			=	moscomprofilerHTML::selectList( $listStatus, 'params[status]', null, 'value', 'text', $params->get( 'status', 1 ), 1, false, false );

		if ( $categories ) {
			$categories				=	cbgjData::listArray( $categories );
			$categoriesParents		=	$categories;

			array_unshift( $categories, moscomprofilerHTML::makeOption( '-1', CBTxt::T( 'New Category' ) ) );
			array_unshift( $categories, moscomprofilerHTML::makeOption( '', CBTxt::T( '- Select Category -' ) ) );

			$input['category']		=	moscomprofilerHTML::selectList( $categories, 'params[category]', null, 'value', 'text', $params->get( 'category' ), 1, false, false );

			array_unshift( $categoriesParents, moscomprofilerHTML::makeOption( '0', CBTxt::T( 'No Parent' ) ) );

			$input['cat_parent']	=	moscomprofilerHTML::selectList( $categoriesParents, 'params[cat_parent]', null, 'value', 'text', $params->get( 'cat_parent', 0 ), 1, false, false );
		} else {
			$input['category']		=	CBTxt::T( 'No categories exist!' );
			$input['cat_parent']	=	CBTxt::T( 'No categories exist!' );
		}

		$input['cat_name']			=	'<input type="text" id="params__cat_name" name="params[cat_name]" value="' . htmlspecialchars( $params->get( 'cat_name' ) ) . '" class="inputbox" size="40" />';
		$input['cat_description']	=	'<textarea id="params__cat_description" name="params[cat_description]" class="inputbox" cols="40" rows="5">' . htmlspecialchars( $params->get( 'cat_description' ) ) . '</textarea>';
		$input['cat_owner']			=	'<input type="text" id="params__cat_owner" name="params[cat_owner]" value="' . htmlspecialchars( $params->get( 'cat_owner' ) ) . '" class="inputbox" size="10" />';
		$input['cat_unique']		=	moscomprofilerHTML::yesnoSelectList( 'params[cat_unique]', null, $params->get( 'cat_unique', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );

		$listTypes					=	array();
		$listTypes[]				=	moscomprofilerHTML::makeOption( '1', CBTxt::T( 'Open' ) );
		$listTypes[]				=	moscomprofilerHTML::makeOption( '2', CBTxt::T( 'Approval' ) );
		$listTypes[]				=	moscomprofilerHTML::makeOption( '3', CBTxt::T( 'Invite' ) );
		$input['types']				=	moscomprofilerHTML::selectList( $listTypes, 'params[types][]', 'size="4" multiple="multiple"', 'value', 'text', explode( '|*|', $params->get( 'types', '1|*|2|*|3' ) ), 1, false, false );

		$input['grp_name']			=	'<input type="text" id="params__grp_name" name="params[grp_name]" value="' . htmlspecialchars( $params->get( 'grp_name' ) ) . '" class="inputbox" size="40" />';
		$input['grp_description']	=	'<textarea id="params__grp_description" name="params[grp_description]" class="inputbox" cols="40" rows="5">' . htmlspecialchars( $params->get( 'grp_description' ) ) . '</textarea>';
		$input['grp_owner']			=	'<input type="text" id="params__grp_owner" name="params[grp_owner]" value="' . htmlspecialchars( $params->get( 'grp_owner' ) ) . '" class="inputbox" size="10" />';
		$input['grp_unique']		=	moscomprofilerHTML::yesnoSelectList( 'params[grp_unique]', null, $params->get( 'grp_unique', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['grp_autojoin']		=	moscomprofilerHTML::yesnoSelectList( 'params[grp_autojoin]', null, $params->get( 'grp_autojoin', 1 ), CBTxt::T( 'Enable' ), CBTxt::T( 'Disable' ) );
		$input['type']				=	moscomprofilerHTML::selectList( $listTypes, 'params[type]', null, 'value', 'text', $params->get( 'type', 1 ), 1, false, false );
		$input['exclude']			=	'<input type="text" id="exclude" name="exclude" value="' . htmlspecialchars( $params->get( 'exclude' ) ) . '" class="inputbox" size="20" />';

		cbgjClass::displayMessage( $message );

		if ( class_exists( 'HTML_cbgroupjiveautoEdit' ) ) {
			HTML_cbgroupjiveautoEdit::showAutoEdit( $row, $input, $user, $plugin );
		} else {
			$this->showAutoEdit( $row, $input, $user, $plugin );
		}
	}
	/**
	 * 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 );
	}