summaryrefslogtreecommitdiff
path: root/modules/system/system.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/system.module')
-rw-r--r--modules/system/system.module8
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index f9ed77254..e3c5b5ecd 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -242,12 +242,14 @@ function system_view_general() {
$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 .= image_toolkit_invoke('settings');
- if ($group) {
- $output .= form_group(t('Image handling'), $group);
+ else {
+ $group .= t('<p>No image toolkits are installed.</p>');
}
+ $output .= form_group(t('Image handling'), $group);
+
// date settings:
$zones = _system_zonelist();