make individual advanced profile items addressable via script or plugin

This commit is contained in:
friendica 2012-02-07 20:34:40 -08:00
parent c506bb42a9
commit e92e3658b2

View file

@ -1,75 +1,75 @@
<h2>$title</h2>
<dl>
<dl id="aprofile-fullname" class="aprofile">
<dt>$profile.fullname.0</dt>
<dd>$profile.fullname.1</dd>
</dl>
{{ if $profile.gender }}
<dl>
<dl id="aprofile-gender" class="aprofile">
<dt>$profile.gender.0</dt>
<dd>$profile.gender.1</dd>
</dl>
{{ endif }}
{{ if $profile.birthday }}
<dl>
<dl id="aprofile-birthday" class="aprofile">
<dt>$profile.birthday.0</dt>
<dd>$profile.birthday.1</dd>
</dl>
{{ endif }}
{{ if $profile.age }}
<dl>
<dl id="aprofile-age" class="aprofile">
<dt>$profile.age.0</dt>
<dd>$profile.age.1</dd>
</dl>
{{ endif }}
{{ if $profile.marital }}
<dl>
<dl id="aprofile-marital" class="aprofile">
<dt><span class="heart">&hearts;</span> $profile.marital.0</dt>
<dd>$profile.marital.1 {{ if $profile.marital.with }}($profile.marital.with){{ endif }}</dd>
</dl>
{{ endif }}
{{ if $profile.sexual }}
<dl>
<dl id="aprofile-sexual" class="aprofile">
<dt>$profile.sexual.0</dt>
<dd>$profile.sexual.1</dd>
</dl>
{{ endif }}
{{ if $profile.homepage }}
<dl>
<dl id="aprofile-homepage" class="aprofile">
<dt>$profile.homepage.0</dt>
<dd>$profile.homepage.1</dd>
</dl>
{{ endif }}
{{ if $profile.politic }}
<dl>
<dl id="aprofile-politic" class="aprofile">
<dt>$profile.politic.0</dt>
<dd>$profile.politic.1</dd>
</dl>
{{ endif }}
{{ if $profile.religion }}
<dl>
<dl id="aprofile-religion" class="aprofile">
<dt>$profile.religion.0</dt>
<dd>$profile.religion.1</dd>
</dl>
{{ endif }}
{{ if $profile.about }}
<dl>
<dl id="aprofile-about" class="aprofile">
<dt>$profile.about.0</dt>
<dd>$profile.about.1</dd>
</dl>
{{ endif }}
{{ if $profile.interest }}
<dl>
<dl id="aprofile-interest" class="aprofile">
<dt>$profile.interest.0</dt>
<dd>$profile.interest.1</dd>
</dl>
@ -77,7 +77,7 @@
{{ if $profile.contact }}
<dl>
<dl id="aprofile-contact" class="aprofile">
<dt>$profile.contact.0</dt>
<dd>$profile.contact.1</dd>
</dl>
@ -85,7 +85,7 @@
{{ if $profile.music }}
<dl>
<dl id="aprofile-music" class="aprofile">
<dt>$profile.music.0</dt>
<dd>$profile.music.1</dd>
</dl>
@ -93,7 +93,7 @@
{{ if $profile.book }}
<dl>
<dl id="aprofile-book" class="aprofile">
<dt>$profile.book.0</dt>
<dd>$profile.book.1</dd>
</dl>
@ -101,7 +101,7 @@
{{ if $profile.tv }}
<dl>
<dl id="aprofile-tv" class="aprofile">
<dt>$profile.tv.0</dt>
<dd>$profile.tv.1</dd>
</dl>
@ -109,7 +109,7 @@
{{ if $profile.film }}
<dl>
<dl id="aprofile-film" class="aprofile">
<dt>$profile.film.0</dt>
<dd>$profile.film.1</dd>
</dl>
@ -117,7 +117,7 @@
{{ if $profile.romance }}
<dl>
<dl id="aprofile-romance" class="aprofile">
<dt>$profile.romance.0</dt>
<dd>$profile.romance.1</dd>
</dl>
@ -125,14 +125,14 @@
{{ if $profile.work }}
<dl>
<dl id="aprofile-work" class="aprofile">
<dt>$profile.work.0</dt>
<dd>$profile.work.1</dd>
</dl>
{{ endif }}
{{ if $profile.education }}
<dl>
<dl id="aprofile-education" class="aprofile">
<dt>$profile.education.0</dt>
<dd>$profile.education.1</dd>
</dl>