<?php echo $this->load_tpl('header', array('title' => 'Install','hide_all'=>true)) ?>

<form action="<?php menu_page_url(OP_SN) ?>" method="post" class="op-bsw-settings">
	
	<div class="op-bsw-main-content">
        	
        		<?php 
			if($notification !== false)
				op_notify($notification);
			if($error !== false)
				op_show_error($error);
		?>
			
		<p><?php _e('Welcome to OptimizePress. To get started please provide API key below so we can verify the legitmacy of this copy. You will only need to do this once.', OP_SN) ?></p>
	
	</div> <!-- end .op-bsw-main-content -->
        
	<div class="op-bsw-grey-panel-fixed" style="border-top: 1px solid #ccc;" >
		
		<div class="op-bsw-main-content">
<!--
			<p>
				<label for="op_install_email" style="font-weight:bold"><?php _e('Email Address',OP_SN) ?></label>&nbsp;&nbsp;&nbsp;
				<input type="text" name="op[install][email]" id="op_install_email" />
			</p>
-->
			<p>
				<label for="op_install_order_number" style="font-weight:bold"><?php _e('API Key',OP_SN) ?></label>&nbsp;&nbsp;&nbsp;
				<input type="text" name="op[install][order_number]" id="op_install_order_number" />
			</p>

		</div>
	</div>
        	
	<fieldset class="form-actions cf">
		<div class="form-actions-content">
			<input type="hidden" name="<?php echo OP_SN ?>_install" value="save" />
			<?php wp_nonce_field( 'op_install', '_wpnonce', false ) ?>
			<input type="submit" class="op-pb-button green" value="<?php _e('Save settings',OP_SN) ?>" />
		</div>
	</fieldset>

</form>

<?php echo $this->load_tpl('footer') ?>