summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-13 14:46:38 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-13 14:46:38 -0400
commit9ff4794f1b586d693a0e8649c985b99dc74bbc5e (patch)
treea91de7dbbd00fb47ee8d0c86c3b2c44839308e6b /lib
parentfbd75f2c2ae42a2a5744e2979dc9f7b8fde18ae2 (diff)
mark off some todos, add a version number, and put code info at the bottom of the page0.3.0
darcs-hash:20080613184638-84dde-aa7059348899949f3e0c6cfa02d08c41458384a1.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/common.php2
-rw-r--r--lib/util.php10
2 files changed, 12 insertions, 0 deletions
diff --git a/lib/common.php b/lib/common.php
index 1077137ea..8050476e7 100644
--- a/lib/common.php
+++ b/lib/common.php
@@ -19,6 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
+define('LACONICA_VERSION', '0.3.0');
+
define('AVATAR_PROFILE_SIZE', 96);
define('AVATAR_STREAM_SIZE', 48);
define('AVATAR_MINI_SIZE', 24);
diff --git a/lib/util.php b/lib/util.php
index a630646d7..ff992141e 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -205,6 +205,16 @@ function common_show_footer() {
common_element_end('div'); # content div
common_foot_menu();
common_element_start('div', array('id' => 'footer'));
+ common_element_start('p', 'laconica');
+ common_text(_t('This site is running the '));
+ common_element('a', array('class' => 'software',
+ href => 'http://laconi.ca/'),
+ 'Laconica');
+ common_text(_t('microblogging tool, version ' . LACONICA_VERSION . ', available under the '));
+ common_element('a', array(href => 'http://www.fsf.org/licensing/licenses/agpl-3.0.html'),
+ 'GNU Affero General Public License');
+ common_text(_t('.'));
+ common_element_end('p');
common_element('img', array('id' => 'cc',
'src' => $config['license']['image'],
'alt' => $config['license']['title']));