コード例 #1
0
		<form method="post" action="<?php 
echo pb_backupbuddy::page_url();
?>
">
			<?php 
pb_backupbuddy::nonce();
?>
			<input type="hidden" name="reset_defaults" value="<?php 
echo pb_backupbuddy::settings('slug');
?>
" />
			<input type="submit" name="submit" value="Reset Plugin Settings to Defaults" id="reset_defaults" class="button secondary-button" onclick="if ( !confirm('WARNING: This will reset all settings associated with this plugin to their defaults. Are you sure you want to do this?') ) { return false; }" />
			<br>
			<label>
				<input type="checkbox" name="keep_destinations" value="1" checked> Keep remote destination settings
			</label>
		</form>
	</div>
	<div style="float: right; margin-right: 8px;">
		<?php 
pb_backupbuddy::enqueue_thickbox();
?>
		<a href="<?php 
echo pb_backupbuddy::ajax_url('importexport_settings');
?>
&#038;TB_iframe=1&#038;width=640&#038;height=600" class="thickbox button secondary-button">Import/Export Plugin Settings</a>
	</div>
</div>