styles/subsilver2/template/custom_profile_fields.html
changeset 0 ceef6d64c21d
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/styles/subsilver2/template/custom_profile_fields.html	Wed Mar 07 16:41:10 2012 +0400
     1.3 @@ -0,0 +1,31 @@
     1.4 +<!-- BEGIN dropdown -->
     1.5 +	<select name="{dropdown.FIELD_IDENT}">
     1.6 +		<!-- BEGIN options --><option value="{dropdown.options.OPTION_ID}"{dropdown.options.SELECTED}>{dropdown.options.VALUE}</option><!-- END options -->
     1.7 +	</select>
     1.8 +<!-- END dropdown -->
     1.9 +
    1.10 +<!-- BEGIN text -->
    1.11 +	<textarea name="{text.FIELD_IDENT}" rows="{text.FIELD_ROWS}" cols="{text.FIELD_COLS}">{text.FIELD_VALUE}</textarea>
    1.12 +<!-- END text -->
    1.13 +
    1.14 +<!-- BEGIN string -->
    1.15 +	<input type="text" class="post" name="{string.FIELD_IDENT}" size="{string.FIELD_LENGTH}" maxlength="{string.FIELD_MAXLEN}" value="{string.FIELD_VALUE}" />
    1.16 +<!-- END string -->
    1.17 +
    1.18 +<!-- BEGIN bool -->
    1.19 +	<!-- IF bool.FIELD_LENGTH eq 1 -->
    1.20 +		<!-- BEGIN options --><input type="radio" class="radio" name="{bool.FIELD_IDENT}" value="{bool.options.OPTION_ID}"{bool.options.CHECKED} /><span class="genmed">{bool.options.VALUE}</span>&nbsp; &nbsp;<!-- END options -->
    1.21 +	<!-- ELSE -->
    1.22 +		<input type="checkbox" class="radio" name="{bool.FIELD_IDENT}" value="1"<!-- IF bool.FIELD_VALUE eq 1 --> checked="checked"<!-- ENDIF --> />
    1.23 +	<!-- ENDIF -->
    1.24 +<!-- END bool -->
    1.25 +
    1.26 +<!-- BEGIN int -->
    1.27 +	<input type="text" class="post" name="{int.FIELD_IDENT}" size="{int.FIELD_LENGTH}" value="{int.FIELD_VALUE}" />
    1.28 +<!-- END int -->
    1.29 +
    1.30 +<!-- BEGIN date -->
    1.31 +	<span class="genmed">{L_DAY}:</span> <select name="{date.FIELD_IDENT}_day">{date.S_DAY_OPTIONS}</select>
    1.32 +	<span class="genmed">{L_MONTH}:</span> <select name="{date.FIELD_IDENT}_month">{date.S_MONTH_OPTIONS}</select>
    1.33 +	<span class="genmed">{L_YEAR}:</span> <select name="{date.FIELD_IDENT}_year">{date.S_YEAR_OPTIONS}</select>
    1.34 +<!-- END date -->