1
0
Fork 0

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