/usr/share/drupal6/modules/imagefield_assist/theme/theme.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 | <?php
// $Id: theme.inc,v 1.1.2.1 2009/07/04 15:40:33 lourenzo Exp $
/**
* @file
* Theme functions for Image assist.
*/
/**
* Setup variables for the browser thumbnail template.
*
* @param array $vars
*/
function template_preprocess_img_assist_browser_thumbnail(&$vars) {
$node = node_load($vars['row']->nid);
$vars['thumbnail'] = img_assist_display($node, IMAGE_THUMBNAIL);
$vars['path'] = url('img_assist/properties/'. $node->nid);
$vars['title'] = $node->title;
}
|