<?xml version="1.0" encoding="utf-8"?>
<form addfieldpath="/administrator/components/com_comment/models/fields" >
	<fields name="basic">
		<fieldset name="basic" >
			<field name="include_categories" type="radio"  default="0"
			       label="TITLE_SECTIONS_CATEGORIES" description="INCLUDE_SC_HELP"
			       class="btn-group"
			       labelclass="col-sm-4 compojoom-control-label">
				<option value="0">COM_COMMENT_OPTION_CATEGORY_EXCLUDE</option>
				<option value="1">COM_COMMENT_OPTION_CATEGORY_INCLUDE</option>
			</field>

			<field name="categories" type="componentcategories" label="EXCLUDE_CATEGORIES_CAPTION"
			       class="chzn-none chzn-done form-control"
			       labelclass="col-sm-4 compojoom-control-label"
			       description="EXCLUDE_CATEGORIES_HELP" multiple="multiple" />

			<field name="exclude_content_items" type="text" label="EXCLUDE_CONTENTITEMS_CAPTION"
			       description="EXCLUDE_CONTENTITEMS_HELP"
			       class="form-control"
			       labelclass="col-sm-4 compojoom-control-label"
				/>

			<field name="disable_additional_comments"
			       disabled="true"
			       type="text" label="DISABLE_ADDITIONAL_COMMENTS_CAPTION"
			       description="DISABLE_ADDITIONAL_COMMENTS_HELP"
			       class="form-control ccomment-pro disabled"
			       labelclass="disabled ccomment-pro col-sm-4 compojoom-control-label" />
		</fieldset>
	</fields>

	<fields name="security">
		<fieldset name="security" label="COM_COMMENT_MODERATION_FIELDSET_LABEL">
			<field name="authorised_users" type="usergroup"  default="1" label="COM_COMMENT_AUTHORISED_POST_CAPTION"
			       multiple="true" description="COM_COMMENT_AUTHORISED_POST_DESC"
			       class="form-control"
			       labelclass="col-sm-4 compojoom-control-label"
				/>
			<field name="auto_publish" type="radio" default="1" label="AUTOPUBLISH_CAPTION"
			       class="btn-group"
			       labelclass="col-sm-4 compojoom-control-label"
			       description="AUTOPUBLISH_HELP">
				<option value="0">JNO</option>
				<option value="1">JYES</option>
			</field>
			<field name="auto_publish_usergroups" type="usergroup" label="COM_COMMENT_AUTOPUBLISH_USERGROUPS_LABEL"
			       multiple="multiple" default="1"
			       class="form-control ccomment-pro"
			       disabled="true"
			       labelclass="disabled ccomment-pro col-sm-4 compojoom-control-label"
			       description="COM_COMMENT_AUTOPUBLISH_USERGROUPS_DESC" />
			<field name="notify_moderators" type="radio" default="0" label="NOTIFY_MODERATOR_CAPTION"
			       class="btn-group"
			       labelclass="col-sm-4 compojoom-control-label"
			       description="NOTIFY_MODERATOR_HELP">
				<option value="0">JNO</option>
				<option value="1">JYES</option>
			</field>
			<field name="moderators" type="usergroup" label="MODERATOR_CAPTION"
			       multiple="multiple" default="8"
			       class="form-control"
			       labelclass="col-sm-4 compojoom-control-label"
			       description="MODERATOR_HELP" />
			<field name="content_creator" type="radio" class="btn-group disabled ccomment-pro"
			       disabled="true"
			       labelclass="disabled ccomment-pro col-sm-4 compojoom-control-label"
			       default="0" label="COM_COMMENT_CONTENT_CREATOR_MODERATOR_LABEL"
			       description="COM_COMMENT_CONTENT_CREATOR_MODERATOR_DESC">
				<option value="0" disabled="true">JNO</option>
				<option value="1" disabled="true">JYES</option>
			</field>
		</fieldset>
		<fieldset name="captcha" label="COM_COMMENT_ANTISPAM_FIELDSET_LABEL">
			<field name="captcha" type="radio" class="btn-group"
			       labelclass="col-sm-4 compojoom-control-label"
			       default="0" label="CAPTCHA_CAPTION"
			       description="CAPTCHA_HELP">
				<option value="0">JNO</option>
				<option value="1">JYES</option>
			</field>
			<field name="captcha_type" type="list"
			       class="chzn-none chzn-done ccomment-pro form-control"
			       labelclass="disabled col-sm-4 compojoom-control-label"
			       default="default" label="CAPTCHA_TYPE_CAPTION"
			       description="CAPTCHA_TYPE_HELP">
				<option value="default">CAPTCHA_TYPE_DEFAULT</option>
				<option value="recaptcha" disabled="true">CAPTCHA_TYPE_RECAPTCHA</option>
			</field>
			<field name="recaptcha_public_key" disabled="true" class="form-control ccomment-pro"
			       labelclass="disabled col-sm-4 compojoom-control-label"
			       type="text" label="RECAPTCHA_PUBKEY_CAPTION"
			       description="RECAPTCHA_PUBKEY_HELP" />
			<field name="recaptcha_private_key" disabled="true" class="form-control ccomment-pro"
			       labelclass="disabled col-sm-4 compojoom-control-label"
			       type="text" label="RECAPTCHA_PRVKEY_CAPTION"
			       description="RECAPTCHA_PRVKEY_HELP" />
			<field name="captcha_usertypes" type="usergroup" class="chzn-choices form-control"
			       labelclass="col-sm-4 compojoom-control-label"
			       label="CAPTCHA_USERTYPES_CAPTION"
			       multiple="multiple"
			       description="CAPTCHA_USERTYPES_HELP" />

		</fieldset>
		<fieldset name="restrictions" label="COM_COMMENT_RESTRICTIONS_FIELDSET_LABEL">
			<field name="maxlength_text" type="text" label="MAXLENGTH_TEXT_CAPTION"
			       labelclass="col-sm-4 compojoom-control-label"
			       class="form-control"
			       description="MAXLENGTH_TEXT_HELP" default="30000" />
		</fieldset>
	</fields>

	<fields name="layout">
		<fieldset name="posting_basic" label="COM_COMMENT_POSTING_BASIC_LABEL">
			<field name="tree" type="radio" class="btn-group"
			       labelclass="col-sm-4 compojoom-control-label"
			       default="0" label="TREE_CAPTION"
			       description="TREE_HELP">
				<option value="0">JNO</option>
				<option value="1">JYES</option>
				<option value="2">COM_COMMENT_MODERATORS_TREE_ONLY</option>
			</field>
			<field type="text" name="tree_depth" default="5" label="COM_COMMENT_TREE_DEPTH_LABEL"
			       description="COM_COMMENT_TREE_DEPTH_DESC" filter="integer"
			       disabled="true" labelclass="disabled col-sm-4 compojoom-control-label"
			       class="ccomment-pro disabled form-control"
				/>
			<field name="sort" type="list" default="0" label="SORT_DOWNWARD_CAPTION"
			       labelclass="col-sm-4 compojoom-control-label"
			       class="form-control"
			       description="SORT_DOWNWARD_HELP">
				<option value="0">SORT_DOWNWARD_VALUE_LAST</option>
				<option value="1">SORT_DOWNWARD_VALUE_FIRST</option>
				<option value="2" disabled="true">COM_COMMENT_LEAST_VOTES_FIRST</option>
				<option value="3" disabled="true">COM_COMMENT_MOST_VOTES_FIRST</option>
			</field>
			<field name="comments_per_page" type="text" label="DISPLAY_NUM_CAPTION"
			       labelclass="col-sm-4 compojoom-control-label"
			       class="form-control"
			       description="DISPLAY_NUM_HELP" default="0" />
			<field name="support_ubb" type="radio" class="btn-group"
			       labelclass="col-sm-4 compojoom-control-label"
			       default="1" label="SUPPORT_UBBCODE_CAPTION"
			       description="SUPPORT_UBBCODE_HELP">
				<option value="0">JNO</option>
				<option value="1">JYES</option>
			</field>
			<field name="support_pictures" type="radio" class="btn-group"  labelclass="col-sm-4 compojoom-control-label"
			       default="0"
			       label="SUPPORT_PICTURES_CAPTION"
			       description="SUPPORT_PICTURES_HELP">
				<option value="0">JNO</option>
				<option value="1">JYES</option>
			</field>
			<field name="pictures_maxwidth" type="text" label="PICTURES_MAXWIDTH_CAPTION"
			       labelclass="col-sm-4 compojoom-control-label"
			       class="form-control"
			       description="PICTURES_MAXWIDTH_HELP" default="200" />
			<field name="voting_visible" type="radio" class="btn-group"  labelclass="col-sm-4 compojoom-control-label"
			       default="1"
			       label="VOTING_VISIBLE_CAPTION"
			       description="VOTING_VISIBLE_HELP">
				<option value="0">JNO</option>
				<option value="1">JYES</option>
			</field>
			<field name="use_name" type="radio" class="btn-group ccomment-pro disabled"
			       labelclass="disabled ccomment-pro col-sm-4 compojoom-control-label"
			       default="0"
			       disabled="true"
			       label="USE_NAME_CAPTION"
			       description="USE_NAME_HELP">
				<option value="0" disabled="true">JNO</option>
				<option value="1" disabled="true">JYES</option>
			</field>
			<field name="date_format" type="text" label="DATE_FORMAT_CAPTION"
			       labelclass="col-sm-4 compojoom-control-label"
			       class="form-control"
			       description="DATE_FORMAT_HELP" default="age" />
			<field name="show_copyright" type="list" class="ccomment-pro disabled form-control"
			       default="1"
			       label="COM_COMMENT_SHOW_COPYRIGHT_LABEL"
			       disabled="true" labelclass="disabled col-sm-4 compojoom-control-label"
			       description="COM_COMMENT_SHOW_COPYRIGHT_DESC">
				<option value="0" disabled="true">JNO</option>
				<option value="1" disabled="true">JYES</option>
			</field>
		</fieldset>
		<fieldset name="layout_frontpage" label="COM_COMMENT_FRONTPAGE_LABEL">
			<field name="show_readon" type="radio" class="btn-group" labelclass="col-sm-4 compojoom-control-label"
			       default="1"
			       label="SHOW_READON_CAPTION"
			       description="SHOW_READON_HELP">
				<option value="0">JNO</option>
				<option value="1">JYES</option>
			</field>
			<field name="menu_readon" type="radio" class="btn-group" labelclass="col-sm-4 compojoom-control-label"
			       default="0"
			       label="MENU_READON_CAPTION"
			       description="MENU_READON_HELP">
				<option value="0">JNO</option>
				<option value="1">JYES</option>
			</field>
			<field name="intro_only" type="radio" class="btn-group" labelclass="col-sm-4 compojoom-control-label"
			       default="0"
			       label="INTRO_ONLY_CAPTION"
			       description="INTRO_ONLY_HELP">
				<option value="0">JNO</option>
				<option value="1">JYES</option>
			</field>
		</fieldset>
		<fieldset name="layout_emoticons" label="COM_COMMENT_EMOTICONS_LABEL">
			<field name="support_emoticons" type="radio" class="btn-group ccomment-pro disabled "
			       labelclass="disabled ccomment-pro col-sm-4 compojoom-control-label"
			       default="1"
			       disabled="true"
			       label="SUPPORT_EMOTICONS_CAPTION"
			       description="SUPPORT_EMOTICONS_HELP">
				<option value="0" disabled="true">JNO</option>
				<option value="1" disabled="true">JYES</option>
			</field>
			<field name="emoticon_pack" type="emoticons"
			       default="default"
			       labelclass="col-sm-4 compojoom-control-label"
			       label="EMOTICON_PACK_CAPTION"
			       description="" class="chzn-none chzn-done form-control"/>
		</fieldset>
	</fields>

	<fields name="template">
		<fieldset name="template"  >
			<field name="template" type="templates" class="chzn-none chzn-done form-control"
			       labelclass="col-sm-2 compojoom-control-label"
			       default="default"
			       label="COM_COMMENT_TEMPLATE_LABEL"
			       description="COM_COMMENT_TEMPLATE_DESC" />
		</fieldset>
	</fields>
	<fields name="integrations">
		<fieldset name="integrations" addfieldpath="/libraries/compojoom/form/fields">
			<field name="gravatar" type="radio" class="btn-group"
			       labelclass="col-sm-4 compojoom-control-label"
			       default="1"
			       label="GRAVATAR_CAPTION"
			       description="GRAVATAR_HELP">
				<option value="0">JNO</option>
				<option value="1">JYES</option>
			</field>
			<field name="akismet_use" type="list" class="form-control ccomment-pro disabled"
			       labelclass="col-sm-4 compojoom-control-label disabled"
			       default="0"
			       label="AKISMET_USE"
			       description="AKISMET_HELP">
				<option value="0" disabled="true">JNO</option>
				<option value="1" disabled="true">JYES</option>
			</field>
			<field name="akismet_key" disabled="true" class="ccomment-pro form-control"
			       labelclass="disabled col-sm-4 compojoom-control-label"
			       type="text" label="AKISMET_KEY"
			       description="AKISMET_KEY_HELP" default="" />
			<field name="support_avatars" type="avatars" class="ccomment-pro  chzn-none chzn-done form-control"
			       labelclass="disabled col-sm-4 compojoom-control-label"
			       disabled="true"
			       default="0"
			       isPro="1"
			       label="LIB_COMPOJOOM_SUPPORT_AVATARS_LABEL" description="LIB_COMPOJOOM_SUPPORT_AVATARS_DESC" />
			<field name="support_profiles" label="LIB_COMPOJOOM_SUPPORT_PROFILES_LABEL"
			       description="LIB_COMPOJOOM_SUPPORT_PROFILES_DESC"
			       isPro="1"
			       class="chzn-done ccomment-pro  form-control" type="profiles" default=""
			       labelclass="disabled col-sm-4 compojoom-control-label" />
		</fieldset>

	</fields>
</form>
