diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-07-01 13:56:11 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-07-01 13:56:11 -0400 |
commit | f767a8b63b59c2d1128245fe25219e7a6716a8d3 (patch) | |
tree | f40437484836823b2c2e8db637f9d00ff39ee4dd /lib/util.php | |
parent | 27b2da990299b64489e80368bc6c9cb8a45ee284 (diff) |
add more contact information
darcs-hash:20080701175611-84dde-59873964e036f3c9bc225ea8272e840535ea7643.gz
Diffstat (limited to 'lib/util.php')
-rw-r--r-- | lib/util.php | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/lib/util.php b/lib/util.php index 8bd99c816..f9abb6d90 100644 --- a/lib/util.php +++ b/lib/util.php @@ -218,14 +218,18 @@ function common_show_footer() { 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('.')); + if (common_config('site', 'broughtby')) { + $instr = _t('**%%site.name%%** is a microblogging service brought to you by [%%site.broughtby%%](%%site.broughtbyurl%%). '); + } else { + $instr = _t('**%%site.name%%** is a microblogging service. '); + } + $instr .= _t('It runs the [Laconica](http://laconi.ca/) ' . + 'microblogging software, version ' . LACONICA_VERSION . ', ' . + 'available under the ' . + '[GNU Affero General Public License]' . + '(http://www.fsf.org/licensing/licenses/agpl-3.0.html).'); + $output = common_markup_to_html($instr); + common_raw($output); common_element_end('p'); common_element('img', array('id' => 'cc', 'src' => $config['license']['image'], @@ -288,6 +292,8 @@ function common_foot_menu() { _t('Privacy')); common_menu_item(common_local_url('doc', array('title' => 'source')), _t('Source')); + common_menu_item(common_local_url('doc', array('title' => 'contact')), + _t('Contact')); common_element_end('ul'); } |