function asset_bonus_admin_overview in Asset 6
Same name in this branch
- 6 asset_bonus/asset_bonus.module \asset_bonus_admin_overview()
- 6 contrib/asset_bonus/asset_bonus.module \asset_bonus_admin_overview()
Same name and namespace in other branches
- 5.2 contrib/asset_bonus/asset_bonus.module \asset_bonus_admin_overview()
- 5 asset_bonus/asset_bonus.module \asset_bonus_admin_overview()
2 string references to 'asset_bonus_admin_overview'
- asset_bonus_menu in asset_bonus/
asset_bonus.module - asset_bonus_menu in contrib/
asset_bonus/ asset_bonus.module
File
- contrib/
asset_bonus/ asset_bonus.module, line 56
Code
function asset_bonus_admin_overview() {
$files = array(
'audioplayer/audio-player.js',
'audioplayer/player.swf',
'swfheader/swfheader.class.php',
'swfobject/swfobject.js',
);
foreach ($files as $file) {
$found = file_exists(drupal_get_path('module', 'asset_bonus') . '/' . $file);
$output .= '<tr class="' . ($found ? 'ok' : 'error') . '"><th>' . $file . '</th>' . '<td>' . ($found ? 'Found' : 'Not found') . '</td></tr>';
}
return '<table class="system-status-report">' . $output . '</table>';
}