You are here

function isotope_admin in Isotope (with Masonry and Packery) 6

Same name and namespace in other branches
  1. 7 includes/isotope.admin.inc \isotope_admin()

Defines the admin setings form.

1 string reference to 'isotope_admin'
isotope_menu in ./isotope.module
Implements hook_menu().

File

includes/isotope.admin.inc, line 13
The admin form include file

Code

function isotope_admin() {
  $form = array();
  $form['isotope_settings'] = array(
    '#type' => 'checkboxes',
    '#title' => t('Select what other libraries you would like to add to your site.'),
    '#description' => t('Adds the selected .js libraries to your theme if the .js files are located in the sites/<yoursitenamehere>/libraries folder.'),
    '#options' => array(
      'jquery-1.6.4' => t('Include jQuery thats packaged with isotope (Minimum Version 1.6.4 recommended)'),
      'jquery.ba-bbq' => t('Include jQuery BBQ'),
      'jquery.infinitescroll' => t('Include Infinite Scroll'),
    ),
    '#default_value' => variable_get('isotope_settings', array()),
  );
  return system_settings_form($form);
}