You are here

function _photobox_settings in PhotoboxPhotobox 7

Helper function returning list of Photobox library settings.

3 calls to _photobox_settings()
photobox_attached_resources in ./photobox.module
Utility function to get #attached resources.
photobox_settings_form in ./photobox.admin.inc
Admin settings form.
photobox_uninstall in ./photobox.install
Implements hook_uninstall().

File

./photobox.module, line 400
Main file for the Photobox module.

Code

function _photobox_settings() {
  return array(
    'history' => variable_get('photobox_history', 1),
    'loop' => variable_get('photobox_loop', 1),
    'thumbs' => variable_get('photobox_thumbs', 1),
    'zoomable' => variable_get('photobox_zoomable', 1),
  );

  /*
  'photobox_counter' => 1,
  'photobox_hide_flash' => 1,
  'photobox_keys_close' => '27, 88, 67',
  'photobox_keys_prev' => '37, 80',
  'photobox_keys_next' => '39, 78',
  */
}