Merge branch 'next' into image-management
[Sone.git] / src / main / resources / templates / insert / sone.xml
index 7d3c8aa..69f647d 100644 (file)
                <birth-day><% currentSone.profile.birthDay|xml></birth-day>
                <birth-month><% currentSone.profile.birthMonth|xml></birth-month>
                <birth-year><% currentSone.profile.birthYear|xml></birth-year>
+               <fields>
+                       <%foreach currentSone.profile.fields field>
+                       <field>
+                               <field-name><% field.name|xml></field-name>
+                               <field-value><% field.value|xml></field-value>
+                       </field>
+                       <%/foreach>
+               </fields>
        </profile>
 
        <posts>
                <%/foreach>
        </reply-likes>
 
+       <albums>
+               <%foreach currentSone.albums album>
+               <%include insert/include/album.xml>
+               <%/foreach>
+       </albums>
+
 </sone>