| 1 |
<?php |
<?php |
| 2 |
// $Id$ |
// $Id: directoryimage.inc,v 1.1.2.1 2008/10/28 22:11:03 yangyicn Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 6 |
* directoryimage plugin. |
* directoryimage plugin. |
| 7 |
*/ |
*/ |
| 8 |
// Implementation of jcarousel_block_PLUGIN_exists |
// Implementation of jcarousel_block_PLUGIN_exists |
| 9 |
function jcarousel_block_direcotryimage_exists($nid) { |
function jcarousel_block_directoryimage_exists($nid) { |
| 10 |
return _jcarousel_block_directoryimage_load($nid); |
return _jcarousel_block_directoryimage_load($nid); |
| 11 |
} |
} |
| 12 |
|
|
| 13 |
// Implementation of _jcarousel_block_PLUGIN_preprocess_images |
// Implementation of _jcarousel_block_PLUGIN_preprocess_images |
| 14 |
function _jcarousel_block_direcotryimage_preprocess_images(&$variables) { |
function _jcarousel_block_directoryimage_preprocess_images(&$variables) { |
| 15 |
$variables['imagefield_type'] = 'directoryimage'; |
$variables['imagefield_type'] = 'directoryimage'; |
| 16 |
|
|
| 17 |
$files = _jcarousel_block_directoryimage_load($variables['node']->nid); |
$files = _jcarousel_block_directoryimage_load($variables['node']->nid); |