function fonts_com_fontyourface_status in @font-your-face 7.2
Implements hook_fontyourface_status().
File
- modules/
fonts_com/ fonts_com.module, line 906
Code
function fonts_com_fontyourface_status() {
$project_id = variable_get('fonts_com_project', '');
if ($project_id) {
module_load_include('inc', 'fonts_com', 'api');
$project = fonts_com_get_project_by_id($project_id);
return t('Active project: @project.', array(
'@project' => $project->ProjectName,
));
}
else {
return '<i>' . t('No active project.') . '</i>';
}
// else
}