diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2009-04-17 15:23:17 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2009-04-17 15:23:17 +0000 |
| commit | a7be268aa64b9542cf3be2dccd7163091dc8cbc6 (patch) | |
| tree | 9a5cdc775379da632e2af4c474a2b895b33dd5fb /phpBB/includes/bbcode.php | |
| parent | 556b177e9ce2e56932d9ccf829b61bac908908ce (diff) | |
| download | forums-a7be268aa64b9542cf3be2dccd7163091dc8cbc6.tar forums-a7be268aa64b9542cf3be2dccd7163091dc8cbc6.tar.gz forums-a7be268aa64b9542cf3be2dccd7163091dc8cbc6.tar.bz2 forums-a7be268aa64b9542cf3be2dccd7163091dc8cbc6.tar.xz forums-a7be268aa64b9542cf3be2dccd7163091dc8cbc6.zip | |
change arabic-numbers list-style-type to correct type decimal (Bug #30775)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9461 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/bbcode.php')
| -rw-r--r-- | phpBB/includes/bbcode.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/includes/bbcode.php b/phpBB/includes/bbcode.php index fd8fadf3a7..562488db70 100644 --- a/phpBB/includes/bbcode.php +++ b/phpBB/includes/bbcode.php @@ -134,7 +134,7 @@ class bbcode { $this->template_bitfield = new bitfield($user->theme['bbcode_bitfield']); $this->template_filename = $phpbb_root_path . 'styles/' . $user->theme['template_path'] . '/template/bbcode.html'; - + if (!@file_exists($this->template_filename)) { if (isset($user->theme['template_inherits_id']) && $user->theme['template_inherits_id']) @@ -410,7 +410,7 @@ class bbcode if (empty($bbcode_hardtpl)) { global $user; - + $bbcode_hardtpl = array( 'b_open' => '<span style="font-weight: bold">', 'b_close' => '</span>', @@ -528,12 +528,12 @@ class bbcode else if (is_numeric($type)) { $tpl = 'olist_open'; - $type = 'arabic-numbers'; + $type = 'decimal'; } else { $tpl = 'olist_open'; - $type = 'arabic-numbers'; + $type = 'decimal'; } return str_replace('{LIST_TYPE}', $type, $this->bbcode_tpl($tpl)); |
