function userpoints_confirm_approve in User Points 6
Same name and namespace in other branches
- 5.3 userpoints.module \userpoints_confirm_approve()
- 5.2 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 1053
Code
function userpoints_confirm_approve($form_state, $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/moderate');
}