<!--
	0 :  	['0'] 	['field_conf_id']  	=	 1
	1 : 	['0'] 	['project_id'] 	=	17
	2 : 	['0'] 	['field_type_id'] 	=	2
	3 : 	['0'] 	['field_name'] 	=	title
	4 : 	['0'] 	['title'] 	=	Title
	5 : 	['0'] 	['description'] 	=	The title of the file.
	6 : 	['0'] 	['edit_order'] 	=	13
	7 : 	['0'] 	['list_order'] 	=	2
	8 : 	['0'] 	['default_value'] 	=	
	9 : 	['0'] 	['properties'] 	=	maxlen=255;
	10 : 	['0'] 	['created_by'] 	=	38
	11 : 	['0'] 	['created_date'] 	=	0
	12 : 	['0'] 	['last_modified_by'] 	=	38
	13 : 	['0'] 	['last_modified_date'] 	=	0
	14 : 	['0'] 	['field_type_title'] 	=	String
	15 : 	['0'] 	['field_type_description'] 	=	Accepts either a length limited or unlimited string
	16 : 	['0'] 	['_username1'] 	=	david.han-sze-chuen@airliquide.com
	17 : 	['0'] 	['_username2'] 	=	david.han-sze-chuen@airliquide.com
-->

<table border="0" width="100%">
  <tr>
    <td valign="top">
      <b>&nbsp;{$TITLE.add_new_field_to} <i>{$project_name}</i></b>
	  <hr size="1">
		<form method=post action={$validate_edit_url} >
			<table>
			<tr>
				<!-- Field type title -->
				{$STRING.type_of_field} : {$data.field_type_title} 
					{if $isSelectBox}
						&nbsp;&nbsp;-&nbsp;&nbsp;<a href={$editSelectBox}>{$STRING.editSelectBox}</a>
					{/if}
			</tr>
			<tr>
				<td>
					<!-- Created by : _username1 -->
					{$STRING.FIELD_CONF.Title.created_by} : {$data._username1} <br>
					<!-- Created date -->
					{$STRING.FIELD_CONF.Title.created_date} : {$data.created_date|date:DATE_FORMAT} <br>
				</td>
				<td>
					<!-- Last modified by : _username2-->
					{$STRING.FIELD_CONF.Title.last_modified_by} : {$data._username2} <br>
					<!-- Last modified date -->
					{$STRING.FIELD_CONF.Title.last_modified_date} : {$data.last_modified_date|date:DATE_FORMAT} <br>
				</td>
			</tr>
			<tr>
				<td>
					<hr>
				</td>
				<td>
					<hr>
				</td>
			</tr>
			<tr>				
				<td>
					<!-- Title -->
					{$STRING.FIELD_CONF.Title.title} : {$input.title} <br>
					<!-- Description -->
					{$STRING.FIELD_CONF.Title.description} : {$input.description}
				</td>
				<td>
					<!-- Edit order -->
					{$STRING.FIELD_CONF.Title.edit_order} : {$input.edit_order} <br>
					<!-- List Order -->
					{$STRING.FIELD_CONF.Title.list_order} : {$input.list_order}
				</td>
			</tr>
			<tr>
				<td>
					<!-- Default Value -->
					{$STRING.FIELD_CONF.Title.default_value} : {$input.default_value} <br>
					
				</td>
				<td>
					<table>
						<tr>
							<td>
								<!-- Properties -->
								{$STRING.FIELD_CONF.Title.properties} :
							</td>
						<tr>
					<!--
					'maxlen' => 'sp[maxlen]]', 
				'int_size' => 'sp[int_size]', 
				'decimal_size' => 'sp[decimal_size]', 
				'read_only' =>'sp[read_only]', 
				'unique' => 'sp[unique]', 
				'internal_system_use' => 'sp[internal_system_use]', 
				'highlight_url' => 'sp[highlight_url]', 
				'time_type' => 'sp[time_type]'
				-->
				
					{if $input.properties.internal_system_use}
						{$input.properties.internal_system_use}<br>
					{/if}
					{if $input.properties.maxlen}
						{$input.properties.maxlen}<br>
					{/if}
					{if $input.properties.int_size}
						{$input.properties.int_size}<br>
					{/if}
					{if $input.properties.decimal_size}
						{$input.properties.decimal_size}<br>
					{/if}
					{if $input.properties.read_only}
						{$input.properties.read_only}<br>
					{/if}
					{if $input.properties.unique}
						{$input.properties.unique}<br>
					{/if}
					{if $input.properties.highlight_url}
						{$input.properties.highlight_url}<br>
					{/if}
					{if $input.properties.time_type}
						{$input.properties.time_type}<br>
					{/if}
					</table>
				</td>
			</tr>	
			<tr>
				<td>
					<input type=submit value=OK>
				</td>
				<td>	
					<INPUT TYPE="Button" Value="{$STRING.PreviousPage}" OnClick="history.go(-1)">
				</td>
			</tr>
			</table>			
			</form>			
    </td>
	</tr>
</table>
