From 91a1c3af901f51d79751b733e48e8bcddc81d263 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Mon, 7 Apr 2014 21:42:30 +0200 Subject: [PATCH] [ticket/12372] Rename JS function dE() to phpbb.toggleDisplay() PHPBB3-12372 --- phpBB/adm/style/acp_forums.html | 44 +++++++++---------- phpBB/adm/style/acp_modules.html | 4 +- phpBB/adm/style/acp_ranks.html | 4 +- phpBB/adm/style/acp_send_statistics.html | 12 ++--- phpBB/adm/style/acp_users_overview.html | 4 +- phpBB/adm/style/acp_users_prefs.html | 2 +- phpBB/adm/style/install_update.html | 2 +- phpBB/adm/style/permissions.js | 12 ++--- phpBB/assets/javascript/core.js | 2 +- phpBB/includes/functions_posting.php | 2 +- .../prosilver/template/posting_buttons.html | 2 +- .../template/ucp_prefs_personal.html | 6 +-- .../template/ucp_prefs_personal.html | 2 +- 13 files changed, 49 insertions(+), 49 deletions(-) diff --git a/phpBB/adm/style/acp_forums.html b/phpBB/adm/style/acp_forums.html index 0bb5e10f57..822d1c5f35 100644 --- a/phpBB/adm/style/acp_forums.html +++ b/phpBB/adm/style/acp_forums.html @@ -14,45 +14,45 @@ if (value == {FORUM_POST}) { - dE('type_actions', -1); + phpbb.toggleDisplay('type_actions', -1); } else { - dE('type_actions', 1); + phpbb.toggleDisplay('type_actions', 1); } if (value == {FORUM_LINK}) { - dE('cat_to_link_actions', 1); + phpbb.toggleDisplay('cat_to_link_actions', 1); } else { - dE('cat_to_link_actions', -1); + phpbb.toggleDisplay('cat_to_link_actions', -1); } if (value == {FORUM_POST}) { - dE('forum_post_options', 1); - dE('forum_link_options', -1); - dE('forum_rules_options', 1); - dE('forum_cat_options', -1); + phpbb.toggleDisplay('forum_post_options', 1); + phpbb.toggleDisplay('forum_link_options', -1); + phpbb.toggleDisplay('forum_rules_options', 1); + phpbb.toggleDisplay('forum_cat_options', -1); } else if (value == {FORUM_LINK}) { - dE('forum_post_options', -1); - dE('forum_link_options', 1); - dE('forum_rules_options', -1); - dE('forum_cat_options', -1); + phpbb.toggleDisplay('forum_post_options', -1); + phpbb.toggleDisplay('forum_link_options', 1); + phpbb.toggleDisplay('forum_rules_options', -1); + phpbb.toggleDisplay('forum_cat_options', -1); } else if (value == {FORUM_CAT}) { - dE('forum_post_options', -1); - dE('forum_link_options', -1); - dE('forum_rules_options', 1); - dE('forum_cat_options', 1); + phpbb.toggleDisplay('forum_post_options', -1); + phpbb.toggleDisplay('forum_link_options', -1); + phpbb.toggleDisplay('forum_rules_options', 1); + phpbb.toggleDisplay('forum_cat_options', 1); } } @@ -64,30 +64,30 @@ { - dE('type_actions', -1); + phpbb.toggleDisplay('type_actions', -1); - dE('cat_to_link_actions', -1); + phpbb.toggleDisplay('cat_to_link_actions', -1); - dE('forum_post_options', -1); + phpbb.toggleDisplay('forum_post_options', -1); - dE('forum_cat_options', -1); + phpbb.toggleDisplay('forum_cat_options', -1); - dE('forum_link_options', -1); + phpbb.toggleDisplay('forum_link_options', -1); - dE('forum_rules_options', -1); + phpbb.toggleDisplay('forum_rules_options', -1); } diff --git a/phpBB/adm/style/acp_modules.html b/phpBB/adm/style/acp_modules.html index c7688a610c..3c97706e6a 100644 --- a/phpBB/adm/style/acp_modules.html +++ b/phpBB/adm/style/acp_modules.html @@ -10,11 +10,11 @@ { if (value == 'category') { - dE('modoptions', -1); + phpbb.toggleDisplay('modoptions', -1); } else { - dE('modoptions', 1); + phpbb.toggleDisplay('modoptions', 1); } } diff --git a/phpBB/adm/style/acp_ranks.html b/phpBB/adm/style/acp_ranks.html index be68dda695..dd2d07a837 100644 --- a/phpBB/adm/style/acp_ranks.html +++ b/phpBB/adm/style/acp_ranks.html @@ -35,8 +35,8 @@
-
-
+
+