You are here

isotope.admin.inc in Isotope (with Masonry and Packery) 6

Same filename and directory in other branches
  1. 7 includes/isotope.admin.inc

The admin form include file

Defines the FAPI object and renders the system settings form for the History.js Library Module

File

includes/isotope.admin.inc
View source
<?php

/**
 * @file
 * The admin form include file
 *
 * Defines the FAPI object and renders the system settings form for
 * the History.js Library Module
 */

/**
 * Defines the admin setings form.
 */
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/&lt;yoursitenamehere&gt;/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);
}

Functions

Namesort descending Description
isotope_admin Defines the admin setings form.