function scald_admin_dashboard in Scald: Media Management made easy 6
Same name and namespace in other branches
- 7 includes/scald.admin.inc \scald_admin_dashboard()
The Scald Admin Dashboard.
Return value
The Dashboard rendered in XHTML.
1 string reference to 'scald_admin_dashboard'
- scald_menu in ./
scald.module - Implementation of hook_menu().
File
- ./
scald.admin.inc, line 20
Code
function scald_admin_dashboard() {
$scald_providers = variable_get('scald_providers', array());
$content = t('
<h3>Scald Providers</h3>
<p>The following Scald Providers are registered with Scald Core. To force a Provider to renew its registration (this is useful if a Provider conditionally provides something such as a Transcoder based on whether or not a module is availble and you have just enabled new modules) click the <em>re-register</em> link next to the Provider\'s name.</p>
<ul>
');
foreach ($scald_providers as $provider) {
$content .= '<li>' . $provider . '.module [' . l('re-register', 'admin/content/scald/register/' . $provider) . ']</li>';
}
$content .= '</ul>';
return $content;
}