function isotope_admin in Isotope (with Masonry and Packery) 7
Same name and namespace in other branches
- 6 includes/isotope.admin.inc \isotope_admin()
Implements hook_admin().
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_css'] = array(
'#type' => 'checkbox',
'#title' => t('Add CSS3 transitions for Isotope items'),
'#description' => t('Add default transition CSS for Isotope items.'),
'#default_value' => variable_get('isotope_css', TRUE),
);
$form['isotope_libraries'] = array(
'#type' => 'checkboxes',
'#title' => t('Select additional libraries to include.'),
'#description' => t('Adds the selected .js libraries to your theme if the .js files are located in the sites/<yoursitenamehere>/libraries/isotope/js folder.'),
'#options' => array(
'jquery-1.7.1' => t('Include jQuery thats packaged with isotope (Minimum Version 1.7.1 recommended)'),
'jquery.ba-bbq' => t('Include jQuery BBQ'),
'jquery.infinitescroll' => t('Include Infinite Scroll'),
),
'#default_value' => variable_get('isotope_libraries', array()),
);
return system_settings_form($form);
}