<settings module="professional_jobs">
	<section name="general">
		<option type="status" name="dpc_status_professional_jobs" module="professional_jobs" title="{@text:Jobs}" >
			<value label="{@text:Activated}" class="btn btn-success" value="1" addToDom="class,value"/>
			<value label="{@text:Deactivated}" class="btn btn-warning" addToDom="class,value,data-target" toggle="posttypes"/>
		</option>
		

		<option type="var" key="active_license" value="@function:getActiveLicense" />
		<option type="if" condition="{@var:active_license}" operator="!=" value="professional">
			<option type="if" condition="{@var:active_license}" operator="!=" value="suite">
				<option type="wrapper" width="12" class="wdf_idf_teaser_wrapper" addToDom="class">
					<option type="wrapper" width="6">
						<option type="hinweis" text="{@text:Upgrade to the Suite-license to activate the jobs module." class="warning" addToDom="class"/>
					</option>
				</option>
			</option>
		</option>
		<option type="if" condition="{@var:active_license}" operator="==" value="professional">
			<option type="section" section="job_settings" />
			<option type="section" section="shortcodes" />
		</option>
	</section>
	
	<section name="job_settings">
		<option type="wrapper" width="12" class="col-sm-12 col-xs-12">

			<option type="wrapper" width="12" class="col-sm-6 col-xs-12">
				<option type="heading" size="4" value="{@text:General settings}"/>
				<option type="checkbox" id="jobOverviewHiringDate" name="jobOverviewHiringDate" label="{@text:Show hiring date in archive}" class="icheckbox_square-blue form-control" addToDom="class" /> 
				<option type="checkbox" id="jobOverviewDeadlineDate" name="jobOverviewDeadlineDate" label="{@text:Show application deadline in archive}" class="icheckbox_square-blue form-control" addToDom="class" /> 
			</option>
			<option type="htmlelement" element="clear"/>
			
			<option type="wrapper" width="6" class="col-sm-6 col-xs-12">
				<option type="heading" size="4" value="{@text:Active taxonomies}"/>
				<option type="checkbox" id="jobSection" name="jobSection" label="{@text:Job section}" class="icheckbox_square-blue form-control" addToDom="class" /> 
				<option type="checkbox" id="jobLocation" name="jobLocation" label="{@text:Job location}" class="icheckbox_square-blue form-control" addToDom="class" /> 
			</option>
			
			<option type="wrapper" width="6" class="col-sm-6 col-xs-12">
				<option type="heading" size="4" value="{@text:Active filters}"/>
				<option type="checkbox" id="jobSectionFilter" name="jobSectionFilter" label="{@text:Job section filter}" class="icheckbox_square-blue form-control" addToDom="class" /> 
				<option type="checkbox" id="jobLocationFilter" name="jobLocationFilter" label="{@text:Job location filter}" class="icheckbox_square-blue form-control" addToDom="class" /> 
			</option>
			
			<option type="htmlelement" element="clear"/>
			<option type="htmlelement" element="br"/>
			
			<option type="wrapper" width="12" class="col-sm-12 col-xs-12">
				<option type="heading" size="4" value="{@text:Styling of jobs archive}"/>
				<option type="select" label="{@text:Styling}" name="jobsView" class="form-control select2" addToDom="class">
					<value label="{@text:Table view}" value="table" />
					<value label="{@text:List view}" value="list" />
				</option> 
			</option>
			
		</option>		
	</section>

	<section name="shortcodes">
		<option type="wrapper" width="4">
			<option type="copycode" id="dpc_jobs_archive_shortcode" name="{@text:Shortcode jobs archive}" text="[dpc_jobs_archive]" addToDom="id" tooltip-content="{@text:Use this shortcode to show the jobs archive on any page.}" />
		</option>
		<option type="wrapper" width="4">
			<option type="copycode" id="dpc_jobs_shortcode" name="{@text:Shortcode jobs}" text="[dpc_jobs section='marketing' location='berlin']" addToDom="id" tooltip-content="{@text:You can use the attributes ”section” and ”location” to pre-filter the job results. For example [dpc_jobs section=”marketing” location=”berlin”], use the term slugs for filtering}" />
		</option>
		<option type="wrapper" width="4" class="col-sm-6 col-xs-12">
			<option type="copycode" id="jobs_data_shortcode" name="{@text:Shortcode job data}" text="[jobs_data data='']" addToDom="id" tooltip-content="{@text:This shortcode can only be used within a single job. Please refer to the edit screen of a job, to find a full list of available ”data” parameters.}" />		
		</option>
	</section>

	
</settings>