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) { ...@@ -1226,6 +1226,7 @@ function theme_system_themes_form($form) {
$row = array(); $row = array();
$row[] = drupal_render($form[$key]['screenshot']); $row[] = drupal_render($form[$key]['screenshot']);
$row[] = $theme; $row[] = $theme;
$row[] = $info['version'];
$row[] = array('data' => drupal_render($form['status'][$key]), 'align' => 'center'); $row[] = array('data' => drupal_render($form['status'][$key]), 'align' => 'center');
if ($form['theme_default']) { if ($form['theme_default']) {
$row[] = array('data' => drupal_render($form['theme_default'][$key]), 'align' => 'center'); $row[] = array('data' => drupal_render($form['theme_default'][$key]), 'align' => 'center');
...@@ -1234,7 +1235,7 @@ function theme_system_themes_form($form) { ...@@ -1234,7 +1235,7 @@ function theme_system_themes_form($form) {
$rows[] = $row; $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 = theme('table', $header, $rows);
$output .= drupal_render($form); $output .= drupal_render($form);
return $output; return $output;
......
; $Id$ ; $Id$
name = Bluemarine name = Bluemarine
description = Table-based multi-column theme with a marine and ash color scheme. description = Table-based multi-column theme with a marine and ash color scheme.
version = VERSION
...@@ -7,3 +7,4 @@ features[] = logo ...@@ -7,3 +7,4 @@ features[] = logo
features[] = favicon features[] = favicon
features[] = name features[] = name
features[] = slogan features[] = slogan
version = VERSION
...@@ -3,3 +3,4 @@ name = Marvin ...@@ -3,3 +3,4 @@ name = Marvin
description = Boxy tabled theme in all grays. description = Boxy tabled theme in all grays.
regions[left] = Left sidebar regions[left] = Left sidebar
regions[right] = Right sidebar regions[right] = Right sidebar
version = VERSION
; $Id$ ; $Id$
name = Garland name = Garland
description = Tableless, recolorable, multi-column, fluid width theme (default). description = Tableless, recolorable, multi-column, fluid width theme (default).
version = VERSION
; $Id$ ; $Id$
name = Minnelli name = Minnelli
description = Tableless, recolorable, multi-column, fixed width theme. description = Tableless, recolorable, multi-column, fixed width theme.
version = VERSION
; $Id$ ; $Id$
name = Pushbutton name = Pushbutton
description = Tabled, multi-column theme in blue and orange tones. description = Tabled, multi-column theme in blue and orange tones.
\ No newline at end of file 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