Files
Testing/templates/user_report.tpl
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

92 lines
2.5 KiB
Smarty

{* INCLUDE HEADER CODE *}
{include file="header_modal.tpl"}
{literal}
<style>
/*.modal-content{background: #cc0000 url(/images/bg-body.gif) repeat-x top left!important;}*/
</style>
<script src="/include/js/jquery.form.js"></script>
<script>
function checkreport()
{
if(jQuery("#report_details").val()==""){alert("Please give a description of the problem"); return false;}
}
jQuery(document).ready(function() {
jQuery('#form1').ajaxForm({
success: function(){
jQuery('#form_div').hide();
jQuery('#success_div').show();
setTimeout(closemodal, 5000);
}
});
});</script>
{/literal}
{* $Id: user_report.tpl 8 2009-01-11 06:02:53Z john $ *}
{* SHOW CONFIRMATION OF REPORT *}
{if $submitted == 1}
{* SHOW SEND REPORT FORM *}
{else}
<div id="success_div" style='display: none;'>{lang_print id=866}</div>
<div style='text-align:left; padding-left: 10px;' id="form_div">
{lang_print id=858}
<br />
<br />
<form action='user_report.php' method='POST' id="form1" onsubmit="return checkreport();">
<div><b>{lang_print id=859}</b></div>
<table cellpadding='0' cellspacing='0'>
<tr>
<td>&nbsp;<input type='radio' name='report_reason' id='report_type1' value='1' checked='checked'></td>
<td><label for='report_type1'>{lang_print id=860}</td>
</tr>
<tr>
<td>&nbsp;<input type='radio' name='report_reason' id='report_type2' value='2'></td>
<td><label for='report_type2'>{lang_print id=861}</td>
</tr>
<tr>
<td>&nbsp;<input type='radio' name='report_reason' id='report_type3' value='3'></td>
<td><label for='report_type3'>{lang_print id=862}</td>
</tr>
<tr>
<td>&nbsp;<input type='radio' name='report_reason' id='report_type0' value='0'></td>
<td><label for='report_type0'>{lang_print id=863}</td>
</tr>
</table>
<br>
<div><b>{lang_print id=864}</b></div>
<textarea class="form-control" name='report_details' id='report_details' rows='5' cols='50' minlength="20"></textarea>
<br><br>
<table cellpadding='0' cellspacing='0'>
<tr>
<td>
<input type='submit' class='button' value='{lang_print id=865}'>&nbsp;
<input type='hidden' name='task' value='dosend'>
<input type='hidden' name='return_url' value='{$return_url}'>
</form>
</td>
<td>
<input type='button' class='button' value='{lang_print id=39}' onClick='closemodal();'>
</td>
</tr>
</table>
</div>
{/if}
</body>
</html>