Commit c29d946b authored by Nigel McNie's avatar Nigel McNie
Browse files

Set the page title to something informative if we are installing.

parent e5de69f7
...@@ -29,7 +29,12 @@ define('ADMIN', 1); ...@@ -29,7 +29,12 @@ define('ADMIN', 1);
define('MENUITEM', 'adminhome'); define('MENUITEM', 'adminhome');
require(dirname(dirname(__FILE__)).'/init.php'); require(dirname(dirname(__FILE__)).'/init.php');
define('TITLE', get_string('administration', 'admin')); if (get_config('installed')) {
define('TITLE', get_string('administration', 'admin'));
}
else {
define('TITLE', get_string('installation', 'admin'));
}
require(get_config('libroot') . 'upgrade.php'); require(get_config('libroot') . 'upgrade.php');
$smarty = smarty(); $smarty = smarty();
......
...@@ -29,6 +29,7 @@ defined('INTERNAL') || die(); ...@@ -29,6 +29,7 @@ defined('INTERNAL') || die();
$string['administration'] = 'Administration'; $string['administration'] = 'Administration';
// Installer // Installer
$string['installation'] = 'Installation';
$string['release'] = 'Release %s (%s)'; $string['release'] = 'Release %s (%s)';
$string['copyright'] = 'Copyright © 2006 onwards, Catalyst IT Ltd'; $string['copyright'] = 'Copyright © 2006 onwards, Catalyst IT Ltd';
$string['agreelicense'] = 'I agree'; $string['agreelicense'] = 'I agree';
......
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