Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added debug group. Fixed some issues.

  • Loading branch information...
commit 80046e3e26bb4b8c7d8560029a70a8f4ff230476 1 parent 0a205f4
Jose Reyero authored
View
1  includes/forum.variable.inc
@@ -45,7 +45,6 @@ function forum_variable_info($options) {
$variables['forum_containers'] = array(
'type' => 'array',
'title' => t('Forum containers'),
- 'title' => t('Forum containers'),
'group' => 'forum_settings',
);
return $variables;
View
4 variable.form.inc
@@ -57,10 +57,6 @@ function variable_form_element_array($variable, $options = array()) {
}
/**
- *
- */
-
-/**
* Build multiple form element
*/
function variable_form_element_multiple($variable, $options = array()) {
View
2  variable.module
@@ -301,7 +301,7 @@ function variable_hook_info() {
* Variable name or list of variable names
*/
function variable_edit_form($form, $form_state, $list) {
- $form += variable_edit_list($list);
+ $form += variable_edit_subform($list);
return system_settings_form($form);
}
View
6 variable.variable.inc
@@ -12,7 +12,11 @@ function variable_variable_group_info() {
// Group for variable that have no group
$groups['default'] = array(
'title' => t('Other'),
- 'description' => t('Variables that don\'t belong to any other group'),
+ 'description' => t("Variables that don't belong to any other group."),
+ );
+ $groups['debug'] = array(
+ 'title' => t('Debug'),
+ 'description' => t('Debug and development options.'),
);
return $groups;
}
Please sign in to comment.
Something went wrong with that request. Please try again.