PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/upload/templates/default/report_form_body.tpl

http://torrentpier2.googlecode.com/
Smarty Template | 72 lines | 70 code | 2 blank | 0 comment | 0 complexity | 06ec208946845524ed7e45f115c60e7f MD5 | raw file
 1<form action="{S_REPORT_ACTION}" method="post">
 2	<table cellpadding="2" cellspacing="2" border="0" width="100%" align="center">
 3		<tr> 
 4			<td class="nav"><a href="{U_INDEX}" class="nav">{T_INDEX}</a></td>
 5		</tr>
 6	</table>
 7	
 8	<!-- BEGIN switch_report_errors -->
 9	<table cellpadding="4" cellspacing="1" border="0" width="80%" align="center" class="forumline">
10		<tr> 
11			<td class="row1" align="center"><span class="gen">
12				<!-- BEGIN report_errors -->
13				{switch_report_errors.report_errors.MESSAGE}<br />
14				<!-- END report_errors -->
15			</span></td>
16		</tr>
17	</table>
18	<br />
19	<!-- END switch_report_errors -->
20	
21	<table cellpadding="4" cellspacing="1" border="0" width="80%" align="center" class="forumline">
22		<tr> 
23			<th class="thHead" colspan="2">{L_WRITE_REPORT}</th>
24		</tr>
25		<tr>
26			<td class="row3" colspan="2"><span class="gen">{L_WRITE_REPORT_EXPLAIN}</span></td>
27		</tr>
28		<!-- BEGIN switch_report_subject -->
29		<tr>
30			<td class="row1" width="25%"><span class="genmed">{L_REPORT_SUBJECT}:</span></td>
31			<td class="row2"><span class="genmed">
32				<!-- BEGIN switch_url -->
33				<a href="{U_REPORT_SUBJECT}" class="genmed">
34				<!-- END switch_url -->
35					{REPORT_SUBJECT}
36				<!-- BEGIN switch_url -->
37				</a>
38				<!-- END switch_url -->
39			</span></td>
40		</tr>
41		<!-- END switch_report_subject -->
42		<!-- BEGIN switch_report_reasons -->
43		<tr>
44			<td class="row1" width="25%"><label for="reasons" class="genmed">{L_REASON}:</label></td>
45			<td class="row2">
46				<select name="reason" id="reasons">
47					<!-- BEGIN report_reasons -->
48					<option value="{switch_report_reasons.report_reasons.ID}"{switch_report_reasons.report_reasons.CHECKED}>{switch_report_reasons.report_reasons.DESC}</option>
49					<!-- END report_reasons -->
50				</select>
51			</td>
52		</tr>
53		<!-- END switch_report_reasons -->
54		<!-- BEGIN switch_report_title -->
55		<tr>
56			<td class="row1" width="25%"><label for="title" class="genmed">{L_POST_SUBJECT}:</label></td>
57			<td class="row2"><input type="text" class="post" name="title" id="title" size="50" maxlength="255" style="width: 100%" value="{REPORT_TITLE}" /></td>
58		</tr>
59		<!-- END switch_report_title -->
60		<tr>
61			<td class="row1" width="25%" valign="top"><label for="message" class="genmed">{L_MESSAGE}:</label></td>
62			<td class="row2"><textarea class="post" name="message" id="message" rows="6" cols="70" style="width: 100%">{REPORT_DESC}</textarea></td>
63		</tr>
64		<tr>
65			<td class="catBottom" colspan="2" align="center">
66				<input type="submit" name="submit" class="mainoption" value="{L_SUBMIT}" />
67				<input type="submit" name="cancel" class="liteoption" value="{L_CANCEL}" />
68			</td>
69		</tr>
70	</table>
71	{S_HIDDEN_FIELDS}
72</form>