diff options
author | Evan Prodromou <evan@status.net> | 2010-01-07 17:26:40 -0800 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-01-07 17:26:40 -0800 |
commit | 4a4ac7a1082405621ce8e578099ddb7be329bb38 (patch) | |
tree | 21f300dd77ba17426cb5c4cfa95b43935f596e73 /lib | |
parent | 2c33e61b94fca8654c0d543fb0baa164ee86d2c3 (diff) |
add a version action to give credit and list plugins
Diffstat (limited to 'lib')
-rw-r--r-- | lib/action.php | 2 | ||||
-rw-r--r-- | lib/router.php | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/action.php b/lib/action.php index 35df03566..715072d1e 100644 --- a/lib/action.php +++ b/lib/action.php @@ -736,6 +736,8 @@ class Action extends HTMLOutputter // lawsuit _('Privacy')); $this->menuItem(common_local_url('doc', array('title' => 'source')), _('Source')); + $this->menuItem(common_local_url('version'), + _('Version')); $this->menuItem(common_local_url('doc', array('title' => 'contact')), _('Contact')); $this->menuItem(common_local_url('doc', array('title' => 'badge')), diff --git a/lib/router.php b/lib/router.php index 7ec962460..287d3c79f 100644 --- a/lib/router.php +++ b/lib/router.php @@ -101,7 +101,9 @@ class Router 'silence', 'unsilence', 'repeat', 'deleteuser', - 'geocode'); + 'geocode', + 'version', + ); foreach ($main as $a) { $m->connect('main/'.$a, array('action' => $a)); |