|
@@ 2720-2729 (lines=10) @@
|
| 2717 |
|
); |
| 2718 |
|
} |
| 2719 |
|
// If a moderator exists for this board, add that moderator for all children too. |
| 2720 |
|
if (!empty($row['id_moderator'])) |
| 2721 |
|
foreach ($boards as $id => $dummy) |
| 2722 |
|
{ |
| 2723 |
|
$boards[$id]['moderators'][$row['id_moderator']] = array( |
| 2724 |
|
'id' => $row['id_moderator'], |
| 2725 |
|
'name' => $row['real_name'], |
| 2726 |
|
'href' => $scripturl . '?action=profile;u=' . $row['id_moderator'], |
| 2727 |
|
'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row['id_moderator'] . '">' . $row['real_name'] . '</a>' |
| 2728 |
|
); |
| 2729 |
|
} |
| 2730 |
|
|
| 2731 |
|
// If a moderator group exists for this board, add that moderator group for all children too |
| 2732 |
|
if (!empty($row['id_moderator_group'])) |
|
@@ 2732-2741 (lines=10) @@
|
| 2729 |
|
} |
| 2730 |
|
|
| 2731 |
|
// If a moderator group exists for this board, add that moderator group for all children too |
| 2732 |
|
if (!empty($row['id_moderator_group'])) |
| 2733 |
|
foreach ($boards as $id => $dummy) |
| 2734 |
|
{ |
| 2735 |
|
$boards[$id]['moderator_groups'][$row['id_moderator_group']] = array( |
| 2736 |
|
'id' => $row['id_moderator_group'], |
| 2737 |
|
'name' => $row['group_name'], |
| 2738 |
|
'href' => $scripturl . '?action=groups;sa=members;group=' . $row['id_moderator_group'], |
| 2739 |
|
'link' => '<a href="' . $scripturl . '?action=groups;sa=members;group=' . $row['id_moderator_group'] . '">' . $row['group_name'] . '</a>' |
| 2740 |
|
); |
| 2741 |
|
} |
| 2742 |
|
} |
| 2743 |
|
$smcFunc['db_free_result']($result); |
| 2744 |
|
} |