Projet

Général

Profil

Révision 18596a08

Ajouté par Assos Assos il y a environ 7 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/module_filter/module_filter.admin.inc
25 25
    '#type' => 'checkbox',
26 26
    '#title' => t('Enhance the modules page with tabs'),
27 27
    '#description' => t('Alternate tabbed theme that restructures packages into tabs.'),
28
    '#default_value' => variable_get('module_filter_tabs', 1)
28
    '#default_value' => variable_get('module_filter_tabs', 1),
29 29
  );
30 30
  $form['tabs'] = array(
31 31
    '#type' => 'fieldset',
32 32
    '#title' => t('Tabs'),
33 33
    '#description' => t('Settings used with the tabs view of the modules page.'),
34 34
    '#collapsible' => TRUE,
35
    '#collapsed' => FALSE
35
    '#collapsed' => FALSE,
36 36
  );
37 37
  $form['tabs']['module_filter_count_enabled'] = array(
38 38
    '#type' => 'checkbox',
39 39
    '#title' => t('Number of enabled modules'),
40 40
    '#description' => t('Display the number of enabled modules in the active tab along with the total number of modules.'),
41
    '#default_value' => variable_get('module_filter_count_enabled', 1)
41
    '#default_value' => variable_get('module_filter_count_enabled', 1),
42 42
  );
43 43
  $form['tabs']['module_filter_visual_aid'] = array(
44 44
    '#type' => 'checkbox',
45 45
    '#title' => t('Visual aids'),
46 46
    '#description' => t('When enabling/disabling modules, the module name will display in the tab summary.<br />When filtering, a count of results for each tab will be presented.'),
47
    '#default_value' => variable_get('module_filter_visual_aid', 1)
47
    '#default_value' => variable_get('module_filter_visual_aid', 1),
48 48
  );
49 49
  $form['tabs']['module_filter_hide_empty_tabs'] = array(
50 50
    '#type' => 'checkbox',
51 51
    '#title' => t('Hide tabs with no results'),
52 52
    '#description' => t('When a filter returns no results for a tab, the tab is hidden. This is dependent on visual aids being enabled.'),
53
    '#default_value' => variable_get('module_filter_hide_empty_tabs', 0)
53
    '#default_value' => variable_get('module_filter_hide_empty_tabs', 0),
54 54
  );
55 55
  $form['tabs']['module_filter_dynamic_save_position'] = array(
56 56
    '#type' => 'checkbox',
57 57
    '#title' => t('Dynamically position Save button'),
58 58
    '#description' => t("For sites with lots of tabs, enable to help keep the 'Save configuration' button more accessible."),
59
    '#default_value' => variable_get('module_filter_dynamic_save_position', 1)
59
    '#default_value' => variable_get('module_filter_dynamic_save_position', 1),
60 60
  );
61 61
  $form['tabs']['module_filter_use_url_fragment'] = array(
62 62
    '#type' => 'checkbox',
63 63
    '#title' => t('Use URL fragment'),
64 64
    '#description' => t('Use URL fragment when navigating between tabs. This lets you use the browsers back/forward buttons to navigate through the tabs you selected.') . '<br />' . t('When the Overlay module is enabled this functionality will not be used since overlay relies on the URL fragment.'),
65
    '#default_value' => variable_get('module_filter_use_url_fragment', 1)
65
    '#default_value' => variable_get('module_filter_use_url_fragment', 1),
66 66
  );
67 67
  $form['tabs']['module_filter_use_switch'] = array(
68 68
    '#type' => 'checkbox',
......
82 82
    '#description' => t('When enabled, the active tab will be remembered.'),
83 83
    '#default_value' => variable_get('module_filter_remember_active_tab', 1),
84 84
  );
85
  $form['tabs']['module_filter_version_column'] = array(
86
    '#type' => 'checkbox',
87
    '#title' => t('Place version in own column'),
88
    '#description' => t("Moves the version out of the description and into it's own column"),
89
    '#default_value' => variable_get('module_filter_version_column', 0),
90
  );
91
  $form['tabs']['module_filter_expanded_description'] = array(
92
    '#type' => 'checkbox',
93
    '#title' => t('Expand description by default'),
94
    '#description' => t('When enabled, the description will be expanded by default.'),
95
    '#default_value' => variable_get('module_filter_expanded_description', 0),
96
  );
85 97

  
86 98
  $form['update'] = array(
87 99
    '#type' => 'fieldset',

Formats disponibles : Unified diff