1
<!-- INCLUDE overall_header.html -->
3
<a name="maincontent"></a>
7
<a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">« {L_BACK}</a>
14
<div class="errorbox">
20
<form id="add_profile_field" method="post" action="{U_ACTION}">
22
<!-- IF S_STEP_ONE -->
25
<legend>{L_TITLE}</legend>
27
<dt><label>{L_FIELD_TYPE}:</label><br /><span>{L_FIELD_TYPE_EXPLAIN}</span></dt>
28
<dd><strong>{FIELD_TYPE}</strong></dd>
30
<!-- IF S_EDIT_MODE -->
32
<dt><label>{L_FIELD_IDENT}:</label><br /><span>{L_FIELD_IDENT_EXPLAIN}</span></dt>
33
<dd><input type="hidden" name="field_ident" value="{FIELD_IDENT}" /><strong>{FIELD_IDENT}</strong></dd>
37
<dt><label for="field_ident">{L_FIELD_IDENT}:</label><br /><span>{L_FIELD_IDENT_EXPLAIN}</span></dt>
38
<dd><input class="text medium" type="text" id="field_ident" name="field_ident" value="{FIELD_IDENT}" /></dd>
42
<dt><label for="field_no_view">{L_DISPLAY_PROFILE_FIELD}:</label><br /><span>{L_DISPLAY_PROFILE_FIELD_EXPLAIN}</span></dt>
43
<dd><label><input type="radio" class="radio" id="field_no_view" name="field_no_view" value="0"<!-- IF not S_FIELD_NO_VIEW --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
44
<label><input type="radio" class="radio" name="field_no_view" value="1"<!-- IF S_FIELD_NO_VIEW --> checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
49
<legend>{L_VISIBILITY_OPTION}</legend>
51
<dt><label for="field_option_none">{L_DISPLAY_AT_PROFILE}:</label><br /><span>{L_DISPLAY_AT_PROFILE_EXPLAIN}</span></dt>
52
<dd><input type="radio" class="radio" id="field_option_none" name="field_option" value="none"<!-- IF not S_SHOW_ON_REG and not S_FIELD_REQUIRED and not S_FIELD_HIDE --> checked="checked"<!-- ENDIF --> /></dd>
55
<dt><label for="field_show_on_reg">{L_DISPLAY_AT_REGISTER}:</label><br /><span>{L_DISPLAY_AT_REGISTER_EXPLAIN}</span></dt>
56
<dd><input type="radio" class="radio" id="field_show_on_reg" name="field_option" value="field_show_on_reg"<!-- IF S_SHOW_ON_REG --> checked="checked"<!-- ENDIF --> /></dd>
59
<dt><label for="field_required">{L_REQUIRED_FIELD}:</label><br /><span>{L_REQUIRED_FIELD_EXPLAIN}</span></dt>
60
<dd><input type="radio" class="radio" id="field_required" name="field_option" value="field_required"<!-- IF S_FIELD_REQUIRED --> checked="checked"<!-- ENDIF --> /></dd>
63
<dt><label for="field_hide">{L_HIDE_PROFILE_FIELD}:</label><br /><span>{L_HIDE_PROFILE_FIELD_EXPLAIN}</span></dt>
64
<dd><input type="radio" class="radio" id="field_hide" name="field_option" value="field_hide"<!-- IF S_FIELD_HIDE --> checked="checked"<!-- ENDIF --> /></dd>
68
<!-- IF S_EDIT_MODE -->
69
<fieldset class="quick">
70
<input class="button1" type="submit" name="save" value="{L_SAVE}" />
75
<legend>{L_LANG_SPECIFIC}</legend>
77
<dt><label for="lang_name">{L_USER_FIELD_NAME}:</label></dt>
78
<dd><input class="text medium" type="text" id="lang_name" name="lang_name" value="{LANG_NAME}" /></dd>
81
<dt><label for="lang_explain">{L_FIELD_DESCRIPTION}:</label><br /><span>{L_FIELD_DESCRIPTION_EXPLAIN}</span></dt>
82
<dd><textarea id="lang_explain" name="lang_explain" rows="3" cols="80">{LANG_EXPLAIN}</textarea></dd>
84
<!-- IF S_TEXT or S_STRING -->
86
<dt><label for="lang_default_value">{L_DEFAULT_VALUE}:</label><br /><span>{L_DEFAULT_VALUE_EXPLAIN}</span></dt>
87
<dd><!-- IF S_STRING --><input class="text medium" type="text" id="lang_default_value" name="lang_default_value" value="{LANG_DEFAULT_VALUE}" /><!-- ELSE --><textarea id="lang_default_value" name="lang_default_value" rows="5" cols="80">{LANG_DEFAULT_VALUE}</textarea><!-- ENDIF --></dd>
90
<!-- IF S_BOOL or S_DROPDOWN -->
92
<dt><label for="lang_options">{L_ENTRIES}:</label>
93
<!-- IF S_EDIT_MODE and S_DROPDOWN -->
94
<br /><span>{L_EDIT_DROPDOWN_LANG_EXPLAIN}</span>
96
<br /><span>{L_LANG_OPTIONS_EXPLAIN}</span>
99
<!-- IF S_DROPDOWN -->
100
<dd><textarea id="lang_options" name="lang_options" rows="5" cols="80">{LANG_OPTIONS}</textarea></dd>
102
<dd><input class="medium" id="lang_options" name="lang_options[0]" value="{FIRST_LANG_OPTION}" /> {L_FIRST_OPTION}</dd>
103
<dd><input class="medium" name="lang_options[1]" value="{SECOND_LANG_OPTION}" /> {L_SECOND_OPTION}</dd>
109
<fieldset class="quick">
112
<input class="button1" type="submit" name="next" value="{L_PROFILE_TYPE_OPTIONS}" />
115
<!-- ELSEIF S_STEP_TWO -->
118
<legend>{L_TITLE}</legend>
119
<!-- BEGIN option -->
121
<dt><label>{option.TITLE}:</label><!-- IF option.EXPLAIN --><br /><span>{option.EXPLAIN}</span><!-- ENDIF --></dt>
122
<dd>{option.FIELD}</dd>
127
<fieldset class="quick" style="float: {S_CONTENT_FLOW_BEGIN};">
128
<input class="button1" type="submit" name="prev" value="{L_PROFILE_BASIC_OPTIONS}" />
131
<fieldset class="quick" style="float: {S_CONTENT_FLOW_END};">
134
<input class="button1" type="submit" name="next" value="{L_NEXT_STEP}" />
137
<!-- ELSEIF S_STEP_THREE -->
139
<!-- BEGIN options -->
141
<legend>{options.LANGUAGE}</legend>
144
<dt><label>{options.field.L_TITLE}:</label><!-- IF options.field.L_EXPLAIN --><br /><span>{options.field.L_EXPLAIN}</span><!-- ENDIF --></dt>
145
{options.field.FIELD}
151
<fieldset class="quick" style="float: {S_CONTENT_FLOW_BEGIN};">
152
<input class="button1" type="submit" name="prev" value="{L_PROFILE_TYPE_OPTIONS}" />
155
<fieldset class="quick" style="float: {S_CONTENT_FLOW_END};">
157
<input class="button1" type="submit" name="save" value="{L_SAVE}" />
167
<h1>{L_ACP_CUSTOM_PROFILE_FIELDS}</h1>
169
<!-- IF S_NEED_EDIT -->
170
<div class="errorbox">
172
<p>{L_CUSTOM_FIELDS_NOT_TRANSLATED}</p>
176
<table cellspacing="1">
179
<th>{L_FIELD_IDENT}</th>
180
<th>{L_FIELD_TYPE}</th>
181
<th colspan="2">{L_OPTIONS}</th>
185
<!-- BEGIN fields -->
186
<!-- IF fields.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
188
<td>{fields.FIELD_IDENT}</td>
189
<td>{fields.FIELD_TYPE}</td>
190
<td style="text-align: center;"><a href="{fields.U_ACTIVATE_DEACTIVATE}">{fields.L_ACTIVATE_DEACTIVATE}</a><!-- IF fields.S_NEED_EDIT --> | <a href="{fields.U_TRANSLATE}" style="color: red;">{L_TRANSLATE}</a><!-- ENDIF --></td>
192
<td style="width: 80px; text-align: right; white-space: nowrap;">
193
<!-- IF fields.S_FIRST_ROW && not fields.S_LAST_ROW -->
194
{ICON_MOVE_UP_DISABLED}
195
<a href="{fields.U_MOVE_DOWN}">{ICON_MOVE_DOWN}</a>
196
<!-- ELSEIF not fields.S_FIRST_ROW && not fields.S_LAST_ROW-->
197
<a href="{fields.U_MOVE_UP}">{ICON_MOVE_UP}</a>
198
<a href="{fields.U_MOVE_DOWN}">{ICON_MOVE_DOWN}</a>
199
<!-- ELSEIF fields.S_LAST_ROW && not fields.S_FIRST_ROW -->
200
<a href="{fields.U_MOVE_UP}">{ICON_MOVE_UP}</a>
201
{ICON_MOVE_DOWN_DISABLED}
203
<!-- IF not fields.S_NEED_EDIT -->
204
<a href="{fields.U_EDIT}">{ICON_EDIT}</a>
208
<a href="{fields.U_DELETE}">{ICON_DELETE}</a>
216
<form id="profile_fields" method="post" action="{U_ACTION}">
218
<fieldset class="quick">
219
<input class="text small" type="text" name="field_ident" /> <select name="field_type">{S_TYPE_OPTIONS}</select>
220
<input class="button1" type="submit" name="submit" value="{L_CREATE_NEW_FIELD}" />
221
<input type="hidden" name="create" value="1" />
228
<!-- INCLUDE overall_footer.html -->