@@ 671-680 (lines=10) @@ | ||
668 | { |
|
669 | $titled = false; |
|
670 | foreach ($types['topic'] as $id => $board) |
|
671 | foreach ($board['lines'] as $topic) |
|
672 | if (in_array($mid, $topic['members'])) |
|
673 | { |
|
674 | if (!$titled) |
|
675 | { |
|
676 | $email['body'] .= "\n" . $langtxt[$lang]['new_topics'] . ':' . "\n" . '-----------------------------------------------'; |
|
677 | $titled = true; |
|
678 | } |
|
679 | $email['body'] .= "\n" . sprintf($langtxt[$lang]['topic_lines'], $topic['subject'], $board['name']); |
|
680 | } |
|
681 | if ($titled) |
|
682 | $email['body'] .= "\n"; |
|
683 | } |
|
@@ 715-724 (lines=10) @@ | ||
712 | continue; |
|
713 | ||
714 | foreach ($type as $id => $board) |
|
715 | foreach ($board['lines'] as $topic) |
|
716 | if (in_array($mid, $topic['members'])) |
|
717 | { |
|
718 | if (!$titled) |
|
719 | { |
|
720 | $email['body'] .= "\n" . $langtxt[$lang]['mod_actions'] . ':' . "\n" . '-----------------------------------------------'; |
|
721 | $titled = true; |
|
722 | } |
|
723 | $email['body'] .= "\n" . sprintf($langtxt[$lang][$note_type], $topic['subject']); |
|
724 | } |
|
725 | } |
|
726 | } |
|
727 | if ($titled) |