summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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']));