| @@ 318-320 (lines=3) @@ | ||
| 315 | echo ' |
|
| 316 | <select name="boardprofile[', $board['id'], ']">'; |
|
| 317 | ||
| 318 | foreach ($context['profiles'] as $id => $profile) |
|
| 319 | echo ' |
|
| 320 | <option value="', $id, '"', $id == $board['profile'] ? ' selected' : '', '>', $profile['name'], '</option>'; |
|
| 321 | ||
| 322 | echo ' |
|
| 323 | </select>'; |
|
| @@ 797-800 (lines=4) @@ | ||
| 794 | ', $txt['permissions_post_moderation_select'], ': |
|
| 795 | <select name="pid" onchange="document.forms.postmodForm.submit();">'; |
|
| 796 | ||
| 797 | foreach ($context['profiles'] as $profile) |
|
| 798 | if ($profile['can_modify']) |
|
| 799 | echo ' |
|
| 800 | <option value="', $profile['id'], '"', $profile['id'] == $context['current_profile'] ? ' selected' : '', '>', $profile['name'], '</option>'; |
|
| 801 | ||
| 802 | echo ' |
|
| 803 | </select> |
|
| @@ 355-357 (lines=3) @@ | ||
| 352 | echo ' |
|
| 353 | <option value="-1">[', $txt['permission_profile_inherit'], ']</option>'; |
|
| 354 | ||
| 355 | foreach ($context['profiles'] as $id => $profile) |
|
| 356 | echo ' |
|
| 357 | <option value="', $id, '"', $id == $context['board']['profile'] ? ' selected' : '', '>', $profile['name'], '</option>'; |
|
| 358 | ||
| 359 | echo ' |
|
| 360 | </select> |
|