From 7b505743f2b5adf0aeeaaf1faa116f3d86752d82 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 28 May 2008 13:17:58 -0400 Subject: [PATCH] add span around license link darcs-hash:20080528171758-84dde-6121afedbce9bbecea09386e347aa3d1c85c8f44.gz --- lib/util.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/util.php b/lib/util.php index 200397525a..ab25d74696 100644 --- a/lib/util.php +++ b/lib/util.php @@ -153,13 +153,15 @@ function common_text($txt) { function common_license_block() { global $config, $xw; common_element_start('p', 'license'); - common_element_start('a', array('class' => 'license floatLeft width25', + common_element_start('span', 'floatLeft width25'); + 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_element_end('span'); common_element_start('span', 'floatRight width75'); 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',