From f34b544949676fd75ec44ba0b5dc6f955cc50057 Mon Sep 17 00:00:00 2001 From: Guillaume Mazoyer Date: Wed, 10 Dec 2014 15:30:58 +0100 Subject: [PATCH] Release 1.0.0. --- CHANGELOG.md | 10 ++++++++++ includes/config.defaults.php | 6 ++++++ index.php | 4 +++- 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..e4135c77 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,10 @@ +# Changelog + +## Version 1.0.0 | Convergence | 2014-12-10 + + * Initial release + * Support for BIRD, Cisco, Juniper, Quagga + * Routes, AS, ping and traceroute related commands + * Require at least PHP 5.2 + * Bootstrap 3.3.1 and JQuery 2.1.1 + diff --git a/includes/config.defaults.php b/includes/config.defaults.php index 24182c58..f7fc6d4f 100644 --- a/includes/config.defaults.php +++ b/includes/config.defaults.php @@ -7,6 +7,12 @@ $config = array( + // Release configuration + 'release' => array( + 'version' => '1.0.0', + 'codename' => 'Convergence' + ), + // Frontpage configuration 'frontpage' => array( // Use Bootstrap theme diff --git a/index.php b/index.php index a681202e..767cc710 100644 --- a/index.php +++ b/index.php @@ -23,12 +23,14 @@ require_once('config.php'); final class LookingGlass { + private $release; private $frontpage; private $contact; private $misc; private $routers; function __construct($config) { + $this->release = $config['release']; $this->frontpage = $config['frontpage']; $this->contact = $config['contact']; $this->misc = $config['misc']; @@ -179,7 +181,7 @@ private function render_footer() { } print('

'); - print('Powered by Looking Glass'); + print('Powered by Looking Glass '.$this->release['version'].''); print('

'); print(''); }