<settings module="dpc_importexport">
	<section name="general">
		<option type="status" allowdisable="false" name="dpc_status_dpc_importexport" module="dpc_importexport" title="{@text:Backup and migration}" description-intro="">
			<value label="{@text:Activated}" class="btn btn-success" value="1" addToDom="class,value"/>
			<value label="{@text:Deactivated}" class="btn btn-warning" addToDom="class,value"/>
		</option>
		<option type="tabs">
			<tab title="{@text:Setup}">
				<option type="section" section="setup" />
			</tab>
			<tab title="{@text:Backup}">
				<option type="section" section="save" />
			</tab>
			<tab title="{@text:Performance}">
				<option type="section" section="performance" />
			</tab>
		</option>
	</section>
	<section name="save" hasWrap="false">
		<option type="wrapper" width="12" class="comment" addToDom="class">
			<option type="text" name="saveComment" label="{@text:Comment}" class="form-control" style="width:100%" addToDom="class,style"/>
			<option type="button" class="btn btn-success btn-export" name="action" value="save" label="{@text:Backup}" icon-class="fa fa-share" style="margin: 11px 0 0 5px;" addToDom="class,style"/>
		</option>
		<option type="wrapper" width="12">
			<option type="each" source="@function:getModulesIncSubmodules" sourceParams="dpc_licenses" namespace="modules">
				<option type="checkbox" name="save][{@NS:modules|key}" id="save_module_{@NS:modules|key}" label="{@NS:modules|label}" />
			</option>
		</option>
	</section>
	<section name="setup">
		<option type="paragraph" text="{@text:Install our Master-Settings by click on the Setup button, to have an optimal preparation of our plugin. You can also import your settings and metadata from another SEO plugin below. You can also safe here your settings and import them in other projects of you.}" />
			<option type="table" class="table">
			<option type="tr">
				<option type="th" label="" />
				<option type="th" label="{@text:Date / Time}" />
				<option type="th" label="{@text:Comment}" />
				<option type="th" label="" />
				<option type="th" label="" />
			</option>
			<option type="trStart" />
			<option type="each" source="@method:dpc:importexport:getFiles" namespace="files">
				<option type="tdStart" />
				<option type="if" condition="{@NS:files|system}" operator="==" value="1">
					<option type="checkbox" name="file][{@NS:files|filename}" id="{@NS:files|id}" disabled="disabled" addToDom="disabled"/>
				</option>
				<option type="if" condition="{@NS:files|system}" operator="==" value="0">
					<option type="checkbox" name="file][{@NS:files|filename}" id="{@NS:files|id}" />
				</option>
				<option type="tdEnd" />
				<option type="td" class="center"  label="{@NS:files|date} / {@NS:files|time}" addToDom="class"/>
				<option type="td" class="center"  label="{@NS:files|comment}" addToDom="class"/>
				<option type="tdStart" class="center" addToDom="class"/>
				<option type="link" icon-class="fa fa-download" title="{@text:Download}" link="{@NS:files|download_url}" style="color: #000000;" addToDom="title,style" />
				<option type="tdEnd" />
				<option type="tdStart" class="center" addToDom="class"/>
				<option type="link" class="btn btn-white btn-primary help_button_green restore_link" icon-class="fa fa-folder-open" title="{@text:Setup}" link="{@NS:files|restore_url}" text=" {@text:Setup}" addToDom="title,style,class" />
				<option type="tdEnd" />
				<option type="trNext" />
			</option>
			<option type="trEnd" />
			<option type="tr">
				<option type="tdStart" />
					<option type="button" class="btn btn-danger" name="action" icon-class="fa fa-trash-o" value="delete" style="display: inline;" addToDom="class,style"/>
				<option type="tdEnd" />
				<option type="tdStart" colspan="4" addToDom="colspan"/>
					<option type="file" showUploadField="true" required="true" class="btn btn-primary" icon-class="fa fa-upload" name="action" value="upload" index="settingsfile" buttonLabel="{@text:Upload}" addToDom="class"/>
				<option type="tdEnd" />
			</option>
		</option>

		<option type="var" key="language" value="@function:getUserLang" />
		<option type="wrapper" width="12" class="migrationWrapper">
			<option type="each" source="@method:dpc:importexport:getMigrationAdapters" namespace="data">
				<option type="link" class="startMigrationWizard btn btn-primary" data-adapter="{@ns:data|adapter}" data-installed="{@ns:data|installed}" link="#" text="{@ns:data|label}" addToDom="onclick,data-adapter,data-installed" onclick="javascript: return false;"/>
			</option>
			<option type="if" condition="{@var:language}" operator="==" value="de">
				<option type="link" class="btn btn-white btn-primary help_button_green" icon-class="fa fa-question-circle" link="https://delucks.com/wordpress-seo-plugin/optimierung-anleitung/" text=" Installation" target="_blank" addToDom="target" />
			</option>
			<option type="if" condition="{@var:language}" operator="!=" value="de">
				<option type="link" class="btn btn-white btn-primary help_button_green" icon-class="fa fa-question-circle" link="https://delucks.com/en/wordpress-seo-plugin/optimization-tips-tutorial/" text=" Installation" target="_blank" addToDom="target" />
			</option>
		</option>
	</section>

	<section name="performance" skipWrapper="yes">
		<option type="wrapper" width="12" class="no-padding" addToDom="class">
			<option type="wrapper" width="6" class="no-padding-left" addToDom="class">
				<option type="link" class="btn btn-primary performance_button" link="https://developers.google.com/speed/pagespeed/insights/" text="{@text:PageSpeed Test}" target="_blank" addToDom="target" />
			</option>
			<option type="wrapper" width="6" class="no-padding-left" addToDom="class">
				<option type="link" class="btn btn-primary performance_button" icon-class="fa fa-question-circle" link="https://delucks.com/seo-blog/tipps-wordpress-performance-optimierung/" text=" {@text:Performane Optimization}" target="_blank" addToDom="target" />
			</option>
		</option>
		<option type="wrapper" width="12" class="no-padding-left" addToDom="class">
			<option type="wrapper" width="6" class="no-padding-left" addToDom="class">
				<option type="select" realname="dpc_load_scripts_in_footer" label="{@text:Load Scriptfiles in footer}" class="form-control" addToDom="class">
					<value label="{@text:No}" value="" />
					<value label="{@text:Yes}" value="true" />
				</option>
			</option>
		</option>
		<option type="wrapper" width="12" class="no-padding-left" addToDom="class">
			<option type="paragraph" text="{@text:Get more possibilities for fine tuning if you display the expert settings. By loading the Javascript files in the footer area, you can improve the the loading behavior of your website.}" />
		</option>
		<option type="wrapper" width="12" class="no-padding-left" addToDom="class">
			<option type="button" class="btn btn-info" label="{@text:Save}" addToDom="class"/>
		</option>
	</section>

	<defaults>
		<var name="dpc_load_scripts_in_footer" value="on" />
	</defaults>
</settings>