From 046b1b9d9842e8b908ff9c67cee2bd9d669055f6 Mon Sep 17 00:00:00 2001 From: Crizzo Date: Sun, 2 Mar 2014 19:52:44 +0100 Subject: [PATCH 1/4] [ticket/12240] Added specific class name to posting buttons PHPBB3-12240 --- .../prosilver/template/posting_buttons.html | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/phpBB/styles/prosilver/template/posting_buttons.html b/phpBB/styles/prosilver/template/posting_buttons.html index 137970bbdf..7a169575cc 100644 --- a/phpBB/styles/prosilver/template/posting_buttons.html +++ b/phpBB/styles/prosilver/template/posting_buttons.html @@ -61,26 +61,26 @@
- - - + + + - + - - - - + + + + - + - + - + - @@ -91,7 +91,7 @@ - + From 281df15a5362c60e6b6f3cc35937eb7c020bcca4 Mon Sep 17 00:00:00 2001 From: Crizzo Date: Sun, 2 Mar 2014 20:30:09 +0100 Subject: [PATCH 2/4] [ticket/12240] Added class code for custom bbcodes based on bbcode_tag PHPBB3-12240 --- phpBB/includes/functions_display.php | 1 + phpBB/styles/prosilver/template/posting_buttons.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php index e663ac90c5..05313e849d 100644 --- a/phpBB/includes/functions_display.php +++ b/phpBB/includes/functions_display.php @@ -962,6 +962,7 @@ function display_custom_bbcodes() 'BBCODE_NAME' => "'[{$row['bbcode_tag']}]', '[/" . str_replace('=', '', $row['bbcode_tag']) . "]'", 'BBCODE_ID' => $num_predefined_bbcodes + ($i * 2), 'BBCODE_TAG' => $row['bbcode_tag'], + 'BBCODE_TAG_CLEAN' => str_replace('=', '-', $row['bbcode_tag']), 'BBCODE_HELPLINE' => $row['bbcode_helpline'], 'A_BBCODE_HELPLINE' => str_replace(array('&', '"', "'", '<', '>'), array('&', '"', "\'", '<', '>'), $row['bbcode_helpline']), ); diff --git a/phpBB/styles/prosilver/template/posting_buttons.html b/phpBB/styles/prosilver/template/posting_buttons.html index 7a169575cc..0fe593e7d8 100644 --- a/phpBB/styles/prosilver/template/posting_buttons.html +++ b/phpBB/styles/prosilver/template/posting_buttons.html @@ -93,7 +93,7 @@ - +
From 49709344754d5a5761ca40b1e847e6eaa83743c9 Mon Sep 17 00:00:00 2001 From: Crizzo Date: Sun, 2 Mar 2014 20:45:05 +0100 Subject: [PATCH 3/4] [ticket/12240] Added template changes for subsilver2, too PHPBB3-12240 --- .../subsilver2/template/posting_buttons.html | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/phpBB/styles/subsilver2/template/posting_buttons.html b/phpBB/styles/subsilver2/template/posting_buttons.html index 2c60913fc0..f88cfa3f9a 100644 --- a/phpBB/styles/subsilver2/template/posting_buttons.html +++ b/phpBB/styles/subsilver2/template/posting_buttons.html @@ -38,26 +38,26 @@
- - - + + + - + - - - - + + + + - + - + - + - {L_FONT_SIZE}{L_COLON} @@ -78,7 +78,7 @@
- onmouseover="helpline('cb_{custom_tags.BBCODE_ID}')" onmouseout="helpline('tip')" /> + onmouseover="helpline('cb_{custom_tags.BBCODE_ID}')" onmouseout="helpline('tip')" />
From 19fbd1699ab93550bc199f5f92096f7b59467b94 Mon Sep 17 00:00:00 2001 From: Crizzo Date: Mon, 3 Mar 2014 18:34:53 +0100 Subject: [PATCH 4/4] [ticket/12240] fontsize => size; fontcolor => color and added bbcode- in96 PHPBB3-12240 --- phpBB/styles/prosilver/template/posting_buttons.html | 6 +++--- phpBB/styles/subsilver2/template/posting_buttons.html | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/phpBB/styles/prosilver/template/posting_buttons.html b/phpBB/styles/prosilver/template/posting_buttons.html index 0fe593e7d8..1164b2ffbe 100644 --- a/phpBB/styles/prosilver/template/posting_buttons.html +++ b/phpBB/styles/prosilver/template/posting_buttons.html @@ -80,7 +80,7 @@ - @@ -91,9 +91,9 @@ - + - +
diff --git a/phpBB/styles/subsilver2/template/posting_buttons.html b/phpBB/styles/subsilver2/template/posting_buttons.html index f88cfa3f9a..d1c0f79a16 100644 --- a/phpBB/styles/subsilver2/template/posting_buttons.html +++ b/phpBB/styles/subsilver2/template/posting_buttons.html @@ -57,7 +57,7 @@ - {L_FONT_SIZE}{L_COLON} @@ -78,7 +78,7 @@
- onmouseover="helpline('cb_{custom_tags.BBCODE_ID}')" onmouseout="helpline('tip')" /> + onmouseover="helpline('cb_{custom_tags.BBCODE_ID}')" onmouseout="helpline('tip')" />