|
@@ -151,24 +151,26 @@ function ModifyModSettings()
|
|
$context['page_title'] = $txt['admin_modifications'];
|
|
$context['page_title'] = $txt['admin_modifications'];
|
|
|
|
|
|
$subActions = array(
|
|
$subActions = array(
|
|
- 'hooks' => 'list_integration_hooks',
|
|
|
|
'general' => 'ModifyGeneralModSettings',
|
|
'general' => 'ModifyGeneralModSettings',
|
|
|
|
+ 'hooks' => 'list_integration_hooks',
|
|
// Mod authors, once again, if you have a whole section to add do it AFTER this line, and keep a comma at the end.
|
|
// Mod authors, once again, if you have a whole section to add do it AFTER this line, and keep a comma at the end.
|
|
);
|
|
);
|
|
|
|
|
|
// Make it easier for mods to add new areas.
|
|
// Make it easier for mods to add new areas.
|
|
call_integration_hook('integrate_modify_modifications', array(&$subActions));
|
|
call_integration_hook('integrate_modify_modifications', array(&$subActions));
|
|
|
|
|
|
|
|
+ loadGeneralSettingParameters($subActions, 'general');
|
|
|
|
+
|
|
// Load up all the tabs...
|
|
// Load up all the tabs...
|
|
$context[$context['admin_menu_name']]['tab_data'] = array(
|
|
$context[$context['admin_menu_name']]['tab_data'] = array(
|
|
'title' => $txt['admin_modifications'],
|
|
'title' => $txt['admin_modifications'],
|
|
'help' => 'modsettings',
|
|
'help' => 'modsettings',
|
|
'description' => $txt['modification_settings_desc'],
|
|
'description' => $txt['modification_settings_desc'],
|
|
'tabs' => array(
|
|
'tabs' => array(
|
|
- 'hooks' => array(
|
|
|
|
- ),
|
|
|
|
'general' => array(
|
|
'general' => array(
|
|
),
|
|
),
|
|
|
|
+ 'hooks' => array(
|
|
|
|
+ ),
|
|
),
|
|
),
|
|
);
|
|
);
|
|
|
|
|