87 lines
2.4 KiB
Smarty
87 lines
2.4 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>jQuery(document).ready(function() {
|
|
|
|
jQuery('#form1').ajaxForm({
|
|
success: function(){
|
|
jQuery('#form_div').hide();
|
|
jQuery('#success_div').show();
|
|
setTimeout(closemodal, 5000);
|
|
|
|
}
|
|
});
|
|
jQuery('#form2').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;'>Added to list</div>
|
|
<div style='text-align:left; padding-left: 10px;' id="form_div">
|
|
<form action='user_list.php' method='POST' id="form2"><input type="hidden" name="type" value="{$type}">
|
|
<input type="hidden" name="ownerid" value="{$ownerid}">
|
|
<input type="hidden" name="objectid" value="{$objectid}">
|
|
<input type="hidden" name="favorites" value="addto">
|
|
Choose a list to add this to from the dropdown or <input type='submit' class='button' value='add it to your favorites' style="color:#fa3200; background:none; border:0;"><input type='hidden' name='task' value='dosend'>
|
|
<input type='hidden' name='return_url' value='{$return_url}'></form>
|
|
<br />
|
|
<br />
|
|
|
|
<form action='user_list.php' method='POST' id="form1">
|
|
|
|
<div><strong>Add to list: </strong><select name="list">
|
|
<option value=""></option>
|
|
{php}batelistoptions();{/php}
|
|
</select>
|
|
<input type="hidden" name="type" value="{$type}">
|
|
<input type="hidden" name="ownerid" value="{$ownerid}">
|
|
<input type="hidden" name="objectid" value="{$objectid}">
|
|
</div>
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
|
|
|
|
|
<table cellpadding='0' cellspacing='0'>
|
|
<tr>
|
|
<td>
|
|
<input type='submit' class='button' value='Add to List'>
|
|
<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> |