From e3882844ec985a62ae573bbcf618c08343afc717 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sat, 22 Sep 2007 18:31:50 +0000 Subject: [PATCH] #i62 - #i65 gone through every javascript invocation and making sure we adhere to our coding guidelines. git-svn-id: file:///svn/phpbb/trunk@8099 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/adm/style/acp_attachments.html | 5 +- phpBB/adm/style/acp_ban.html | 12 +-- phpBB/adm/style/acp_database.html | 4 +- phpBB/adm/style/acp_email.html | 2 +- phpBB/adm/style/acp_forums.html | 27 +++---- phpBB/adm/style/acp_groups.html | 4 +- phpBB/adm/style/acp_icons.html | 9 +-- phpBB/adm/style/acp_modules.html | 7 +- phpBB/adm/style/acp_permission_roles.html | 4 +- phpBB/adm/style/acp_permissions.html | 10 +-- phpBB/adm/style/acp_prune_users.html | 2 +- phpBB/adm/style/acp_ranks.html | 6 +- phpBB/adm/style/acp_search.html | 8 +- phpBB/adm/style/acp_styles.html | 73 ++++++----------- phpBB/adm/style/acp_users.html | 2 +- phpBB/adm/style/acp_users_overview.html | 6 +- phpBB/adm/style/acp_users_prefs.html | 8 +- phpBB/adm/style/acp_users_signature.html | 23 +++--- phpBB/adm/style/colour_swatch.html | 4 +- phpBB/adm/style/install_update.html | 22 +++--- phpBB/adm/style/install_update_diff.html | 4 +- phpBB/adm/style/overall_header.html | 34 +++----- phpBB/adm/style/permission_mask.html | 6 +- phpBB/adm/style/progress_bar.html | 8 +- phpBB/adm/style/simple_header.html | 37 ++++----- phpBB/adm/swatch.php | 11 ++- phpBB/includes/acp/acp_ban.php | 19 +++-- phpBB/includes/acp/acp_board.php | 2 +- phpBB/includes/acp/acp_email.php | 1 - phpBB/includes/acp/acp_forums.php | 8 +- phpBB/includes/acp/acp_groups.php | 6 +- phpBB/includes/acp/acp_icons.php | 1 + phpBB/includes/acp/acp_modules.php | 2 +- phpBB/includes/acp/acp_permissions.php | 6 +- phpBB/includes/acp/acp_prune.php | 4 +- phpBB/includes/acp/acp_search.php | 4 +- phpBB/includes/acp/acp_styles.php | 2 +- phpBB/includes/acp/acp_users.php | 4 +- phpBB/includes/acp/auth.php | 2 +- phpBB/includes/functions.php | 12 +-- phpBB/includes/mcp/mcp_ban.php | 2 +- phpBB/includes/mcp/mcp_notes.php | 5 +- phpBB/includes/mcp/mcp_post.php | 1 - phpBB/includes/mcp/mcp_warn.php | 1 - phpBB/includes/ucp/ucp_groups.php | 4 +- phpBB/includes/ucp/ucp_pm.php | 2 +- phpBB/includes/ucp/ucp_pm_compose.php | 8 +- phpBB/includes/ucp/ucp_pm_options.php | 3 +- phpBB/includes/ucp/ucp_zebra.php | 1 - phpBB/memberlist.php | 13 ++- phpBB/posting.php | 2 +- .../styles/prosilver/template/attachment.html | 6 +- phpBB/styles/prosilver/template/forum_fn.js | 9 ++- phpBB/styles/prosilver/template/mcp_ban.html | 12 +-- .../prosilver/template/mcp_notes_front.html | 2 +- phpBB/styles/prosilver/template/mcp_post.html | 2 +- .../styles/prosilver/template/mcp_topic.html | 8 +- .../prosilver/template/mcp_warn_front.html | 2 +- .../prosilver/template/memberlist_body.html | 2 +- .../prosilver/template/memberlist_email.html | 30 +------ .../prosilver/template/memberlist_im.html | 79 +++++++++++++++++-- .../prosilver/template/memberlist_search.html | 4 +- .../prosilver/template/memberlist_view.html | 10 +-- .../prosilver/template/overall_header.html | 12 ++- .../prosilver/template/posting_buttons.html | 10 +-- .../prosilver/template/posting_editor.html | 6 +- .../prosilver/template/posting_layout.html | 4 +- .../prosilver/template/posting_smilies.html | 4 +- .../template/posting_topic_review.html | 2 +- .../prosilver/template/ucp_groups_manage.html | 17 +--- .../prosilver/template/ucp_pm_history.html | 2 +- .../prosilver/template/ucp_pm_options.html | 2 +- .../prosilver/template/ucp_pm_popup.html | 8 +- .../template/ucp_pm_viewmessage.html | 2 +- .../template/ucp_prefs_personal.html | 7 +- .../prosilver/template/ucp_register.html | 4 +- .../prosilver/template/ucp_zebra_foes.html | 2 +- .../prosilver/template/ucp_zebra_friends.html | 2 +- .../prosilver/template/viewforum_body.html | 2 +- .../prosilver/template/viewtopic_body.html | 4 +- .../subsilver2/template/attachment.html | 6 +- phpBB/styles/subsilver2/template/mcp_ban.html | 12 +-- .../subsilver2/template/mcp_header.html | 2 +- .../subsilver2/template/mcp_jumpbox.html | 4 +- .../subsilver2/template/mcp_notes_front.html | 2 +- .../styles/subsilver2/template/mcp_post.html | 2 +- .../subsilver2/template/mcp_warn_front.html | 2 +- .../subsilver2/template/memberlist_body.html | 2 +- .../subsilver2/template/memberlist_email.html | 29 +------ .../subsilver2/template/memberlist_im.html | 55 +++++++------ .../template/memberlist_search.html | 4 +- .../subsilver2/template/memberlist_view.html | 10 +-- .../subsilver2/template/overall_header.html | 23 +++--- .../template/posting_attach_body.html | 11 +-- .../subsilver2/template/posting_body.html | 11 ++- .../subsilver2/template/posting_buttons.html | 20 +---- .../template/posting_progress_bar.html | 8 +- .../subsilver2/template/posting_smilies.html | 9 +-- .../template/ucp_groups_manage.html | 17 +--- .../subsilver2/template/ucp_header.html | 6 +- .../subsilver2/template/ucp_main_drafts.html | 11 ++- .../subsilver2/template/ucp_pm_options.html | 2 +- .../subsilver2/template/ucp_pm_popup.html | 8 +- .../template/ucp_prefs_personal.html | 8 +- .../template/ucp_profile_signature.html | 8 +- .../subsilver2/template/ucp_register.html | 4 +- .../subsilver2/template/ucp_zebra_foes.html | 2 +- .../template/ucp_zebra_friends.html | 2 +- 108 files changed, 473 insertions(+), 516 deletions(-) diff --git a/phpBB/adm/style/acp_attachments.html b/phpBB/adm/style/acp_attachments.html index 36d8f24f32..950e9bb6f9 100644 --- a/phpBB/adm/style/acp_attachments.html +++ b/phpBB/adm/style/acp_attachments.html @@ -117,8 +117,7 @@
diff --git a/phpBB/adm/style/acp_ban.html b/phpBB/adm/style/acp_ban.html index e371d48bfc..8dd771f7fa 100644 --- a/phpBB/adm/style/acp_ban.html +++ b/phpBB/adm/style/acp_ban.html @@ -9,24 +9,24 @@

