From f514f551121e6dd80372a87fb6ffa95c5b7a940e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 23 Mar 2005 20:26:21 +0000 Subject: - Patch #18700 by Stefan and James: removed GD1 calls, improved error/status reporting, etc. --- modules/system/system.module | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'modules/system/system.module') 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('

No image toolkits are installed.

'); + $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(); -- cgit v1.2.3