You are here

function _tableofcontents_block_save in Table of Contents 6.3

Same name and namespace in other branches
  1. 7 tableofcontents_block/tableofcontents_block.module \_tableofcontents_block_save()
1 call to _tableofcontents_block_save()
tableofcontents_block_block in tableofcontents_block/tableofcontents_block.module
Implementation of hook_block().

File

tableofcontents_block/tableofcontents_block.module, line 73
main file for module providing a block

Code

function _tableofcontents_block_save($edit) {
  variable_set('tableofcontents_allowed_tags_block', $edit['tableofcontents_allowed_tags_block']);
  variable_set('tableofcontents_attachments_block', $edit['tableofcontents_attachments_block']);
  variable_set('tableofcontents_collapsed_block', $edit['tableofcontents_collapsed_block']);
  variable_set('tableofcontents_comments_block', $edit['tableofcontents_comments_block']);
  variable_set('tableofcontents_comments_level_block', $edit['tableofcontents_comments_level_block']);
  variable_set('tableofcontents_id_generator_block', $edit['tableofcontents_id_generator_block']);
  variable_set('tableofcontents_hide_show_block', $edit['tableofcontents_hide_show_block']);
  variable_set('tableofcontents_maxlevel_block', $edit['tableofcontents_maxlevel_block']);
  variable_set('tableofcontents_minlevel_block', $edit['tableofcontents_minlevel_block']);
  variable_set('tableofcontents_number_end_letter_block', $edit['tableofcontents_number_end_letter_block']);
  variable_set('tableofcontents_number_mode_block', $edit['tableofcontents_number_mode_block']);
  variable_set('tableofcontents_number_separator_block', $edit['tableofcontents_number_separator_block']);
  variable_set('tableofcontents_number_start_letter_block', $edit['tableofcontents_number_start_letter_block']);
  variable_set('tableofcontents_numbering_block', $edit['tableofcontents_numbering_block']);
  variable_set('tableofcontents_id_separator_block', $edit['tableofcontents_id_separator_block']);
  variable_set('tableofcontents_id_stripping_block', $edit['tableofcontents_id_stripping_block']);
  variable_set('tableofcontents_identifier_introducer_block', $edit['tableofcontents_identifier_introducer_block']);
  variable_set('tableofcontents_title_block', $edit['tableofcontents_title_block']);
}