From efe872745faf2715b568a503384ea7f198809716 Mon Sep 17 00:00:00 2001 From: Callum Macrae Date: Sat, 23 Jul 2011 18:58:37 +0100 Subject: [PATCH] [feature/ajax] Replaced jQuery selectors with data attributes. Due to problems that could have been caused by selecting the element using jQuery selectors, they have been replaced by HTML5 data attributes. PHPBB3-10270 --- .../styles/prosilver/template/index_body.html | 2 +- .../prosilver/template/overall_footer.html | 10 +- .../prosilver/template/viewforum_body.html | 2 +- .../prosilver/template/viewtopic_body.html | 4 +- phpBB/styles/script.js | 94 +++++++++++-------- 5 files changed, 63 insertions(+), 49 deletions(-) diff --git a/phpBB/styles/prosilver/template/index_body.html b/phpBB/styles/prosilver/template/index_body.html index b183cf4372..9269f62769 100644 --- a/phpBB/styles/prosilver/template/index_body.html +++ b/phpBB/styles/prosilver/template/index_body.html @@ -8,7 +8,7 @@
  • {L_SEARCH_UNANSWERED}{L_SEARCH_UNREAD}{L_SEARCH_NEW}{L_SEARCH_ACTIVE_TOPICS}
  • -
  • {L_MARK_FORUMS_READ}
  • +
  • {L_MARK_FORUMS_READ}
  • diff --git a/phpBB/styles/prosilver/template/overall_footer.html b/phpBB/styles/prosilver/template/overall_footer.html index 0d2fd4d27a..ffdb27be98 100644 --- a/phpBB/styles/prosilver/template/overall_footer.html +++ b/phpBB/styles/prosilver/template/overall_footer.html @@ -8,12 +8,12 @@ diff --git a/phpBB/styles/prosilver/template/viewforum_body.html b/phpBB/styles/prosilver/template/viewforum_body.html index 385d3eed71..d17203efa0 100644 --- a/phpBB/styles/prosilver/template/viewforum_body.html +++ b/phpBB/styles/prosilver/template/viewforum_body.html @@ -57,7 +57,7 @@