function _quotes_blocks_submit in Quotes 5
Creates the new quote block.
Parameters
$form_id: The string specifying the form ID of the form that was submitted.
$form_values: The array specifying the form values.
File
- ./
quotes.module, line 1873
Code
function _quotes_blocks_submit($form_id, $form_values) {
db_query("INSERT INTO {quotes_blocks} (bid, name, block_type, nid_filter, aid_filter, rid_filter, uid_filter, tid_filter, cron_interval, cron_step, cron_last, vid) VALUES (%d, '%s', 0, '', '', '', '', '', 0, 0, 0, 0)", db_next_id('{quotes_blocks}_bid'), trim($form_values['name']));
}