summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-10 15:51:34 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-10 15:51:34 -0400
commitc0a3df1c3b33caf36237f096d093f2613542ecb1 (patch)
tree9f16d89e8fe18e67c3e9a3c32bb2f4de5f47fadd
parentc9a899781b44beabb6fc71fc737a50d9b160e269 (diff)
remove license block
darcs-hash:20080610195134-84dde-48212ca46f4467ef1bf72a2d49e346dc03308c52.gz
-rw-r--r--lib/util.php33
1 files changed, 13 insertions, 20 deletions
diff --git a/lib/util.php b/lib/util.php
index a7570e814..e0f4a4e99 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -185,7 +185,19 @@ function common_show_footer() {
common_element_end('div'); # content div
common_foot_menu();
common_element_start('div', 'footer');
- common_license_block();
+ global $config, $xw;
+ common_element('img', array('class' => 'license',
+ 'id' => 'cc',
+ 'src' => $config['license']['image'],
+ 'alt' => $config['license']['title']));
+ common_element_start('p');
+ common_text(_t('Unless otherwise specified, contents of this site are copyright by the contributors and available under the '));
+ common_element('a', array('class' => 'license',
+ 'rel' => 'license',
+ href => $config['license']['url']),
+ $config['license']['title']);
+ common_text(_t('. Contributors should be attributed by full name or nickname.'));
+ common_element_end('p');
common_element_end('div');
common_element_end('div');
common_element_end('body');
@@ -203,25 +215,6 @@ function common_raw($xml) {
$xw->writeRaw($xml);
}
-function common_license_block() {
- global $config, $xw;
- common_element_start('p', 'license');
- common_element_start('a', array('class' => 'license',
- 'rel' => 'license',
- href => $config['license']['url']));
- common_element('img', array('class' => 'license',
- 'src' => $config['license']['image'],
- 'alt' => $config['license']['title']));
- common_element_end('a');
- common_text(_t('Unless otherwise specified, contents of this site are copyright by the contributors and available under the '));
- common_element('a', array('class' => 'license',
- 'rel' => 'license',
- href => $config['license']['url']),
- $config['license']['title']);
- common_text(_t('. Contributors should be attributed by full name or nickname.'));
- common_element_end('p');
-}
-
function common_nav_menu() {
$user = common_current_user();
common_element_start('ul', array('id' => 'nav'));