{L_EXPLAIN}

@@ -46,7 +46,7 @@
-
[ {L_FIND_USERNAME} ]
+
[ {L_FIND_USERNAME} ]
diff --git a/phpBB/adm/style/acp_database.html b/phpBB/adm/style/acp_database.html index d1ac03dc7b..fcb79920fc 100644 --- a/phpBB/adm/style/acp_database.html +++ b/phpBB/adm/style/acp_database.html @@ -33,7 +33,7 @@

{L_ACP_BACKUP_EXPLAIN}

diff --git a/phpBB/adm/style/acp_email.html b/phpBB/adm/style/acp_email.html index 5744136230..b2c12c944d 100644 --- a/phpBB/adm/style/acp_email.html +++ b/phpBB/adm/style/acp_email.html @@ -24,7 +24,7 @@

{L_SEND_TO_USERS_EXPLAIN}
-
[ {L_FIND_USERNAME} ]
+
[ {L_FIND_USERNAME} ]
diff --git a/phpBB/adm/style/acp_forums.html b/phpBB/adm/style/acp_forums.html index 77d3c59a6f..802cd81815 100644 --- a/phpBB/adm/style/acp_forums.html +++ b/phpBB/adm/style/acp_forums.html @@ -5,8 +5,7 @@ « {L_BACK} @@ -368,12 +367,11 @@

