blockify.admin.inc 597 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * @file
  4. * Administrative page callbacks for the blockify module.
  5. */
  6. /**
  7. * Blockify administration form.
  8. */
  9. function blockify_admin_settings() {
  10. $form = array();
  11. $form['blockify_blocks'] = array(
  12. '#type' => 'checkboxes',
  13. '#title' => t('Make the following blocks available'),
  14. '#options' => _blockify_get_blocks(FALSE),
  15. '#default_value' => variable_get('blockify_blocks', array()),
  16. '#description' => t('These blocks will be made available in places
  17. such as the blocks admin interface and the context UI.'),
  18. );
  19. return system_settings_form($form);
  20. }