#PBtmpl0000000000000210
#create
#namespace:Collaboration/PostForm
#url:request-tracker-template
#title:Request Tracker
#menuTitle:Request Tracker
<a name="id<tmpl_var assetId>" id="id<tmpl_var assetId>"></a>

<tmpl_if preview.title>
	<p><b><tmpl_var preview.title></b></p>
</tmpl_if>

<tmpl_if preview.content>
	<p><tmpl_var preview.content></p>
</tmpl_if>

<h2><tmpl_var message.header.label></h2>

<tmpl_var form.header>
<table class="defaultPostForm">
	<tmpl_if isNewPost>
		<tmpl_if user.isVisitor>
			<tr>
				<td><tmpl_var visitorName.label></td>
				<td><tmpl_var visitorName.form></td>
			</tr>
		</tmpl_if>
	</tmpl_if>
	<tr>
		<td><tmpl_var subject.label></td>
		<td><tmpl_var title.form></td>
	</tr>
	<tr>
		<td><tmpl_var severity.label></td>
		<td><select id="myCustomField1" name="userDefined1">
<option value="<tmpl_var cosmetic.label>"><tmpl_var cosmetic.label></option>
<option value="<tmpl_var minor.label>"><tmpl_var minor.label></option>
<option value="<tmpl_var critical.label>"><tmpl_var critical.label></option>
<option value="<tmpl_var fatal.label>"><tmpl_var fatal.label></option>
</select>
<script type="text/javascript">
  var value = '<tmpl_var name="userDefined1" escape="JS">';
  var field = document.getElementById("myCustomField1");
  for (var i = 0; i < field.options.length; i++) {
    if (field.options[i].value == value)  {
       field.selectedIndex = i;
    }  
  }
</script>
</td>
	</tr>
	<tr>
		<td><tmpl_var description.label></td>
		<td><tmpl_var content.form></td>
	</tr>
	<tmpl_if attachment.form>
		<tr>
			<td><tmpl_var attachment.label></td>
			<td><tmpl_var attachment.form></td>
		</tr>
	</tmpl_if>
<tmpl_if user.isModerator><tmpl_if karmaIsEnabled><tmpl_if isThread>
				<tr>
					<td><tmpl_var karmaScale.label></td>
					<td><tmpl_var karmaScale.form></td>
				</tr>
</tmpl_if></tmpl_if></tmpl_if>
	<tmpl_if isNewPost>
		<tmpl_unless user.isVisitor>
			<tr>
				<td><tmpl_var subscribe.label></td>
				<td><tmpl_var subscribe.form></td>
			</tr>
		</tmpl_unless>
		<tmpl_if isNewThread>
			<tmpl_if user.isModerator>
				<tr>
					<td><tmpl_var lock.label></td>
					<td><tmpl_var lock.form></td>
				</tr>
				<tr>
					<td><tmpl_var stick.label></td>
					<td><tmpl_var sticky.form></td>
				</tr>
			</tmpl_if>
		</tmpl_if>
	</tmpl_if>
	<tr>
		<td></td>
		<td><tmpl_if usePreview><tmpl_var form.preview></tmpl_if><tmpl_var form.submit></td>
	</tr>
</table>
<tmpl_var form.footer>

<tmpl_if isReply>
	<p><b><tmpl_var reply.title></b></p>
	<tmpl_var reply.content>
</tmpl_if>
~~~
<style type="text/css">
table.defaultPostForm td
{
	font-family:arial;
	font-size:9pt;
}
h2
{
	font-family:arial;
}
</style>

