We are now having an account type and are publishing it
This commit is contained in:
parent
196eb6009f
commit
d632d282cd
9 changed files with 77 additions and 32 deletions
|
@ -1,5 +1,3 @@
|
|||
|
||||
|
||||
<div class='field radio'>
|
||||
<label for='id_{{$field.0}}_{{$field.2}}'>{{$field.1}}</label>
|
||||
<input type="radio" name='{{$field.0}}' id='id_{{$field.0}}_{{$field.2}}' value="{{$field.2|escape:'html'}}" {{if $field.4}}checked="true"{{/if}} aria-describedby={{$field.0}}_tip'>
|
||||
|
|
|
@ -1,15 +1,26 @@
|
|||
{{if $page_type == $page_person}}
|
||||
<h4>{{$user}}</h4>
|
||||
<h4>{{$account_types}}</h4>
|
||||
{{include file="field_radio.tpl" field=$account_person}}
|
||||
{{include file="field_radio.tpl" field=$account_company}}
|
||||
{{include file="field_radio.tpl" field=$account_news}}
|
||||
{{include file="field_radio.tpl" field=$account_community}}
|
||||
|
||||
{{if $account_type == $type_person}}
|
||||
<h5>{{$user}}</h5>
|
||||
{{include file="field_radio.tpl" field=$page_normal}}
|
||||
{{include file="field_radio.tpl" field=$page_soapbox}}
|
||||
{{include file="field_radio.tpl" field=$page_freelove}}
|
||||
{{/if}}
|
||||
{{if $page_type == $page_company}}
|
||||
<h4>{{$company}}</h4>
|
||||
{{include file="field_radio.tpl" field=$page_soapbox}}
|
||||
|
||||
{{if $account_type == $type_company}}
|
||||
<input type='hidden' name='page-flags' value='1'>
|
||||
{{/if}}
|
||||
{{if $page_type == $page_forum}}
|
||||
<h4>{{$community}}</h4>
|
||||
|
||||
{{if $account_type == $type_news}}
|
||||
<input type='hidden' name='page-flags' value='1'>
|
||||
{{/if}}
|
||||
|
||||
{{if $account_type == $type_community}}
|
||||
<h5>{{$community}}</h5>
|
||||
{{include file="field_radio.tpl" field=$page_community}}
|
||||
{{include file="field_radio.tpl" field=$page_prvgroup}}
|
||||
{{/if}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue