Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
95 lines (93 sloc) 4.54 KB
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE_AFL.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@magentocommerce.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Magento to newer
* versions in the future. If you wish to customize Magento for your
* needs please refer to http://www.magentocommerce.com for more information.
*
* @category design
* @package default_default
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
?>
<div class="page-title">
<h1><?php echo Mage::helper('Mage_Sales_Helper_Data')->__('Orders and Returns') ?></h1>
</div>
<form id="oar_widget_orders_and_returns_form" action="<?php echo $this->getActionUrl() ?>" method="post" class="search-form" name="guest_post">
<div class="fieldset">
<h2 class="legend"><?php echo Mage::helper('Mage_Sales_Helper_Data')->__('Order Information') ?></h2>
<ul class="form-list">
<li class="fields">
<div class="field">
<label for="oar_order_id" class="required"><em>*</em><?php echo Mage::helper('Mage_Sales_Helper_Data')->__('Order ID') ?></label>
<div class="input-box">
<input type="text" class="input-text required-entry" id="oar_order_id" name="oar_order_id" />
</div>
</div>
<div class="field">
<label for="oar_billing_lastname" class="required"><em>*</em><?php echo Mage::helper('Mage_Sales_Helper_Data')->__('Billing Last Name') ?></label>
<div class="input-box">
<input type="text" class="input-text required-entry" id="oar_billing_lastname" name="oar_billing_lastname" />
</div>
</div>
</li>
<li class="fields">
<div class="field">
<label for="quick_search_type_id" class="required"><em>*</em><?php echo Mage::helper('Mage_Sales_Helper_Data')->__('Find Order By:') ?></label>
<div class="input-box">
<select name="oar_type" id="quick_search_type_id" class="select" onchange="showIdentifyBlock(this.value);">
<option value="email"><?php echo Mage::helper('Mage_Sales_Helper_Data')->__('Email Address'); ?></option>
<option value="zip"><?php echo Mage::helper('Mage_Sales_Helper_Data')->__('ZIP Code'); ?></option>
</select>
</div>
</div>
<div id="oar-email" class="field">
<label for="oar_email" class="required"><em>*</em><?php echo Mage::helper('Mage_Sales_Helper_Data')->__('Email Address') ?></label>
<div class="input-box">
<input type="text" class="input-text validate-email required-entry" id="oar_email" name="oar_email"/>
</div>
</div>
<div id="oar-zip" class="field">
<label for="oar_zip" class="required"><em>*</em><?php echo Mage::helper('Mage_Sales_Helper_Data')->__('Billing ZIP Code') ?></label>
<div class="input-box">
<input type="text" class="input-text required-entry" id="oar_zip" name="oar_zip"/>
</div>
</div>
</li>
</ul>
</div>
<div class="buttons-set form-buttons">
<button type="submit" title="<?php echo Mage::helper('Mage_Sales_Helper_Data')->__('Continue') ?>" class="button"><span><span><?php echo Mage::helper('Mage_Sales_Helper_Data')->__('Continue') ?></span></span></button>
</div>
</form>
<script type="text/javascript">
//<![CDATA[
var dataForm = new VarienForm('oar_widget_orders_and_returns_form', true);
function showIdentifyBlock(id)
{
if (id == 'zip') {
$('oar-zip').show();
$('oar-email').hide();
} else {
$('oar-zip').hide();
$('oar-email').show();
}
return false;
}
showIdentifyBlock($('quick_search_type_id').value);
//]]>
</script>
Jump to Line
Something went wrong with that request. Please try again.