|
@@ 2812-2821 (lines=10) @@
|
| 2809 |
|
); |
| 2810 |
|
} |
| 2811 |
|
// If a moderator exists for this board, add that moderator for all children too. |
| 2812 |
|
if (!empty($row['id_moderator'])) |
| 2813 |
|
foreach ($boards as $id => $dummy) |
| 2814 |
|
{ |
| 2815 |
|
$boards[$id]['moderators'][$row['id_moderator']] = array( |
| 2816 |
|
'id' => $row['id_moderator'], |
| 2817 |
|
'name' => $row['real_name'], |
| 2818 |
|
'href' => $scripturl . '?action=profile;u=' . $row['id_moderator'], |
| 2819 |
|
'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row['id_moderator'] . '">' . $row['real_name'] . '</a>' |
| 2820 |
|
); |
| 2821 |
|
} |
| 2822 |
|
|
| 2823 |
|
// If a moderator group exists for this board, add that moderator group for all children too |
| 2824 |
|
if (!empty($row['id_moderator_group'])) |
|
@@ 2824-2833 (lines=10) @@
|
| 2821 |
|
} |
| 2822 |
|
|
| 2823 |
|
// If a moderator group exists for this board, add that moderator group for all children too |
| 2824 |
|
if (!empty($row['id_moderator_group'])) |
| 2825 |
|
foreach ($boards as $id => $dummy) |
| 2826 |
|
{ |
| 2827 |
|
$boards[$id]['moderator_groups'][$row['id_moderator_group']] = array( |
| 2828 |
|
'id' => $row['id_moderator_group'], |
| 2829 |
|
'name' => $row['group_name'], |
| 2830 |
|
'href' => $scripturl . '?action=groups;sa=members;group=' . $row['id_moderator_group'], |
| 2831 |
|
'link' => '<a href="' . $scripturl . '?action=groups;sa=members;group=' . $row['id_moderator_group'] . '">' . $row['group_name'] . '</a>' |
| 2832 |
|
); |
| 2833 |
|
} |
| 2834 |
|
} |
| 2835 |
|
$smcFunc['db_free_result']($result); |
| 2836 |
|
} |