You are here

function img_assist_help in Image Assist 5.2

Same name and namespace in other branches
  1. 5.3 img_assist.module \img_assist_help()
  2. 5 img_assist.module \img_assist_help()
  3. 6.2 img_assist.module \img_assist_help()
  4. 6 img_assist.module \img_assist_help()

Implementation of hook_help().

File

./img_assist.module, line 15
Image Assist module

Code

function img_assist_help($section) {
  switch ($section) {
    case 'admin/settings/img_assist':
      return t('If this site was moved or is planned to move to another domain or sub-directory, it might be needed to <a href="!empty-cache">empty the filter cache</a> to correct image paths that are pointing to the old address.  Note that this will only work for images that have been inserted using filter tags.', array(
        '!empty-cache' => url('img_assist/cache/clear'),
      ));
    case 'img_assist/template':
      return '<div class="%image-class"><a href="%link">%image</a><div class="caption">%caption</div></div>';
  }
}