{L_FORUM_ADMIN}

@@ -385,18 +383,17 @@

{L_FORUM_ADMIN}

@@ -412,9 +409,9 @@
diff --git a/phpBB/adm/style/acp_groups.html b/phpBB/adm/style/acp_groups.html index a659207f9e..f1b4c4ecaa 100644 --- a/phpBB/adm/style/acp_groups.html +++ b/phpBB/adm/style/acp_groups.html @@ -76,7 +76,7 @@

{L_GROUP_COLOR_EXPLAIN}
-
  [ {L_COLOUR_SWATCH} ]
+
  [ {L_COLOUR_SWATCH} ]
@@ -254,7 +254,7 @@

{L_USERNAMES_EXPLAIN}
-
[ {L_FIND_USERNAME} ]
+
[ {L_FIND_USERNAME} ]

diff --git a/phpBB/adm/style/acp_icons.html b/phpBB/adm/style/acp_icons.html index 5100de32d8..6a8db53f08 100644 --- a/phpBB/adm/style/acp_icons.html +++ b/phpBB/adm/style/acp_icons.html @@ -5,7 +5,7 @@ - « {L_BACK}

{L_TITLE}

@@ -112,7 +111,7 @@ - + diff --git a/phpBB/adm/style/acp_modules.html b/phpBB/adm/style/acp_modules.html index 3fafd1288b..cae5781c8d 100644 --- a/phpBB/adm/style/acp_modules.html +++ b/phpBB/adm/style/acp_modules.html @@ -5,8 +5,7 @@ « {L_BACK} diff --git a/phpBB/adm/style/acp_permission_roles.html b/phpBB/adm/style/acp_permission_roles.html index e16d7598ab..80b1003003 100644 --- a/phpBB/adm/style/acp_permission_roles.html +++ b/phpBB/adm/style/acp_permission_roles.html @@ -5,7 +5,7 @@ diff --git a/phpBB/adm/style/acp_permissions.html b/phpBB/adm/style/acp_permissions.html index 5eb9c2eab3..d30a38e697 100644 --- a/phpBB/adm/style/acp_permissions.html +++ b/phpBB/adm/style/acp_permissions.html @@ -74,7 +74,7 @@
-
[ {L_FIND_USERNAME} ]
+
[ {L_FIND_USERNAME} ]
@@ -138,7 +138,7 @@

{L_USERNAMES_EXPLAIN}

-
+
@@ -225,7 +225,7 @@
-
[ {L_FIND_USERNAME} ]
+
[ {L_FIND_USERNAME} ]
@@ -327,9 +327,9 @@ diff --git a/phpBB/adm/style/acp_prune_users.html b/phpBB/adm/style/acp_prune_users.html index 1300ddffb2..9a2926df7f 100644 --- a/phpBB/adm/style/acp_prune_users.html +++ b/phpBB/adm/style/acp_prune_users.html @@ -33,7 +33,7 @@

{L_SELECT_USERS_EXPLAIN}
-
[ {L_FIND_USERNAME} ]
+
[ {L_FIND_USERNAME} ]

{L_DELETE_USER_POSTS_EXPLAIN}
diff --git a/phpBB/adm/style/acp_ranks.html b/phpBB/adm/style/acp_ranks.html index bfb805f3d8..0bc8636f7d 100644 --- a/phpBB/adm/style/acp_ranks.html +++ b/phpBB/adm/style/acp_ranks.html @@ -7,13 +7,13 @@ « {L_BACK}

{L_ACP_MANAGE_RANKS}

diff --git a/phpBB/adm/style/acp_search.html b/phpBB/adm/style/acp_search.html index 8d0ad2f07c..9afe9c5789 100644 --- a/phpBB/adm/style/acp_search.html +++ b/phpBB/adm/style/acp_search.html @@ -66,17 +66,17 @@

{L_ACP_SEARCH_INDEX}

diff --git a/phpBB/adm/style/acp_styles.html b/phpBB/adm/style/acp_styles.html index efa06aa538..0908c19480 100644 --- a/phpBB/adm/style/acp_styles.html +++ b/phpBB/adm/style/acp_styles.html @@ -51,15 +51,15 @@ @@ -153,33 +153,6 @@ - - « {L_BACK}

