This file is indexed.

/usr/share/drupal6/modules/imagefield_assist/includes/imagefield_assist.token.inc is in drupal6-mod-imagefield-assist 1.0~beta3-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
// $Id: imagefield_assist.token.inc,v 1.1.2.2 2009/07/28 05:56:45 lourenzo Exp $
/**
 * @file Token API
 */

/**
 * Implementation of hook_token_values().
 */
function imagefield_assist_token_values($type, $object = NULL, $options = array()) {
  $values = array();
  switch ($type) {
    case 'node':
      $node = $object;
      $values['teaser'] = imagefield_assist_sanitize($node->teaser);
      $values['body']   = imagefield_assist_sanitize($node->body);
      break;
  }
  return $values;
}

/**
 * Implementation of hook_token_list().
 */
function imagefield_assist_token_list($type = 'all') {
  if ($type == 'node' || $type == 'all') {
    $tokens['node']['teaser'] = t('Node teaser text (plain text)');
    $tokens['node']['body']   = t('Node body text (plain text)');
    return $tokens;
  }
}