<!-- INCLUDE include_header.html --> 

<!-- IF ISERROR="true" -->
<br><br>
<center>
	<div class="table_with_border_second ErrorMsg" style="width:80%">
		<div class="PriorityError">{LN_GEN_ERRORDETAILS}</div>
		<p>{ERROR_MSG}</p>
		</div>
	<br><br>
	<a href="javascript:history.back();" target="_top">{LN_GEN_ERRORRETURNPREV}</a>
</center>
<br><br>
<!-- ENDIF ISERROR="true" -->

<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center" class="table_with_border">
<tr>
	<td colspan="3" class="title" nowrap><B>{LN_FIELDS_CENTER}</B></td>
</tr>
	<tr>
		<td align="center">
		<br><br>

<!-- IF LISTFIELDS="true" -->
		<table border="0" cellpadding="2" cellspacing="1" bgcolor="#DDDDDD" width="80%" class="with_border_alternate">
		<tr>
			<td align="center" width="20%" class="cellmenu1"><b>{LN_FIELDS_NAME}</b></td>
			<td align="center" width="20%" class="cellmenu1"><b>{LN_FIELDS_ID}</b></td>
			<td align="center" width="40%" class="cellmenu1"><b>{LN_FIELDS_DEFINE}</b></td>
			<td align="center" width="20%" class="cellmenu1"><b>{LN_GEN_ACTIONS}</b></td>
		</tr>
		<!-- BEGIN FIELDS -->
		<tr>
			<td align="left" class="{cssclass}"><a href="{BASEPATH}admin/fields.php?op=edit&id={FieldID}">{FieldCaption}</a></td>
			<td align="left" class="{cssclass}"><a href="{BASEPATH}admin/fields.php?op=edit&id={FieldID}">{FieldID}</a></td>
			<td align="left" class="{cssclass}">{FieldDefine}</td>
			<td align="center" class="{cssclass}">
				&nbsp;<a href="{BASEPATH}admin/fields.php?op=edit&id={FieldID}"><img src="{MENU_EDIT}" width="16" title="{LN_FIELDS_EDIT}"></a>

				<!-- IF AllowDelete="true" -->
				&nbsp;<a href="{BASEPATH}admin/fields.php?op=delete&id={FieldID}"><img src="{DELETEIMG}" width="16" title="{LN_FIELDS_DELETE}"></a>
				<!-- ENDIF AllowDelete="true" -->
				<!-- IF AllowDelete!="true" -->
				&nbsp;<img src="{MENU_DELETE_DISABLED}" width="16" title="{LN_GEN_DISABLED}">
				<!-- ENDIF AllowDelete!="true" -->
			</td>
		</tr>
		<!-- END FIELDS -->
		<tr>
			<td align="center" colspan="5" class="line0"><b><a href="{BASEPATH}admin/fields.php?op=add"><img src="{MENU_ADD}" title="{LN_FIELDS_ADD}">&nbsp;{LN_FIELDS_ADD}</a></b></td>
		</tr>
		</table>
<!-- ENDIF LISTFIELDS="true" -->

<!-- IF ISEDITORNEWFIELD="true" -->
		<form action="{BASEPATH}admin/fields.php" method="post">
			<table border="0" cellpadding="1" cellspacing="1" bgcolor="#DDDDDD" width="80%" class="with_border_alternate">
			<tr>
				<td align="center" class="cellmenu1" colspan="2"><b>{LN_FIELDS_ADDEDIT}</b></td>
			</tr>
			<tr>
				<td align="left" class="cellmenu2" width="30%"><b>{LN_FIELDS_ID}</b></td>
				<td align="left" class="line1" width="70%"><input type="text" name="Newid" size="55" maxlength="64" value="{FieldID}" {DisableInternalFields} class="maxwidth"></td>
			</tr>
			<tr>
				<td align="left" class="cellmenu2"><b>{LN_FIELDS_DEFINE}</b></td>
				<td align="left" class="line2"><input type="text" name="NewFieldDefine" size="55" maxlength="255" value="{FieldDefine}"  {DisableInternalFields} class="maxwidth"></td>
			</tr>
			<tr>
				<td align="left" class="cellmenu2"><b>{LN_FIELDS_NAME}</b></td>
				<td align="left" class="line2"><input type="text" name="FieldCaption" size="55" maxlength="255" value="{FieldCaption}" class="maxwidth"></td>
			</tr>
			<tr>
				<td align="left" class="cellmenu2"><b>{LN_FIELDS_SEARCHFIELD}</b></td>
				<td align="left" class="line2"><input type="text" name="SearchField" size="55" maxlength="255" value="{SearchField}" class="maxwidth"></td>
			</tr>
			<tr>
				<td align="left" class="cellmenu2" nowrap><b>{LN_FIELDS_SEARCHONLINE}</b></td>
				<td align="left" class="line1"><input type="checkbox" name="SearchOnline" value="1" {CHECKED_SEARCHONLINE}></td>
			</tr>

			<tr>
				<td align="left" class="cellmenu2" nowrap><b>{LN_FIELDS_TYPE}</b></td>
				<td align="left" class="line1">
					<select id="FieldType" name="NewFieldType" size="1" OnChange="toggleSourceTypeVisibility('FieldType');" {DisableInternalFields} class="maxwidth">
						<!-- BEGIN FILTERTYPES -->
						<option {selected} value="{type}">{DisplayName}</option>
						<!-- END FILTERTYPES -->
					</select>
				</td>
			</tr>
			<tr>
				<td align="left" class="cellmenu2" nowrap><b>{LN_FIELDS_ALIGN}</b></td>
				<td align="left" class="line1">
					<select id="FieldAlign" name="FieldAlign" size="1" OnChange="toggleSourceTypeVisibility('FieldAlign');" class="maxwidth">
						<!-- BEGIN ALIGMENTS -->
						<option {selected} value="{type}">{DisplayName}</option>
						<!-- END ALIGMENTS -->
					</select>
				</td>
			</tr>
			<tr>
				<td align="left" class="cellmenu2"><b>{LN_FIELDS_DEFAULTWIDTH}</b></td>
				<td align="left" class="line2"><input type="text" name="DefaultWidth" size="55" maxlength="255" value="{DefaultWidth}" class="maxwidth"></td>
			</tr>

			<tr>
				<td align="center" colspan="2">
					<input type="submit" value="{FIELD_SENDBUTTON}">
					<input type="hidden" name="op" value="{FIELD_FORMACTION}">

					<input type="hidden" name="id" value="{FieldID}">
					<input type="hidden" name="FieldDefine" value="{FieldDefine}">
					<input type="hidden" name="FieldType" value="{FieldType}">
				</td>
			</tr>
			</table>
		</form>
<!-- ENDIF ISEDITORNEWFIELD="true" -->

		<br><br>

		</td>
	</tr>
</table>

<!-- INCLUDE include_footer.html -->