function uc_order_select_form in Ubercart 5
Same name and namespace in other branches
- 6.2 uc_order/uc_order.admin.inc \uc_order_select_form()
Create the textfield box to select an order by ID on the order overview screen.
1 string reference to 'uc_order_select_form'
- uc_order_admin in uc_order/
uc_order.module - Display the main order admin screen, an overview of all received orders.
File
- uc_order/
uc_order.module, line 1155
Code
function uc_order_select_form() {
$form['order_id'] = array(
'#type' => 'textfield',
'#title' => t('View order'),
'#size' => 10,
'#maxlength' => 10,
);
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('View'),
'#attributes' => array(
'style' => 'display: none;',
),
);
return $form;
}