diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-03-23 20:26:21 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-03-23 20:26:21 +0000 |
commit | f514f551121e6dd80372a87fb6ffa95c5b7a940e (patch) | |
tree | b11b8bde58eaeb844d83ad058d9432f9f9c3456c /modules/system/system.module | |
parent | eb2fb414fa84d5a82049dac46b52111afb008c02 (diff) | |
download | brdo-f514f551121e6dd80372a87fb6ffa95c5b7a940e.tar.gz brdo-f514f551121e6dd80372a87fb6ffa95c5b7a940e.tar.bz2 |
- Patch #18700 by Stefan and James: removed GD1 calls, improved error/status reporting, etc.
Diffstat (limited to 'modules/system/system.module')
-rw-r--r-- | modules/system/system.module | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/modules/system/system.module b/modules/system/system.module index e3c5b5ecd..0fe36ee29 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -241,15 +241,13 @@ function system_view_general() { $group = ''; $toolkits_available = image_get_available_toolkits(); if (count($toolkits_available) > 1) { - $group .= form_radios(t('Select an image processing toolkit'), 'image_toolkit', variable_get('image_toolkit', image_get_toolkit()), $toolkits_available); - $group .= image_toolkit_invoke('settings'); + $group .= form_radios(t('Select an image processing toolkit'), 'image_toolkit', variable_get('image_toolkit', image_get_toolkit()), $toolkits_available); } - else { - $group .= t('<p>No image toolkits are installed.</p>'); + $group .= image_toolkit_invoke('settings'); + if ($group) { + $output .= form_group(t('Image handling'), $group); } - $output .= form_group(t('Image handling'), $group); - // date settings: $zones = _system_zonelist(); |