Zeile 2 | Zeile 2 |
---|
<div style="overflow-y: auto; max-height: 400px;" class="modal_{$id}">
|
<div style="overflow-y: auto; max-height: 400px;" class="modal_{$id}">
|
<form action="report.php" method="post" class="reportData_{$id}" onsubmit="javascript: return Report.submitReport({$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="my_post_key" value="{$mybb->post_code}" /> <input type="hidden" name="action" value="do_report" /> <input type="hidden" name="type" value="{$report_type}" />
|
Zeile 8 | Zeile 8 |
---|
<input type="hidden" name="no_modal" value="1" /> <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder"> <tr>
|
<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 class="thead" colspan="2"><strong>{$report_title}</strong></td>
|
</tr> <tr> <td class="tcat" colspan="2">{$lang->report_to_mod}</td>
| </tr> <tr> <td class="tcat" colspan="2">{$lang->report_to_mod}</td>
|
Zeile 19 | Zeile 19 |
---|
<script type="text/javascript"> <!--
|
<script type="text/javascript"> <!--
|
if($("#report_reason option:selected").val() != 'other')
| if($("#report_reason option:selected").attr('data-extra') != 1)
|
{ $("#reason").hide(); }
|
{ $("#reason").hide(); }
|
$("#report_reason").change(function()
| $("#report_reason").on('change', function()
|
{
|
{
|
if($(this).find("option:selected").val() == 'other')
| if($(this).find("option:selected").attr('data-extra') == 1)
|
{ $("#reason").show(); return;
| { $("#reason").show(); return;
|