function userpoints_confirm_approve in User Points 5.2
Same name and namespace in other branches
- 5.3 userpoints.module \userpoints_confirm_approve()
- 6 userpoints.module \userpoints_confirm_approve()
- 7.2 userpoints.admin.inc \userpoints_confirm_approve()
- 7 userpoints.admin.inc \userpoints_confirm_approve()
1 string reference to 'userpoints_confirm_approve'
File
- ./
userpoints.module, line 422
Code
function userpoints_confirm_approve($operation, $txn_id) {
$form = array(
'operation' => array(
'#type' => 'value',
'#value' => $operation,
),
'txn_id' => array(
'#type' => 'value',
'#value' => $txn_id,
),
);
return confirm_form($form, t('Are you sure you want to @op txn @txn_id', array(
'@op' => $operation,
'@txn_id' => $txn_id,
)), 'admin/user/userpoints');
}