|
@@ 2832-2841 (lines=10) @@
|
| 2829 |
|
); |
| 2830 |
|
} |
| 2831 |
|
// If a moderator exists for this board, add that moderator for all children too. |
| 2832 |
|
if (!empty($row['id_moderator'])) |
| 2833 |
|
foreach ($boards as $id => $dummy) |
| 2834 |
|
{ |
| 2835 |
|
$boards[$id]['moderators'][$row['id_moderator']] = array( |
| 2836 |
|
'id' => $row['id_moderator'], |
| 2837 |
|
'name' => $row['real_name'], |
| 2838 |
|
'href' => $scripturl . '?action=profile;u=' . $row['id_moderator'], |
| 2839 |
|
'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row['id_moderator'] . '">' . $row['real_name'] . '</a>' |
| 2840 |
|
); |
| 2841 |
|
} |
| 2842 |
|
|
| 2843 |
|
// If a moderator group exists for this board, add that moderator group for all children too |
| 2844 |
|
if (!empty($row['id_moderator_group'])) |
|
@@ 2844-2853 (lines=10) @@
|
| 2841 |
|
} |
| 2842 |
|
|
| 2843 |
|
// If a moderator group exists for this board, add that moderator group for all children too |
| 2844 |
|
if (!empty($row['id_moderator_group'])) |
| 2845 |
|
foreach ($boards as $id => $dummy) |
| 2846 |
|
{ |
| 2847 |
|
$boards[$id]['moderator_groups'][$row['id_moderator_group']] = array( |
| 2848 |
|
'id' => $row['id_moderator_group'], |
| 2849 |
|
'name' => $row['group_name'], |
| 2850 |
|
'href' => $scripturl . '?action=groups;sa=members;group=' . $row['id_moderator_group'], |
| 2851 |
|
'link' => '<a href="' . $scripturl . '?action=groups;sa=members;group=' . $row['id_moderator_group'] . '">' . $row['group_name'] . '</a>' |
| 2852 |
|
); |
| 2853 |
|
} |
| 2854 |
|
} |
| 2855 |
|
$smcFunc['db_free_result']($result); |
| 2856 |
|
} |