1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/styles/cubometry-style/template/custom_profile_fields.html Thu Mar 08 01:28:49 2012 +0400
1.3 @@ -0,0 +1,31 @@
1.4 +<!-- BEGIN dropdown -->
1.5 +<select name="{dropdown.FIELD_IDENT}" id="{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}" id="{text.FIELD_IDENT}" rows="{text.FIELD_ROWS}" cols="{text.FIELD_COLS}" class="inputbox autowidth">{text.FIELD_VALUE}</textarea>
1.12 +<!-- END text -->
1.13 +
1.14 +<!-- BEGIN string -->
1.15 +<input type="text" class="inputbox autowidth" name="{string.FIELD_IDENT}" id="{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 --><label for="{bool.FIELD_IDENT}_{bool.options.OPTION_ID}"><input type="radio" class="radio" name="{bool.FIELD_IDENT}" id="{bool.FIELD_IDENT}_{bool.options.OPTION_ID}" value="{bool.options.OPTION_ID}"{bool.options.CHECKED} /> {bool.options.VALUE}</label> <!-- END options -->
1.21 +<!-- ELSE -->
1.22 + <input type="checkbox" class="radio" name="{bool.FIELD_IDENT}" id="{bool.FIELD_IDENT}"<!-- IF bool.FIELD_VALUE --> checked="checked"<!-- ENDIF --> />
1.23 +<!-- ENDIF -->
1.24 +<!-- END bool -->
1.25 +
1.26 +<!-- BEGIN int -->
1.27 +<input type="text" class="inputbox autowidth" name="{int.FIELD_IDENT}" id="{int.FIELD_IDENT}" size="{int.FIELD_LENGTH}" value="{int.FIELD_VALUE}" />
1.28 +<!-- END int -->
1.29 +
1.30 +<!-- BEGIN date -->
1.31 +<label for="{date.FIELD_IDENT}_day">{L_DAY}: <select name="{date.FIELD_IDENT}_day" id="{date.FIELD_IDENT}_day">{date.S_DAY_OPTIONS}</select></label>
1.32 +<label for="{date.FIELD_IDENT}_month">{L_MONTH}: <select name="{date.FIELD_IDENT}_month" id="{date.FIELD_IDENT}_month">{date.S_MONTH_OPTIONS}</select></label>
1.33 +<label for="{date.FIELD_IDENT}_year">{L_YEAR}: <select name="{date.FIELD_IDENT}_year" id="{date.FIELD_IDENT}_year">{date.S_YEAR_OPTIONS}</select></label>
1.34 +<!-- END date -->