From 9ff4794f1b586d693a0e8649c985b99dc74bbc5e Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 13 Jun 2008 14:46:38 -0400 Subject: mark off some todos, add a version number, and put code info at the bottom of the page darcs-hash:20080613184638-84dde-aa7059348899949f3e0c6cfa02d08c41458384a1.gz --- lib/common.php | 2 ++ lib/util.php | 10 ++++++++++ 2 files changed, 12 insertions(+) (limited to 'lib') 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'])); -- cgit v1.2.3-54-g00ecf