@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | /** |
| 16 | 16 | * Add settings that will be used in the template |
| 17 | 17 | */ |
| 18 | -function template_ProfileInfo_init() |
|
| 18 | +function template_ProfileInfo_init () |
|
| 19 | 19 | { |
| 20 | 20 | global $settings, $context; |
| 21 | 21 | |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | /** |
| 37 | 37 | * This template displays users details without any option to edit them. |
| 38 | 38 | */ |
| 39 | -function template_action_summary() |
|
| 39 | +function template_action_summary () |
|
| 40 | 40 | { |
| 41 | 41 | global $context; |
| 42 | 42 | |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | /** |
| 122 | 122 | * Template for showing all the posts of the user, in chronological order. |
| 123 | 123 | */ |
| 124 | -function template_action_showPosts() |
|
| 124 | +function template_action_showPosts () |
|
| 125 | 125 | { |
| 126 | 126 | global $context, $txt; |
| 127 | 127 | |
@@ -173,7 +173,7 @@ discard block |
||
| 173 | 173 | /** |
| 174 | 174 | * Show the individual users permissions |
| 175 | 175 | */ |
| 176 | -function template_action_showPermissions() |
|
| 176 | +function template_action_showPermissions () |
|
| 177 | 177 | { |
| 178 | 178 | global $context, $scripturl, $txt; |
| 179 | 179 | |
@@ -345,7 +345,7 @@ discard block |
||
| 345 | 345 | /** |
| 346 | 346 | * Template for user statistics, showing graphs and the like. |
| 347 | 347 | */ |
| 348 | -function template_action_statPanel() |
|
| 348 | +function template_action_statPanel () |
|
| 349 | 349 | { |
| 350 | 350 | global $context, $txt; |
| 351 | 351 | |
@@ -499,7 +499,7 @@ discard block |
||
| 499 | 499 | /** |
| 500 | 500 | * Show all warnings of a user |
| 501 | 501 | */ |
| 502 | -function template_viewWarning() |
|
| 502 | +function template_viewWarning () |
|
| 503 | 503 | { |
| 504 | 504 | global $context, $txt; |
| 505 | 505 | |
@@ -552,7 +552,7 @@ discard block |
||
| 552 | 552 | * Show avatar, title, group info, number of posts, karma, likes |
| 553 | 553 | * Has links to show posts, drafts and attachments |
| 554 | 554 | */ |
| 555 | -function template_profile_block_summary() |
|
| 555 | +function template_profile_block_summary () |
|
| 556 | 556 | { |
| 557 | 557 | global $txt, $context, $modSettings; |
| 558 | 558 | |
@@ -654,7 +654,7 @@ discard block |
||
| 654 | 654 | * localization details (language and time) |
| 655 | 655 | * If user has permissions can see IP address |
| 656 | 656 | */ |
| 657 | -function template_profile_block_user_info() |
|
| 657 | +function template_profile_block_user_info () |
|
| 658 | 658 | { |
| 659 | 659 | global $settings, $txt, $context, $scripturl, $modSettings; |
| 660 | 660 | |
@@ -734,7 +734,7 @@ discard block |
||
| 734 | 734 | * Shows any profile website information |
| 735 | 735 | * Shows custom profile fields of placement type '1', "with icons" |
| 736 | 736 | */ |
| 737 | -function template_profile_block_contact() |
|
| 737 | +function template_profile_block_contact () |
|
| 738 | 738 | { |
| 739 | 739 | global $txt, $context, $scripturl; |
| 740 | 740 | |
@@ -849,7 +849,7 @@ discard block |
||
| 849 | 849 | * Shows the users signature |
| 850 | 850 | * Shows custom profile fields that are placed with the signature line |
| 851 | 851 | */ |
| 852 | -function template_profile_block_other_info() |
|
| 852 | +function template_profile_block_other_info () |
|
| 853 | 853 | { |
| 854 | 854 | global $txt, $context; |
| 855 | 855 | |
@@ -922,7 +922,7 @@ discard block |
||
| 922 | 922 | * |
| 923 | 923 | * Show the custom profile fields for standard (value 0) placement |
| 924 | 924 | */ |
| 925 | -function template_profile_block_user_customprofileinfo() |
|
| 925 | +function template_profile_block_user_customprofileinfo () |
|
| 926 | 926 | { |
| 927 | 927 | global $txt, $context; |
| 928 | 928 | |
@@ -978,7 +978,7 @@ discard block |
||
| 978 | 978 | * Can approve members waiting activation |
| 979 | 979 | * Needs the correct permissions for either action in order to view |
| 980 | 980 | */ |
| 981 | -function template_profile_block_moderation() |
|
| 981 | +function template_profile_block_moderation () |
|
| 982 | 982 | { |
| 983 | 983 | global $txt, $context, $scripturl; |
| 984 | 984 | |
@@ -1066,7 +1066,7 @@ discard block |
||
| 1066 | 1066 | * |
| 1067 | 1067 | * Shows a list of your buddies with pm/email links if available |
| 1068 | 1068 | */ |
| 1069 | -function template_profile_block_buddies() |
|
| 1069 | +function template_profile_block_buddies () |
|
| 1070 | 1070 | { |
| 1071 | 1071 | global $context, $scripturl, $txt, $modSettings; |
| 1072 | 1072 | |
@@ -1150,7 +1150,7 @@ discard block |
||
| 1150 | 1150 | /** |
| 1151 | 1151 | * Consolidated profile block output. |
| 1152 | 1152 | */ |
| 1153 | -function template_profile_blocks() |
|
| 1153 | +function template_profile_blocks () |
|
| 1154 | 1154 | { |
| 1155 | 1155 | global $context; |
| 1156 | 1156 | |
@@ -1172,7 +1172,7 @@ discard block |
||
| 1172 | 1172 | * |
| 1173 | 1173 | * Shows the most recent attachments (as thumbnails) for this user |
| 1174 | 1174 | */ |
| 1175 | -function template_profile_block_attachments() |
|
| 1175 | +function template_profile_block_attachments () |
|
| 1176 | 1176 | { |
| 1177 | 1177 | global $txt, $context; |
| 1178 | 1178 | |
@@ -1218,7 +1218,7 @@ discard block |
||
| 1218 | 1218 | * |
| 1219 | 1219 | * Shows the most recent posts for this user |
| 1220 | 1220 | */ |
| 1221 | -function template_profile_block_posts() |
|
| 1221 | +function template_profile_block_posts () |
|
| 1222 | 1222 | { |
| 1223 | 1223 | global $txt, $context; |
| 1224 | 1224 | |
@@ -1271,7 +1271,7 @@ discard block |
||
| 1271 | 1271 | * |
| 1272 | 1272 | * Shows the most recent topics that this user has started |
| 1273 | 1273 | */ |
| 1274 | -function template_profile_block_topics() |
|
| 1274 | +function template_profile_block_topics () |
|
| 1275 | 1275 | { |
| 1276 | 1276 | global $txt, $context; |
| 1277 | 1277 | |
@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | /** |
| 16 | 16 | * The report subtemplate needs some error stuff |
| 17 | 17 | */ |
| 18 | -function template_Emailuser_init() |
|
| 18 | +function template_Emailuser_init () |
|
| 19 | 19 | { |
| 20 | 20 | global $context, $txt; |
| 21 | 21 | |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | * send: this just needs to be set, as by the submit button. |
| 59 | 59 | * sc: the session id, or $context['session_id']. |
| 60 | 60 | */ |
| 61 | -function template_send_topic() |
|
| 61 | +function template_send_topic () |
|
| 62 | 62 | { |
| 63 | 63 | global $context, $txt, $scripturl; |
| 64 | 64 | |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | /** |
| 122 | 122 | * Send an email to a user! |
| 123 | 123 | */ |
| 124 | -function template_custom_email() |
|
| 124 | +function template_custom_email () |
|
| 125 | 125 | { |
| 126 | 126 | global $context, $txt, $scripturl; |
| 127 | 127 | |
@@ -231,7 +231,7 @@ discard block |
||
| 231 | 231 | * comment: an additional comment to give the moderator. |
| 232 | 232 | * sc: the session id, or $context['session_id']. |
| 233 | 233 | */ |
| 234 | -function template_report() |
|
| 234 | +function template_report () |
|
| 235 | 235 | { |
| 236 | 236 | global $context, $txt, $scripturl; |
| 237 | 237 | |