diff options
-rwxr-xr-x | admin/template.php | 8 | ||||
-rwxr-xr-x | app/app.php | 3 |
2 files changed, 9 insertions, 2 deletions
diff --git a/admin/template.php b/admin/template.php index d5641f9..7818bef 100755 --- a/admin/template.php +++ b/admin/template.php @@ -3,7 +3,13 @@ <html lang="en"> <head> <meta charset="utf-8"> - <title><?=_g('moonmoon administration')?></title> + <title> + +<?php + echo _g('Administration') . ' — '; + printf(_g('moonmoon %s', '%s is the version number for moonmoon, this string appears as the tab title in the admin panel'), $moon_version); +?> + </title> <link rel="stylesheet" media="screen" type="text/css" href="default.css"> <!--[if lte IE 9]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> diff --git a/app/app.php b/app/app.php index f2795ab..0703ac5 100755 --- a/app/app.php +++ b/app/app.php @@ -19,7 +19,8 @@ include_once(dirname(__FILE__).'/classes/PlanetError.php'); include_once(dirname(__FILE__).'/classes/Planet.class.php'); include_once(dirname(__FILE__).'/classes/Simplel10n.class.php'); -$savedConfig = dirname(__FILE__).'/../custom/config.yml'; +$savedConfig = dirname(__FILE__).'/../custom/config.yml'; +$moon_version = file_get_contents(dirname(__FILE__).'/../VERSION'); if (is_file($savedConfig)){ |