Database revision is now shown in ACP home
authorDan
Thu, 29 Jul 2010 11:29:11 -0400
changeset 1268 57f3857a8161
parent 1267 31ff2e5351b0
child 1269 35986c6b2150
Database revision is now shown in ACP home
language/english/admin.json
plugins/admin/Home.php
--- 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%)<br /><a href="%aboutlink%">View server information and license</a>',
+			stat_enano_version: 'Enano CMS %version% (%releasename%) &ndash; Database version %dbversion%<br /><a href="%aboutlink%">View server information and license</a>',
 			stat_numpages: 'Number of pages:',
 			stat_edits: 'Number of edits made:',
 			stat_edits_data: '%edit_count% (average of %per_day% per day)',
--- 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 @@
 				<?php echo $lang->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')
 					)); ?>
 			</th>
 		</tr>