diff options
author | Graham Eames <grahamje@users.sourceforge.net> | 2006-10-30 20:56:31 +0000 |
---|---|---|
committer | Graham Eames <grahamje@users.sourceforge.net> | 2006-10-30 20:56:31 +0000 |
commit | ace934284a4f6e97d5de65b8f74f50561f6edcc3 (patch) | |
tree | 2b969db0e5f254d7e546a1e05b3e726f554b99f9 /phpBB/includes | |
parent | 6c0b443dd702630201995c4050130213d523a2e6 (diff) | |
download | forums-ace934284a4f6e97d5de65b8f74f50561f6edcc3.tar forums-ace934284a4f6e97d5de65b8f74f50561f6edcc3.tar.gz forums-ace934284a4f6e97d5de65b8f74f50561f6edcc3.tar.bz2 forums-ace934284a4f6e97d5de65b8f74f50561f6edcc3.tar.xz forums-ace934284a4f6e97d5de65b8f74f50561f6edcc3.zip |
Missed that there were 2 open against this file
git-svn-id: file:///svn/phpbb/trunk@6541 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/acp/acp_styles.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_styles.php b/phpBB/includes/acp/acp_styles.php index 1d5d10b3c0..99a1ab731f 100644 --- a/phpBB/includes/acp/acp_styles.php +++ b/phpBB/includes/acp/acp_styles.php @@ -1012,7 +1012,7 @@ pagination_sep = \'{PAGINATION_SEP}\' // Used in an sprintf statement to generate appropriate output for rawcss mode $map_elements = array( 'colors' => '%s', - 'sizes' => '%1.1f', + 'sizes' => '%1.10f', 'images' => 'url(\'./%s\')', 'repeat' => '%s', 'other' => '%s', @@ -1232,7 +1232,7 @@ pagination_sep = \'{PAGINATION_SEP}\' // use the element mapping to create raw css code if ($value !== '') { - $css_data .= $match . ': ' . sprintf($map_elements[$type], $value) . $unit . ";\n"; + $css_data .= $match . ': ' . ($type == 'sizes' ? rtrim(sprintf($map_elements[$type], $value), '0') : sprintf($map_elements[$type], $value)) . $unit . ";\n"; } } } |