{L_EDIT}

@@ -204,10 +177,17 @@ @@ -269,18 +260,6 @@ - - « {L_BACK}

{L_TEMPLATE_CACHE}

@@ -304,7 +283,7 @@ - {file.FILENAME} + {file.FILENAME} {file.FILESIZE} {file.CACHED} {file.MODIFIED} diff --git a/phpBB/adm/style/acp_users.html b/phpBB/adm/style/acp_users.html index a7ac71abed..cc369bab66 100644 --- a/phpBB/adm/style/acp_users.html +++ b/phpBB/adm/style/acp_users.html @@ -15,7 +15,7 @@
-
[ {L_FIND_USERNAME} ]
+
[ {L_FIND_USERNAME} ]
diff --git a/phpBB/adm/style/acp_users_overview.html b/phpBB/adm/style/acp_users_overview.html index 60090d5a3f..2dfb82e52f 100644 --- a/phpBB/adm/style/acp_users_overview.html +++ b/phpBB/adm/style/acp_users_overview.html @@ -21,7 +21,7 @@
{REGISTERED_IP}
-
[ {L_WHOIS} ]
+
[ {L_WHOIS} ]
@@ -70,7 +70,7 @@ diff --git a/phpBB/adm/style/acp_users_prefs.html b/phpBB/adm/style/acp_users_prefs.html index 99e82ea0db..1dfa6a614b 100644 --- a/phpBB/adm/style/acp_users_prefs.html +++ b/phpBB/adm/style/acp_users_prefs.html @@ -1,3 +1,9 @@ + +
@@ -57,7 +63,7 @@

{L_BOARD_DATE_FORMAT_EXPLAIN}
-
+
style="display:none;">
diff --git a/phpBB/adm/style/acp_users_signature.html b/phpBB/adm/style/acp_users_signature.html index 8c9fcaeec6..9d6b8d11e9 100644 --- a/phpBB/adm/style/acp_users_signature.html +++ b/phpBB/adm/style/acp_users_signature.html @@ -1,5 +1,5 @@ - - +// ]]> + + - +
@@ -86,9 +86,12 @@

-
+
+
@@ -111,4 +114,4 @@
- \ No newline at end of file + \ No newline at end of file diff --git a/phpBB/adm/style/colour_swatch.html b/phpBB/adm/style/colour_swatch.html index f52f3217c5..f3c5a812dc 100644 --- a/phpBB/adm/style/colour_swatch.html +++ b/phpBB/adm/style/colour_swatch.html @@ -36,7 +36,7 @@ diff --git a/phpBB/adm/style/install_update.html b/phpBB/adm/style/install_update.html index 34d00241cb..e19f1fe211 100644 --- a/phpBB/adm/style/install_update.html +++ b/phpBB/adm/style/install_update.html @@ -1,13 +1,13 @@ @@ -201,7 +201,7 @@
{L_NUM_CONFLICTS}: {files.NUM_CONFLICTS} -
 [ {files.L_SHOW_DIFF} ]{L_BINARY_FILE}
+
 [ {files.L_SHOW_DIFF} ]{L_BINARY_FILE}
@@ -210,15 +210,15 @@
-
[ {files.L_SHOW_DIFF} ]{L_BINARY_FILE}
+
[ {files.L_SHOW_DIFF} ]{L_BINARY_FILE}
-
[{L_SHOW_DIFF_FINAL}] 
+
[{L_SHOW_DIFF_FINAL}] 
-
[{L_SHOW_DIFF_FINAL}] 
+
[{L_SHOW_DIFF_FINAL}] 
@@ -233,20 +233,20 @@
-
[{L_SHOW_DIFF_FINAL}] 
+
[{L_SHOW_DIFF_FINAL}] 
-
[{L_SHOW_DIFF_FINAL}] 
+
[{L_SHOW_DIFF_FINAL}] 
-
[{L_SHOW_DIFF_FINAL}]
+
[{L_SHOW_DIFF_FINAL}]
-
[{L_SHOW_DIFF_FINAL}]
+
[{L_SHOW_DIFF_FINAL}]
diff --git a/phpBB/adm/style/install_update_diff.html b/phpBB/adm/style/install_update_diff.html index ce1a241abe..b9ac19ae5d 100644 --- a/phpBB/adm/style/install_update_diff.html +++ b/phpBB/adm/style/install_update_diff.html @@ -12,7 +12,7 @@