styles/subsilver2/template/custom_profile_fields.html
author indvdum (gotoindvdum[at]gmail[dot]com)
Wed, 07 Mar 2012 23:03:48 +0400
changeset 3 2e6be5f7e4cf
parent 0 ceef6d64c21d
permissions -rw-r--r--
HG ignore
     1 <!-- BEGIN dropdown -->
     2 	<select name="{dropdown.FIELD_IDENT}">
     3 		<!-- BEGIN options --><option value="{dropdown.options.OPTION_ID}"{dropdown.options.SELECTED}>{dropdown.options.VALUE}</option><!-- END options -->
     4 	</select>
     5 <!-- END dropdown -->
     6 
     7 <!-- BEGIN text -->
     8 	<textarea name="{text.FIELD_IDENT}" rows="{text.FIELD_ROWS}" cols="{text.FIELD_COLS}">{text.FIELD_VALUE}</textarea>
     9 <!-- END text -->
    10 
    11 <!-- BEGIN string -->
    12 	<input type="text" class="post" name="{string.FIELD_IDENT}" size="{string.FIELD_LENGTH}" maxlength="{string.FIELD_MAXLEN}" value="{string.FIELD_VALUE}" />
    13 <!-- END string -->
    14 
    15 <!-- BEGIN bool -->
    16 	<!-- IF bool.FIELD_LENGTH eq 1 -->
    17 		<!-- 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 -->
    18 	<!-- ELSE -->
    19 		<input type="checkbox" class="radio" name="{bool.FIELD_IDENT}" value="1"<!-- IF bool.FIELD_VALUE eq 1 --> checked="checked"<!-- ENDIF --> />
    20 	<!-- ENDIF -->
    21 <!-- END bool -->
    22 
    23 <!-- BEGIN int -->
    24 	<input type="text" class="post" name="{int.FIELD_IDENT}" size="{int.FIELD_LENGTH}" value="{int.FIELD_VALUE}" />
    25 <!-- END int -->
    26 
    27 <!-- BEGIN date -->
    28 	<span class="genmed">{L_DAY}:</span> <select name="{date.FIELD_IDENT}_day">{date.S_DAY_OPTIONS}</select>
    29 	<span class="genmed">{L_MONTH}:</span> <select name="{date.FIELD_IDENT}_month">{date.S_MONTH_OPTIONS}</select>
    30 	<span class="genmed">{L_YEAR}:</span> <select name="{date.FIELD_IDENT}_year">{date.S_YEAR_OPTIONS}</select>
    31 <!-- END date -->