From 3166cbb33d5ce44fff380d53c4c51ba5f6a2224a Mon Sep 17 00:00:00 2001 From: Callum Macrae Date: Sat, 15 Oct 2011 16:21:40 +0100 Subject: [PATCH] [ticket/10270] Replaced find by tag names with class names in the js. What it was before (selecting by tag name) could have caused some problems for style authors. PHPBB3-10270 --- phpBB/adm/style/overall_footer.html | 4 ++-- phpBB/assets/javascript/core.js | 6 +++--- phpBB/styles/prosilver/template/overall_footer.html | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/phpBB/adm/style/overall_footer.html b/phpBB/adm/style/overall_footer.html index e54f75a813..d58ac06aaa 100644 --- a/phpBB/adm/style/overall_footer.html +++ b/phpBB/adm/style/overall_footer.html @@ -25,11 +25,11 @@
-

+

-

+

 
diff --git a/phpBB/assets/javascript/core.js b/phpBB/assets/javascript/core.js index 5a43c0b3cb..22465a040d 100644 --- a/phpBB/assets/javascript/core.js +++ b/phpBB/assets/javascript/core.js @@ -48,8 +48,8 @@ phpbb.loading_alert = function() { */ phpbb.alert = function(title, msg, fadedark) { var div = $('#phpbb_alert'); - div.find('h3').html(title); - div.find('p').html(msg); + div.find('.alert_title').html(title); + div.find('.alert_text').html(msg); div.bind('click', function(e) { e.stopPropagation(); @@ -110,7 +110,7 @@ phpbb.alert = function(title, msg, fadedark) { */ phpbb.confirm = function(msg, callback, fadedark) { var div = $('#phpbb_confirm'); - div.find('p').html(msg); + div.find('.alert_text').html(msg); div.bind('click', function(e) { e.stopPropagation(); diff --git a/phpBB/styles/prosilver/template/overall_footer.html b/phpBB/styles/prosilver/template/overall_footer.html index 981740510d..542bdf45f1 100644 --- a/phpBB/styles/prosilver/template/overall_footer.html +++ b/phpBB/styles/prosilver/template/overall_footer.html @@ -24,7 +24,7 @@
{DEBUG_OUTPUT}
{L_ACP} - +
 

{L_LOADING}

{L_PLEASE_WAIT}

@@ -32,11 +32,11 @@
-

+

-

+