summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-28 13:12:32 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-28 13:12:32 -0400
commit70175b9c7a54f37f165da4c96ea5441646776c83 (patch)
treea016abb1f91ab3a770fa688388085889c39e42e5 /lib
parent6b0459b0e2ed4949ceebcbc7c24f51160055b56f (diff)
float text of license stuff right, to make a more pleasing license block
darcs-hash:20080528171232-84dde-3a8155054dacf2859c5544bfa8bc05c46e2115f7.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/util.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 268c9ef2c..0df52c213 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -153,13 +153,14 @@ function common_text($txt) {
function common_license_block() {
global $config, $xw;
common_element_start('div', 'license');
- common_element_start('a', array('class' => 'license',
+ common_element_start('a', array('class' => 'license floatLeft',
'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_element_start('div', 'licenseinfo floatRight');
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',
@@ -167,6 +168,7 @@ function common_license_block() {
$config['license']['title']);
common_text(_t('. Contributors should be attributed by full name or nickname.'));
common_element_end('div');
+ common_element_end('div');
}
function common_head_menu() {