| 1 |
<?php |
<?php |
| 2 |
|
|
| 3 |
/* $Id: media_mover_api.module,v 1.1.2.110.2.67 2009/10/04 17:14:06 arthuregg Exp $ */ |
/* $Id: media_mover_api.module,v 1.1.2.110.2.68 2009/10/30 15:23:00 arthuregg Exp $ */ |
| 4 |
|
|
| 5 |
|
|
| 6 |
/* |
/* |
| 3338 |
$rows[] = array( |
$rows[] = array( |
| 3339 |
array( |
array( |
| 3340 |
'data' => t('Configuration: !name', |
'data' => t('Configuration: !name', |
| 3341 |
array('!name' => l($configuration->name, 'admin/media_mover/config/'. $cid))), |
array('!name' => l($configuration->name, 'admin/build/media_mover/config/'. $cid))), |
| 3342 |
'colspan' => 4 |
'colspan' => 4 |
| 3343 |
), |
), |
| 3344 |
); |
); |
| 3346 |
} |
} |
| 3347 |
foreach ($files as $file) { |
foreach ($files as $file) { |
| 3348 |
$rows[] = array( |
$rows[] = array( |
| 3349 |
l($file['mmfid'], 'admin/media_mover/file/edit/'. $file['mmfid'], array('title' => t('Edit file')), "destination=node/$node->nid/edit"), |
l($file['mmfid'], 'admin/build/media_mover/file/edit/'. $file['mmfid'], array('title' => t('Edit file')), "destination=node/$node->nid/edit"), |
| 3350 |
$file['complete_file'] ? $file['complete_file'] : t('No file path available'), |
$file['complete_file'] ? $file['complete_file'] : t('No file path available'), |
| 3351 |
$reprocess ? l(t('Delete'), 'admin/media_mover/file/delete/'. $file['mmfid'], array('title' => t('Delete file')), "destination=node/$node->nid/edit") : null, |
$reprocess ? l(t('Delete'), 'admin/build/media_mover/file/delete/'. $file['mmfid'], array('title' => t('Delete file')), "destination=node/$node->nid/edit") : null, |
| 3352 |
$reprocess ? l(t('Re-process'), 'media_mover/rerun/'. $file['cid'] .'/node/'. $node->nid, array('title' => t('Reprocess file')), "destination=node/$node->nid/edit") : null, |
$reprocess ? l(t('Re-process'), 'media_mover/rerun/'. $file['cid'] .'/node/'. $node->nid, array('title' => t('Reprocess file')), "destination=node/$node->nid/edit") : null, |
| 3353 |
); |
); |
| 3354 |
} |
} |