mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Missed that there were 2 open against this file
git-svn-id: file:///svn/phpbb/trunk@6541 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
6c0b443dd7
commit
ace934284a
1 changed files with 2 additions and 2 deletions
|
@ -1012,7 +1012,7 @@ pagination_sep = \'{PAGINATION_SEP}\'
|
||||||
// Used in an sprintf statement to generate appropriate output for rawcss mode
|
// Used in an sprintf statement to generate appropriate output for rawcss mode
|
||||||
$map_elements = array(
|
$map_elements = array(
|
||||||
'colors' => '%s',
|
'colors' => '%s',
|
||||||
'sizes' => '%1.1f',
|
'sizes' => '%1.10f',
|
||||||
'images' => 'url(\'./%s\')',
|
'images' => 'url(\'./%s\')',
|
||||||
'repeat' => '%s',
|
'repeat' => '%s',
|
||||||
'other' => '%s',
|
'other' => '%s',
|
||||||
|
@ -1232,7 +1232,7 @@ pagination_sep = \'{PAGINATION_SEP}\'
|
||||||
// use the element mapping to create raw css code
|
// use the element mapping to create raw css code
|
||||||
if ($value !== '')
|
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";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue