| @@ 225-238 (lines=14) @@ | ||
| 222 | <div class="poster">'; |
|
| 223 | ||
| 224 | // Are there any custom fields above the member name? |
|
| 225 | if (!empty($message['custom_fields']['above_member'])) |
|
| 226 | { |
|
| 227 | echo ' |
|
| 228 | <div class="custom_fields_above_member"> |
|
| 229 | <ul class="nolist">'; |
|
| 230 | ||
| 231 | foreach ($message['custom_fields']['above_member'] as $custom) |
|
| 232 | echo ' |
|
| 233 | <li class="custom ', $custom['col_name'] ,'">', $custom['value'], '</li>'; |
|
| 234 | ||
| 235 | echo ' |
|
| 236 | </ul> |
|
| 237 | </div>'; |
|
| 238 | } |
|
| 239 | ||
| 240 | echo ' |
|
| 241 | <h4> |
|
| @@ 250-253 (lines=4) @@ | ||
| 247 | <span class="' . ($message['member']['online']['is_online'] == 1 ? 'on' : 'off') . '" title="' . $message['member']['online']['text'] . '"></span>'; |
|
| 248 | ||
| 249 | // Custom fields BEFORE the username? |
|
| 250 | if (!empty($message['custom_fields']['before_member'])) |
|
| 251 | foreach ($message['custom_fields']['before_member'] as $custom) |
|
| 252 | echo ' |
|
| 253 | <span class="custom ', $custom['col_name'], '">', $custom['value'], '</span>'; |
|
| 254 | ||
| 255 | // Show a link to the member's profile. |
|
| 256 | echo ' |
|
| @@ 260-263 (lines=4) @@ | ||
| 257 | ', $message['member']['link']; |
|
| 258 | ||
| 259 | // Custom fields AFTER the username? |
|
| 260 | if (!empty($message['custom_fields']['after_member'])) |
|
| 261 | foreach ($message['custom_fields']['after_member'] as $custom) |
|
| 262 | echo ' |
|
| 263 | <span class="custom ', $custom['col_name'], '">', $custom['value'], '</span>'; |
|
| 264 | ||
| 265 | echo ' |
|
| 266 | </h4>'; |
|
| @@ 279-282 (lines=4) @@ | ||
| 276 | </li>'; |
|
| 277 | ||
| 278 | // Are there any custom fields below the avatar? |
|
| 279 | if (!empty($message['custom_fields']['below_avatar'])) |
|
| 280 | foreach ($message['custom_fields']['below_avatar'] as $custom) |
|
| 281 | echo ' |
|
| 282 | <li class="custom ', $custom['col_name'] ,'">', $custom['value'], '</li>'; |
|
| 283 | ||
| 284 | if (!$message['member']['is_guest']) |
|
| 285 | echo ' |
|
| @@ 316-329 (lines=14) @@ | ||
| 313 | <li class="blurb">', $message['member']['blurb'], '</li>'; |
|
| 314 | ||
| 315 | // Any custom fields to show as icons? |
|
| 316 | if (!empty($message['custom_fields']['icons'])) |
|
| 317 | { |
|
| 318 | echo ' |
|
| 319 | <li class="im_icons"> |
|
| 320 | <ol>'; |
|
| 321 | ||
| 322 | foreach ($message['custom_fields']['icons'] as $custom) |
|
| 323 | echo ' |
|
| 324 | <li class="custom ', $custom['col_name'] ,'">', $custom['value'], '</li>'; |
|
| 325 | ||
| 326 | echo ' |
|
| 327 | </ol> |
|
| 328 | </li>'; |
|
| 329 | } |
|
| 330 | ||
| 331 | // Show the IP to this user for this post - because you can moderate? |
|
| 332 | if (!empty($context['can_moderate_forum']) && !empty($message['member']['ip'])) |
|
| @@ 385-388 (lines=4) @@ | ||
| 382 | } |
|
| 383 | ||
| 384 | // Any custom fields for standard placement? |
|
| 385 | if (!empty($message['custom_fields']['standard'])) |
|
| 386 | foreach ($message['custom_fields']['standard'] as $custom) |
|
| 387 | echo ' |
|
| 388 | <li class="custom ', $custom['col_name'] ,'">', $custom['title'], ': ', $custom['value'], '</li>'; |
|
| 389 | ||
| 390 | // Are we showing the warning status? |
|
| 391 | if ($message['member']['can_see_warning']) |
|
| @@ 396-399 (lines=4) @@ | ||
| 393 | <li class="warning">', $context['can_issue_warning'] ? '<a href="' . $scripturl . '?action=profile;area=issuewarning;u=' . $message['member']['id'] . '">' : '', '<span class="generic_icons warning_', $message['member']['warning_status'], '"></span>', $context['can_issue_warning'] ? '</a>' : '', '<span class="warn_', $message['member']['warning_status'], '">', $txt['warn_' . $message['member']['warning_status']], '</span></li>'; |
|
| 394 | ||
| 395 | // Are there any custom fields to show at the bottom of the poster info? |
|
| 396 | if (!empty($message['custom_fields']['bottom_poster'])) |
|
| 397 | foreach ($message['custom_fields']['bottom_poster'] as $custom) |
|
| 398 | echo ' |
|
| 399 | <li class="custom ', $custom['col_name'] ,'">', $custom['value'], '</li>'; |
|
| 400 | } |
|
| 401 | ||
| 402 | // Done with the information about the poster... on to the post itself. |
|
| @@ 492-505 (lines=14) @@ | ||
| 489 | </div><!-- .under_message -->'; |
|
| 490 | ||
| 491 | // Are there any custom profile fields for above the signature? |
|
| 492 | if (!empty($message['custom_fields']['above_signature'])) |
|
| 493 | { |
|
| 494 | echo ' |
|
| 495 | <div class="custom_fields_above_signature"> |
|
| 496 | <ul class="nolist">'; |
|
| 497 | ||
| 498 | foreach ($message['custom_fields']['above_signature'] as $custom) |
|
| 499 | echo ' |
|
| 500 | <li class="custom ', $custom['col_name'] ,'">', $custom['value'], '</li>'; |
|
| 501 | ||
| 502 | echo ' |
|
| 503 | </ul> |
|
| 504 | </div>'; |
|
| 505 | } |
|
| 506 | ||
| 507 | // Show the member's signature? |
|
| 508 | if (!empty($message['member']['signature']) && empty($options['show_no_signatures']) && $context['signature_enabled']) |
|
| @@ 515-528 (lines=14) @@ | ||
| 512 | </div>'; |
|
| 513 | ||
| 514 | // Are there any custom profile fields for below the signature? |
|
| 515 | if (!empty($message['custom_fields']['below_signature'])) |
|
| 516 | { |
|
| 517 | echo ' |
|
| 518 | <div class="custom_fields_below_signature"> |
|
| 519 | <ul class="nolist">'; |
|
| 520 | ||
| 521 | foreach ($message['custom_fields']['below_signature'] as $custom) |
|
| 522 | echo ' |
|
| 523 | <li class="custom ', $custom['col_name'] ,'">', $custom['value'], '</li>'; |
|
| 524 | ||
| 525 | echo ' |
|
| 526 | </ul> |
|
| 527 | </div>'; |
|
| 528 | } |
|
| 529 | ||
| 530 | // Add an extra line at the bottom if we have labels enabled. |
|
| 531 | if ($context['folder'] != 'sent' && !empty($context['currently_using_labels']) && $context['display_mode'] != 2) |
|
| @@ 487-500 (lines=14) @@ | ||
| 484 | <div class="poster">'; |
|
| 485 | ||
| 486 | // Are there any custom fields above the member name? |
|
| 487 | if (!empty($message['custom_fields']['above_member'])) |
|
| 488 | { |
|
| 489 | echo ' |
|
| 490 | <div class="custom_fields_above_member"> |
|
| 491 | <ul class="nolist">'; |
|
| 492 | ||
| 493 | foreach ($message['custom_fields']['above_member'] as $custom) |
|
| 494 | echo ' |
|
| 495 | <li class="custom ', $custom['col_name'], '">', $custom['value'], '</li>'; |
|
| 496 | ||
| 497 | echo ' |
|
| 498 | </ul> |
|
| 499 | </div>'; |
|
| 500 | } |
|
| 501 | ||
| 502 | echo ' |
|
| 503 | <h4>'; |
|
| @@ 511-514 (lines=4) @@ | ||
| 508 | ', $context['can_send_pm'] ? '<a href="' . $message['member']['online']['href'] . '" title="' . $message['member']['online']['label'] . '">' : '', '<span class="' . ($message['member']['online']['is_online'] == 1 ? 'on' : 'off') . '" title="' . $message['member']['online']['text'] . '"></span>', $context['can_send_pm'] ? '</a>' : ''; |
|
| 509 | ||
| 510 | // Custom fields BEFORE the username? |
|
| 511 | if (!empty($message['custom_fields']['before_member'])) |
|
| 512 | foreach ($message['custom_fields']['before_member'] as $custom) |
|
| 513 | echo ' |
|
| 514 | <span class="custom ', $custom['col_name'], '">', $custom['value'], '</span>'; |
|
| 515 | ||
| 516 | // Show a link to the member's profile. |
|
| 517 | echo ' |
|
| @@ 521-524 (lines=4) @@ | ||
| 518 | ', $message['member']['link']; |
|
| 519 | ||
| 520 | // Custom fields AFTER the username? |
|
| 521 | if (!empty($message['custom_fields']['after_member'])) |
|
| 522 | foreach ($message['custom_fields']['after_member'] as $custom) |
|
| 523 | echo ' |
|
| 524 | <span class="custom ', $custom['col_name'], '">', $custom['value'], '</span>'; |
|
| 525 | ||
| 526 | // Begin display of user info |
|
| 527 | echo ' |
|
| @@ 539-542 (lines=4) @@ | ||
| 536 | </li>'; |
|
| 537 | ||
| 538 | // Are there any custom fields below the avatar? |
|
| 539 | if (!empty($message['custom_fields']['below_avatar'])) |
|
| 540 | foreach ($message['custom_fields']['below_avatar'] as $custom) |
|
| 541 | echo ' |
|
| 542 | <li class="custom ', $custom['col_name'], '">', $custom['value'], '</li>'; |
|
| 543 | ||
| 544 | // Show the post group icons, but not for guests. |
|
| 545 | if (!$message['member']['is_guest']) |
|
| @@ 578-591 (lines=14) @@ | ||
| 575 | <li class="blurb">', $message['member']['blurb'], '</li>'; |
|
| 576 | ||
| 577 | // Any custom fields to show as icons? |
|
| 578 | if (!empty($message['custom_fields']['icons'])) |
|
| 579 | { |
|
| 580 | echo ' |
|
| 581 | <li class="im_icons"> |
|
| 582 | <ol>'; |
|
| 583 | ||
| 584 | foreach ($message['custom_fields']['icons'] as $custom) |
|
| 585 | echo ' |
|
| 586 | <li class="custom ', $custom['col_name'], '">', $custom['value'], '</li>'; |
|
| 587 | ||
| 588 | echo ' |
|
| 589 | </ol> |
|
| 590 | </li>'; |
|
| 591 | } |
|
| 592 | ||
| 593 | // Show the website and email address buttons. |
|
| 594 | if ($message['member']['show_profile_buttons']) |
|
| @@ 621-624 (lines=4) @@ | ||
| 618 | } |
|
| 619 | ||
| 620 | // Any custom fields for standard placement? |
|
| 621 | if (!empty($message['custom_fields']['standard'])) |
|
| 622 | foreach ($message['custom_fields']['standard'] as $custom) |
|
| 623 | echo ' |
|
| 624 | <li class="custom ', $custom['col_name'], '">', $custom['title'], ': ', $custom['value'], '</li>'; |
|
| 625 | } |
|
| 626 | // Otherwise, show the guest's email. |
|
| 627 | elseif (!empty($message['member']['email']) && $message['member']['show_email']) |
|
| @@ 668-671 (lines=4) @@ | ||
| 665 | </li>'; |
|
| 666 | ||
| 667 | // Are there any custom fields to show at the bottom of the poster info? |
|
| 668 | if (!empty($message['custom_fields']['bottom_poster'])) |
|
| 669 | foreach ($message['custom_fields']['bottom_poster'] as $custom) |
|
| 670 | echo ' |
|
| 671 | <li class="custom ', $custom['col_name'], '">', $custom['value'], '</li>'; |
|
| 672 | ||
| 673 | // Poster info ends. |
|
| 674 | echo ' |
|
| @@ 965-978 (lines=14) @@ | ||
| 962 | <div class="moderatorbar">'; |
|
| 963 | ||
| 964 | // Are there any custom profile fields for above the signature? |
|
| 965 | if (!empty($message['custom_fields']['above_signature'])) |
|
| 966 | { |
|
| 967 | echo ' |
|
| 968 | <div class="custom_fields_above_signature"> |
|
| 969 | <ul class="nolist">'; |
|
| 970 | ||
| 971 | foreach ($message['custom_fields']['above_signature'] as $custom) |
|
| 972 | echo ' |
|
| 973 | <li class="custom ', $custom['col_name'], '">', $custom['value'], '</li>'; |
|
| 974 | ||
| 975 | echo ' |
|
| 976 | </ul> |
|
| 977 | </div>'; |
|
| 978 | } |
|
| 979 | ||
| 980 | // Show the member's signature? |
|
| 981 | if (!empty($message['member']['signature']) && empty($options['show_no_signatures']) && $context['signature_enabled']) |
|
| @@ 989-1002 (lines=14) @@ | ||
| 986 | ||
| 987 | ||
| 988 | // Are there any custom profile fields for below the signature? |
|
| 989 | if (!empty($message['custom_fields']['below_signature'])) |
|
| 990 | { |
|
| 991 | echo ' |
|
| 992 | <div class="custom_fields_below_signature"> |
|
| 993 | <ul class="nolist">'; |
|
| 994 | ||
| 995 | foreach ($message['custom_fields']['below_signature'] as $custom) |
|
| 996 | echo ' |
|
| 997 | <li class="custom ', $custom['col_name'], '">', $custom['value'], '</li>'; |
|
| 998 | ||
| 999 | echo ' |
|
| 1000 | </ul> |
|
| 1001 | </div>'; |
|
| 1002 | } |
|
| 1003 | ||
| 1004 | echo ' |
|
| 1005 | </div><!-- .moderatorbar --> |
|