You are here

function epsacrop_settings in EPSA Crop - Image Cropping 6

Same name and namespace in other branches
  1. 6.2 epsacrop.module \epsacrop_settings()
1 string reference to 'epsacrop_settings'
epsacrop_menu in ./epsacrop.module
Implementation of hook_menu

File

./epsacrop.module, line 96
The main file of module

Code

function epsacrop_settings(&$form_state) {
  $form = array();
  $form['epsacrop_box_size'] = array(
    '#type' => 'textfield',
    '#title' => t("Box Size"),
    '#default_value' => variable_get('epsacrop_box_size', '512x384'),
    '#description' => t("Size for admin thumbnail"),
  );
  $form['epsacrop_paths'] = array(
    '#type' => 'textarea',
    '#title' => t("Paths"),
    '#default_value' => variable_get('epsacrop_paths', "node/add\nnode/add/*\nuser/*/edit/profile\nuser/register\nadmin/user/user/create"),
    '#description' => t("Some modules don't use the conventional path to add node (content profile, etc.) this part its to add path where EPSACrop have to add the header files."),
  );
  return system_settings_form($form);
}