You are here

function photos_filter in Album Photos 6.2

File

./photos.module, line 1573

Code

function photos_filter($op, $delta = 0, $format = -1, $text = "") {
  switch ($op) {
    case 'list':
      return array(
        0 => t('Insert image and album'),
      );
    case 'description':
      return t('photos.module filter format, at the node to insert images or albums. e.g: [photo=image]id=55,54,53,52|algin=right[/photo] or [photo=album]id=134[/photo] or [photo=album]id=134|limit=6[/photo]. ');
    case 'process':
      return photos_filter_process($text);
    default:
      return $text;
  }
}