function _systeminfo_admin_overview_drupal_themes in System Information 7.3
Same name and namespace in other branches
- 6.3 systeminfo.admin.inc \_systeminfo_admin_overview_drupal_themes()
1 call to _systeminfo_admin_overview_drupal_themes()
- systeminfo_admin_overview in ./
systeminfo.admin.inc - Menu callback; displays the overview page.
File
- ./
systeminfo.admin.inc, line 121 - Admin page callbacks for the systeminfo module.
Code
function _systeminfo_admin_overview_drupal_themes() {
$rows = array();
foreach (list_themes() as $theme) {
if ($theme->status) {
$themes_version = variable_get('systeminfo_overview_themes_datestamp', 0) && isset($theme->info['datestamp']) ? $theme->info['version'] . ' ' . drupal_placeholder('(' . format_date($theme->info['datestamp'], 'small') . ')') : $theme->info['version'];
$rows[$theme->name] = array(
$theme->info['name'],
$themes_version,
);
}
}
ksort($rows);
return theme('table', array(
'header' => array(),
'rows' => $rows,
'attributes' => array(
'class' => array(
'systeminfo',
'systeminfo-width50',
),
),
));
}