Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="modal">
- <div style="overflow-y: auto; max-height: 400px;" class="modal_{$id}">
- <form action="report.php" method="post" class="reportData_{$id}" onsubmit="return Report.submitReport({$id});">
- <input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
- <input type="hidden" name="action" value="do_report" />
- <input type="hidden" name="type" value="{$report_type}" />
- <input type="hidden" name="pid" value="{$id}" />
- <input type="hidden" name="no_modal" value="1" />
- <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
- <tr>
- <td class="thead" colspan="2"><strong>{$report_title}</strong></td>
- </tr>
- <tr>
- <td class="tcat" colspan="2">{$lang->report_to_mod}</td>
- </tr>
- {$report_reasons}
- </table>
- </form>
- <script type="text/javascript">
- <!--
- if($("#report_reason option:selected").attr('data-extra') != 1)
- {
- $("#reason").hide();
- }
- $("#report_reason").change(function()
- {
- if($(this).find("option:selected").attr('data-extra') == 1)
- {
- $("#reason").show();
- return;
- }
- $("#reason").hide();
- });
- // -->
- </script>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement