Log In
Joelie
Help
.id
4491
.gutitle
bn_affiliations_profile_detail
.title
bn_affiliations_profile_detail
.file
.extension
.name
|/routinetype-subutility|
.user_id
7
.notes
.body
<tag.bn_affiliations_def>
<var _Def = return>
<var C = GLOBAL.Def.Style.color>
<var set = caller.set>
<var D = caller.D>
<var Txt = caller.Txt>
<var Soc = caller.Soc>
<var Affiliations = ArrayNew(1)>
<try>
<var Affiliations = DeSerializeJSON(set.affiliations)>
<if NOT isArray(Affiliations)>
<var Affiliations = ArrayNew(1)>
</if>
<catch></catch>
</try>
<!--- affiliations ---> <var _bcolor = "sec">
<div class="section">
<div class="section_body" style="border-color:#C[_bcolor]#; margin:0px;">
<var _shown = 0>
<loop list="#_Def.list#" index="_tbl">
<var Arr = ArrayNew(1)>
<loop from="1" to="#arrayLen(Affiliations)#" index="x">
<var Obj = Affiliations[x]>
<if Obj.tbl EQ _tbl>
<var Arr[arrayLen(Arr)+1] = Obj>
</if>
</loop>
<var _arrayLen = arrayLen(Arr)>
<if _arrayLen GT 0>
<var Model = _Def.Def[_tbl]>
<div class="profile_unit">
<div class="profile_unit_label">
<if _arrayLen EQ 1>
#Model.label#:
<else>
#Model.plural#:
</if>
</div>
<div class="profile_unit_value">
<loop from="1" to="#_arrayLen#" index="x">
<div>
<span class="inputesque">#escapeMarkup(Arr[x].val)#</span>
</div>
<var _shown = _shown + 1>
</loop>
</div>
</div>
</if>
</loop>
<if _shown EQ 0>
<!--- show "none" text --->
<if set.id EQ client_id>
<div style="margin-right:3em;">
Use affiliations to share things like your country,
state or school.
</div>
<else>
(none)
</if>
</if>
<if set.id EQ client_id>
<!--- edit button --->
<div align="right">
<a href="http://#this_domain#/#get.s1#/affiliations/edit"><tag.fico i="pencil" linkback="off" style="height:0.88em;"></a>
<a href="http://#this_domain#/#get.s1#/affiliations/edit">edit</a>
</div>
</if>
</div>
</div>
<!--- "back" --->
<!---<tag.bn_btn style="margin-right:0.5em;" slash="#get.s1#" val="#Txt.fname#">--->
.sum_double
0.00
.producttype
.productincludes
.physical_unsignedint
0
.isprotected_unsignedint
0
.overridesiteheader_unsignedint
0