# HG changeset patch
# User Dan
# Date 1280417351 14400
# Node ID 57f3857a81611eb6d2f8dd40841853bf1c7f7819
# Parent 31ff2e5351b0e229d9d814ced06f3262916bc00c
Database revision is now shown in ACP home
diff -r 31ff2e5351b0 -r 57f3857a8161 language/english/admin.json
--- a/language/english/admin.json Thu Jul 29 11:28:58 2010 -0400
+++ b/language/english/admin.json Thu Jul 29 11:29:11 2010 -0400
@@ -218,7 +218,7 @@
// Stats!
stat_header: 'Site statistics',
- stat_enano_version: 'Enano CMS %version% (%releasename%)
View server information and license',
+ stat_enano_version: 'Enano CMS %version% (%releasename%) – Database version %dbversion%
View server information and license',
stat_numpages: 'Number of pages:',
stat_edits: 'Number of edits made:',
stat_edits_data: '%edit_count% (average of %per_day% per day)',
diff -r 31ff2e5351b0 -r 57f3857a8161 plugins/admin/Home.php
--- a/plugins/admin/Home.php Thu Jul 29 11:28:58 2010 -0400
+++ b/plugins/admin/Home.php Thu Jul 29 11:29:11 2010 -0400
@@ -446,7 +446,8 @@
get('acphome_stat_enano_version', array(
'version' => enano_version(true),
'releasename' => enano_codename(),
- 'aboutlink' => makeUrlNS('Special', 'About_Enano')
+ 'aboutlink' => makeUrlNS('Special', 'About_Enano'),
+ 'dbversion' => getConfig('db_version')
)); ?>