summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md10
-rw-r--r--includes/config.defaults.php6
-rw-r--r--index.php4
3 files changed, 19 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 0000000..e4135c7
--- /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 24182c5..f7fc6d4 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 a681202..767cc71 100644
--- a/index.php
+++ b/index.php
@@ -23,12 +23,14 @@ require_once('includes/config.defaults.php');
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 @@ final class LookingGlass {
}
print('<br /><br />');
- print('<span class="origin">Powered by <a href="https://github.com/respawner/looking-glass" title="Looking Glass Project">Looking Glass</a></span>');
+ print('<span class="origin">Powered by <a href="https://github.com/respawner/looking-glass" title="Looking Glass Project">Looking Glass '.$this->release['version'].'</a></span>');
print('</p>');
print('</div>');
}