summaryrefslogtreecommitdiff
path: root/modules/system/system.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-02-26 19:37:18 +0000
committerDries Buytaert <dries@buytaert.net>2006-02-26 19:37:18 +0000
commit84d4e12ccc8fcfd1cc0109ecd33acded2249fc64 (patch)
tree30a132d3317309f690cf759cc0b9a5881bcccdb5 /modules/system/system.module
parent0685854bbfa95a0553124e51fb9378978f4b51f5 (diff)
downloadbrdo-84d4e12ccc8fcfd1cc0109ecd33acded2249fc64.tar.gz
brdo-84d4e12ccc8fcfd1cc0109ecd33acded2249fc64.tar.bz2
- Patch #50078 by merlinofchaos: made image toolkits work again.
Diffstat (limited to 'modules/system/system.module')
-rw-r--r--modules/system/system.module11
1 files changed, 2 insertions, 9 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index 69b831752..56e54885d 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -354,22 +354,15 @@ function system_view_general() {
'#description' => t('If you want any sort of access control on the downloading of files, this needs to be set to <em>private</em>. You can change this at any time, however all download URLs will change and there may be unexpected problems so it is not recommended.')
);
- /*
// Image handling:
- $group = array();
$toolkits_available = image_get_available_toolkits();
if (count($toolkits_available) > 1) {
- $group['image_toolkit'] = array(
+ $form['image'] = array('#type' => 'fieldset', '#title' => t('Image handling'), '#collapsible' => TRUE, '#collapsed' => true);
+ $form['image']['image_toolkit'] = array(
'#type' => 'radios', '#title' => t('Select an image processing toolkit'),
'#default_value' => variable_get('image_toolkit', image_get_toolkit()), '#options' => $toolkits_available
);
}
- $group['toolkit'] = image_toolkit_invoke('settings');
- if (is_array($group)) {
- $form['image'] = array('#type' => 'fieldset', '#title' => t('Image handling'), '#collapsible' => TRUE, '#collapsed' => true);
- $form['image'] = array_merge($form['image'], $group);
- }
- */
// Feed settings
$form['feed'] = array('#type' => 'fieldset', '#title' => t('RSS feed settings'), '#collapsible' => TRUE, '#collapsed' => TRUE);