diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-02-01 07:08:49 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-02-01 07:08:49 +0000 |
commit | b9a3a7bfc1495fea6a00a418ca0e50fa9fc939f2 (patch) | |
tree | 360419e38837c3199f83bbf3a54f3a392f7979a6 | |
parent | 4cc54a5b1cae4841c19bc4f60f95bb653615fe5c (diff) | |
download | brdo-b9a3a7bfc1495fea6a00a418ca0e50fa9fc939f2.tar.gz brdo-b9a3a7bfc1495fea6a00a418ca0e50fa9fc939f2.tar.bz2 |
#658068 by eojthebrave and theunraveler: Fixed Image effect help text not displayed.
-rw-r--r-- | modules/image/image.module | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/image/image.module b/modules/image/image.module index cd7cbd94b..8df106d8f 100644 --- a/modules/image/image.module +++ b/modules/image/image.module @@ -57,6 +57,8 @@ function image_help($path, $arg) { case 'admin/config/media/image-styles': return '<p>' . t('Image styles commonly provide thumbnail sizes by scaling and cropping images, but can also add various effects before an image is displayed. When an image is displayed with a style, a new file is created and the original image is left unchanged.') . '</p>'; case 'admin/config/media/image-styles/edit/%/add/%': + $effect = image_effect_definition_load($arg[7]); + return isset($effect['help']) ? ('<p>' . $effect['help'] . '</p>') : NULL; case 'admin/config/media/image-styles/edit/%/effects/%': $effect = ($arg[5] == 'add') ? image_effect_definition_load($arg[6]) : image_effect_load($arg[6], $arg[4]); return isset($effect['help']) ? ('<p>' . $effect['help'] . '</p>') : NULL; |