# this is _ident.js

||if(not(istrue(hide_identities)))||

||ifdef||script_block||	
<script id="||script_block||">
||endif||


set_identities({\
#||define||tparam_acct_only||true||
||define||tparam_active_only||true||
||begin_list_identities|| ||if(not(istrue(first)))||,||endif||\
	'||ident_id||':{type:'||ident_type||', name:'||web_encode_js(ident_name)||', email:'||web_encode_js(ident_email)||', icon:||json_validate_int(ident_icon)||, fld:'||ident_fld||', sig_id:'||ident_sig||'}\
||end_list_identities||\
	}, [||ident_display_order||], ||json_validate(ident_show_email)||);

#update_ssb_status('||inbox_unread||');
#||ifdef||accounts_show||	
#accounts_show();
#||endif||


||ifdef||script_block||	
</script>
||endif|| ||endif||