<div class="wrap">
	<h2><?php _e("APC Caching Engine Options", 'sjobjectcache'); ?></h2>

	<?php include(WP_PLUGIN_DIR . '/sj-object-cache/pages/header.php'); ?>

	<form method="post" action="<?php echo esc_attr(admin_url('admin-post.php')); ?>">
		<table class="widefat">
			<tbody>
				<tr>
					<th scope="row" width="250"><?php _e("Prefix (must be unique for every site)", 'sjobjectcache'); ?></th>
					<td><input type="text" name="options[prefix]" value="<?php echo esc_attr(false == empty($params['options']['prefix']) ? $params['options']['prefix'] : ''); ?>"/></td>
					<td><?php echo sprintf(__('Default value is <code>%1$s</code>', 'sjobjectcache'), md5($_SERVER['HTTP_HOST'])); ?></td>
				</tr>
			</tbody>
		</table>

		<p class="submit">
			<input type="hidden" name="engine" value="<?php echo esc_attr($params['engine']); ?>"/>
			<input type="hidden" name="action" value="save_sjoc_options_<?php echo esc_attr($params['engine']); ?>"/>
			<?php wp_nonce_field("sjobjectcache-config_" . $params['engine']); ?>
			<input type="submit" name="submit" value="<?php esc_attr_e('Save Changes', 'sjobjectcache'); ?>" class="button button-primary"/>
		</p>
	</form>
</div>