Commit 0337be78 authored by Dries's avatar Dries
Browse files

- Patch #136961 by Ralf Stamm: add version information to themes and theme pages.

parent be169d59
......@@ -1226,6 +1226,7 @@ function theme_system_themes_form($form) {
$row = array();
$row[] = drupal_render($form[$key]['screenshot']);
$row[] = $theme;
$row[] = $info['version'];
$row[] = array('data' => drupal_render($form['status'][$key]), 'align' => 'center');
if ($form['theme_default']) {
$row[] = array('data' => drupal_render($form['theme_default'][$key]), 'align' => 'center');
......@@ -1234,7 +1235,7 @@ function theme_system_themes_form($form) {
$rows[] = $row;
}
$header = array(t('Screenshot'), t('Name'), t('Enabled'), t('Default'), t('Operations'));
$header = array(t('Screenshot'), t('Name'), t('Version'), t('Enabled'), t('Default'), t('Operations'));
$output = theme('table', $header, $rows);
$output .= drupal_render($form);
return $output;
......
; $Id$
name = Bluemarine
description = Table-based multi-column theme with a marine and ash color scheme.
version = VERSION
......@@ -7,3 +7,4 @@ features[] = logo
features[] = favicon
features[] = name
features[] = slogan
version = VERSION
......@@ -3,3 +3,4 @@ name = Marvin
description = Boxy tabled theme in all grays.
regions[left] = Left sidebar
regions[right] = Right sidebar
version = VERSION
; $Id$
name = Garland
description = Tableless, recolorable, multi-column, fluid width theme (default).
version = VERSION
; $Id$
name = Minnelli
description = Tableless, recolorable, multi-column, fixed width theme.
version = VERSION
; $Id$
name = Pushbutton
description = Tabled, multi-column theme in blue and orange tones.
\ No newline at end of file
description = Tabled, multi-column theme in blue and orange tones.
version = VERSION
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment