137a138,154
>   if (module_exists('imagecache')) {
>     // Load imagecache presets
>     $presets = array();
>     $presets[] = '';
>     foreach (imagecache_presets() as $preset) {
>       $presets[$preset['presetname']] = check_plain($preset['presetname']);
>     }
> 
>     $form['avatarapproval_imagecache_preset'] = array(
>       '#type' => 'select',
>       '#title' => t('Imagecache preset'),
>       '#default_value' => variable_get('avatarapproval_imagecache_preset', FALSE),
>       '#options' => $presets,
>       '#description' => t('Choose an imagecache preset to format the avatars in the selection list with.  The <a href="@url">ImageCache Profiles</a> module can be used to format the avatars in other locations.', array('@url' => url('http://drupal.org/project/imagecache_profiles'))),
>     );
>   }
> 
263a281,287
>     $avatarapproval_imagecache_preset = variable_get('avatarapproval_imagecache_preset', FALSE);
>     if (!$avatarapproval_imagecache_preset) {
>       $image = theme('image', file_create_url($picture_directory . $avatar->md5 . '.' . $avatar->extension), '', '', '', FALSE);
>     }
>     else {
>       $image = theme('imagecache', $avatarapproval_imagecache_preset, $picture_directory . $avatar->md5 . '.' . $avatar->extension, 'just preset image', 'preset image');
>     }
265c289
<       '#value' => theme('image', file_create_url($picture_directory . $avatar->md5 . '.' . $avatar->extension), '', '', '', FALSE)
---
>       '#value' => $image
308c332
< }
\ Chybí znak konce řádku na konci souboru
---
> }
